shailendra333 / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

ability to use the library as maven resource. #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would be nice to have an ability to use the library as maven resource. Instead 
of copying `.tld` file into `WEB-INF` I would include a dependency in `pom.xml`.

Original issue reported on code.google.com by johan.ba...@gmail.com on 30 May 2011 at 12:25

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion. That would be nice to have. But I think one can use 
taglib uri and need not to copy tld into WEB-INF. URI as 
'http://webutilities.googlecode.com/taglib/wu' mentioned here - 
http://code.google.com/p/webutilities/wiki/YUIMinTag

Original comment by rr.patil...@gmail.com on 1 Jun 2011 at 4:33

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 1 Jun 2011 at 4:33

GoogleCodeExporter commented 9 years ago
Maven support would be great :)

Original comment by thomas.d...@googlemail.com on 18 Jul 2011 at 3:46

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 22 Aug 2011 at 2:44

GoogleCodeExporter commented 9 years ago
Raised a jira with Sonatype OSS - https://issues.sonatype.org/browse/OSSRH-2349

Original comment by rr.patil...@gmail.com on 15 Oct 2011 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 15 Oct 2011 at 7:07

GoogleCodeExporter commented 9 years ago
Testing snapshot releases - 
https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/webutilit
ies/webutilities/

Original comment by rr.patil...@gmail.com on 18 Oct 2011 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 18 Oct 2011 at 6:51

GoogleCodeExporter commented 9 years ago
Version 0.0.5 is now in oss sonatype repository for testing. 
https://oss.sonatype.org/content/repositories/comgooglecodewebutilities-012/com/
googlecode/webutilities/webutilities/0.0.5/

Will be good if you can test it and if all good will promote it for public 
release. 

Original comment by rr.patil...@gmail.com on 4 Nov 2011 at 6:35

GoogleCodeExporter commented 9 years ago
It is available in maven central now. 
http://search.maven.org/#search%7Cga%7C1%7Cwebutilities

Original comment by rr.patil...@gmail.com on 9 Nov 2011 at 6:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I get the following when attempting to use the maven artifact and compress JS 
files:

java.lang.StringIndexOutOfBoundsException: String index out of range: 102891
    java.lang.String.substring(String.java:1934)
    com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceString(JavaScriptCompressor.java:267)
    com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:330)
    com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
    com.googlecode.webutilities.filters.YUIMinFilter.doFilter(YUIMinFilter.java:179)
    com.googlecode.webutilities.filters.CompressionFilter.doFilter(CompressionFilter.java:112)
    com.googlecode.webutilities.filters.ResponseCacheFilter.doFilter(ResponseCacheFilter.java:241)

Apparently there is a conflict between the rhino jar and the yuicompressor jar, 
they both contain org/mozilla/javascript/Parser.

See also:

http://yuilibrary.com/forum/viewtopic.php?p=20086
http://stackoverflow.com/questions/6652550/yui-compressor-stringindexoutofbounds
exception-on-jboss

Original comment by walden.r...@gmail.com on 10 Nov 2011 at 6:52

GoogleCodeExporter commented 9 years ago
I'm going to open a new issue for this instead, see 
http://code.google.com/p/webutilities/issues/detail?id=27

Original comment by walden.r...@gmail.com on 10 Nov 2011 at 9:43