jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x JSPC Plugin
  • MJSPC-4

JSPs Cannot Be Compiled if They Depend on Tag Files

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None

Description

At a minimum, if a tag library is provided as a jar, and the tags are implemented as tag files, then the JSP compilation fails. The tag files need to be compiled first.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    CompilationMojoSupport.groovy.patch
    22/Jul/08 2:36 AM
    1.0 kB
    David Rault
  2. Hide
    Zip Archive
    jspcexample.zip
    27/Dec/06 1:54 PM
    22 kB
    James Kebinger
    1. XML File
      pom.xml 0.7 kB
    2. XML File
      __MACOSX/._pom.xml 0.1 kB
    3. File
      TestTldProject/.classpath 0.5 kB
    4. File
      TestTldProject/.DS_Store 6 kB
    5. File
      __MACOSX/TestTldProject/._.DS_Store 0.1 kB
    6. File
      TestTldProject/.project 0.6 kB
    7. File
      TestTldProject/.settings/.component 0.2 kB
    8. File
      TestTldProject/.../org.eclipse.jdt.core.prefs 0.2 kB
    9. XML File
      TestTldProject/.../org.eclipse.wst.common.project.facet.core.xml 0.2 kB
    10. XML File
      TestTldProject/pom.xml 2 kB
    11. File
      TestTldProject/src/main/.../META-INF/req.tld 0.7 kB
    12. File
      TestTldProject/src/main/.../tags/dummytf.tag 0.3 kB
    13. File
      TestTldProject/src/.../nested/divide.tag 0.4 kB
    14. File
      TestTldProject/src/.../META-INF/test.tld 0.9 kB
    15. File
      TestTldProject/src/.../META-INF/test2.tld 0.5 kB
    16. Java Source File
      TestTldProject/src/.../DummyRequiredTag.java 0.3 kB
    17. Java Source File
      TestTldProject/src/.../math/MultiplyTag.java 0.9 kB
    18. File
      TestWebProject/.classpath 3 kB
    19. File
      TestWebProject/.DS_Store 6 kB
    20. File
      __MACOSX/TestWebProject/._.DS_Store 0.1 kB
    21. File
      TestWebProject/.project 0.6 kB
    22. File
      TestWebProject/.settings/.component 0.9 kB
    23. File
      TestWebProject/.../org.eclipse.jdt.core.prefs 0.3 kB
    24. File
      TestWebProject/.../org.eclipse.jst.common.project.facet.core.prefs 0.4 kB
    25. File
      TestWebProject/.../org.eclipse.wst.common.component 0.5 kB
    26. XML File
      TestWebProject/.../org.eclipse.wst.common.project.facet.core.xml 0.2 kB
    27. File
      TestWebProject/build/.../test/test.class 0.5 kB
    28. XML File
      TestWebProject/pom.xml 3 kB
    29. Java Source File
      TestWebProject/src/.../tag/SubtractTag.java 0.9 kB
    30. Java Source File
      TestWebProject/src/.../test/TestServlet.java 1 kB
    Showing 30 of 37 items Download Zip
    Show
    Zip Archive
    jspcexample.zip
    27/Dec/06 1:54 PM
    22 kB
    James Kebinger
  3. Hide
    Zip Archive
    jspc-example-revised.zip
    29/Dec/06 11:47 AM
    25 kB
    James Kebinger
    1. XML File
      pom.xml 0.7 kB
    2. XML File
      __MACOSX/._pom.xml 0.1 kB
    3. File
      TestTldProject/.classpath 0.5 kB
    4. File
      TestTldProject/.DS_Store 6 kB
    5. File
      __MACOSX/TestTldProject/._.DS_Store 0.1 kB
    6. File
      TestTldProject/.project 0.6 kB
    7. File
      TestTldProject/.settings/.component 0.2 kB
    8. File
      TestTldProject/.../org.eclipse.jdt.core.prefs 0.2 kB
    9. XML File
      TestTldProject/.../org.eclipse.wst.common.project.facet.core.xml 0.2 kB
    10. XML File
      TestTldProject/pom.xml 2 kB
    11. File
      TestTldProject/src/main/.../META-INF/req.tld 0.7 kB
    12. File
      TestTldProject/src/main/.../tags/dummytf.tag 0.3 kB
    13. File
      TestTldProject/src/.../nested/divide.tag 0.4 kB
    14. File
      TestTldProject/src/.../META-INF/test.tld 0.9 kB
    15. File
      TestTldProject/src/.../META-INF/test2.tld 0.5 kB
    16. Java Source File
      TestTldProject/src/.../DummyRequiredTag.java 0.3 kB
    17. Java Source File
      TestTldProject/src/.../math/MultiplyTag.java 0.9 kB
    18. File
      TestTldProject/target/.../META-INF/req.tld 0.7 kB
    19. File
      TestTldProject/target/.../tags/dummytf.tag 0.3 kB
    20. File
      TestTldProject/target/.../nested/divide.tag 0.4 kB
    21. File
      TestTldProject/target/.../META-INF/test.tld 0.9 kB
    22. File
      TestTldProject/target/.../META-INF/test2.tld 0.5 kB
    23. File
      TestTldProject/.../DummyRequiredTag.class 0.5 kB
    24. File
      TestTldProject/target/.../MultiplyTag.class 1 kB
    25. File
      TestWebProject/.classpath 0.6 kB
    26. File
      TestWebProject/.DS_Store 6 kB
    27. File
      __MACOSX/TestWebProject/._.DS_Store 0.1 kB
    28. File
      TestWebProject/.project 0.7 kB
    29. File
      TestWebProject/.settings/.component 0.9 kB
    30. File
      TestWebProject/.../org.eclipse.jdt.core.prefs 0.3 kB
    Showing 30 of 42 items Download Zip
    Show
    Zip Archive
    jspc-example-revised.zip
    29/Dec/06 11:47 AM
    25 kB
    James Kebinger
  4. Text File
    MJSPC-4-2.0-alpha-2-SNAPSHOT.patch
    10/Dec/07 2:54 PM
    3 kB
    Kevin Christmas

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MJSPC-31 TLD's of dependent modules are ignored in reactor mode.

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Bug - A problem which impairs or prevents the functions of the product. MJSPC-21 classpath incorrect with mvn test in reactor build

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Open - The issue is open and ready for the assignee to start work on it.
relates to

Bug - A problem which impairs or prevents the functions of the product. MNG-2720 Multiproject dependencies not accurate for project.compileClasspathElements when run from root project

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jeff Genender added a comment - 21/Aug/06 10:12 AM

Yes, this is correct, the tag files would need compilation before the jsp compiler can compile against them. Please try the SNAPSHOT version of the jspc plugin to see if this is still an issue. There have been major changes to the SNAPSHOT version.

Show
Jeff Genender added a comment - 21/Aug/06 10:12 AM Yes, this is correct, the tag files would need compilation before the jsp compiler can compile against them. Please try the SNAPSHOT version of the jspc plugin to see if this is still an issue. There have been major changes to the SNAPSHOT version.
Hide
Permalink
Jeff Genender added a comment - 01/Sep/06 3:41 PM

1.4.5 was released and I do not see this issue. Please check.

Show
Jeff Genender added a comment - 01/Sep/06 3:41 PM 1.4.5 was released and I do not see this issue. Please check.
Hide
Permalink
Grégory Joseph added a comment - 05/Dec/06 10:49 AM

This doesnt work for me with 1.4.7-SNAPSHOT. It works if the taglib is defined as a separate artifact and my project depends on it, but not if my project defines the taglib itself.
(note that I'm using the patch in MJSPC-7 here, but I don't think it has any impact?)

Show
Grégory Joseph added a comment - 05/Dec/06 10:49 AM This doesnt work for me with 1.4.7-SNAPSHOT. It works if the taglib is defined as a separate artifact and my project depends on it, but not if my project defines the taglib itself. (note that I'm using the patch in MJSPC-7 here, but I don't think it has any impact?)
Hide
Permalink
Grégory Joseph added a comment - 05/Dec/06 11:07 AM

Ha, if I move my tld from ${warSourceDirectory}/META-INF/foobar.tld to ${warSourceDirectory}/WEB-INF/tld (where warSourceDirectory is src/main/resources instead of the default in my case) then it works. Seems like I should somehow have ${warSourceDirectory} in jspc's classpath then ... ?

Show
Grégory Joseph added a comment - 05/Dec/06 11:07 AM Ha, if I move my tld from ${warSourceDirectory}/META-INF/foobar.tld to ${warSourceDirectory}/WEB-INF/tld (where warSourceDirectory is src/main/resources instead of the default in my case) then it works. Seems like I should somehow have ${warSourceDirectory} in jspc's classpath then ... ?
Hide
Permalink
Grégory Joseph added a comment - 05/Dec/06 11:22 AM

... that's not the case but my META-INF/foobar.tld is still in the classpath since it was copied by resources:resources - sorry for the noise - so it still doesn't work.

Show
Grégory Joseph added a comment - 05/Dec/06 11:22 AM ... that's not the case but my META-INF/foobar.tld is still in the classpath since it was copied by resources:resources - sorry for the noise - so it still doesn't work.
Hide
Permalink
Jeff Genender added a comment - 05/Dec/06 3:54 PM

Please provide an example of the problem. If you can submit an attachment, then I can see the problem. ATM I cannot reproduce.

Show
Jeff Genender added a comment - 05/Dec/06 3:54 PM Please provide an example of the problem. If you can submit an attachment, then I can see the problem. ATM I cannot reproduce.
Hide
Permalink
Grégory Joseph added a comment - 11/Dec/06 10:33 AM

sorry, while trying to extract the problem into a simple example, I realized this was because some of our JSPs used the urn:jsptld:path to declare the taglib's namespace, and this, by spec, looks at WEB-INF/tld, which is not what we wanted anyways. Leaves me to wonder how it ever worked in case where we were doing stuff like xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core" but oh well, gotta fix this anyway.

Show
Grégory Joseph added a comment - 11/Dec/06 10:33 AM sorry, while trying to extract the problem into a simple example, I realized this was because some of our JSPs used the urn:jsptld:path to declare the taglib's namespace, and this, by spec, looks at WEB-INF/tld, which is not what we wanted anyways. Leaves me to wonder how it ever worked in case where we were doing stuff like xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core" but oh well, gotta fix this anyway.
Hide
Permalink
James Kebinger added a comment - 27/Dec/06 1:54 PM

Example where jspc precompilation does not work.

Show
James Kebinger added a comment - 27/Dec/06 1:54 PM Example where jspc precompilation does not work.
Hide
Permalink
James Kebinger added a comment - 27/Dec/06 1:59 PM

I just added an example where the jspc plugin fails - The zip has two modules with a parent pom. One module contains tags, the other a web app that uses those tags. If the modules do not have the parent relationship set up, the jsp precompilation works fine (the war gets the tlds installed in the local repository). The aggregated condition fails however.

Show
James Kebinger added a comment - 27/Dec/06 1:59 PM I just added an example where the jspc plugin fails - The zip has two modules with a parent pom. One module contains tags, the other a web app that uses those tags. If the modules do not have the parent relationship set up, the jsp precompilation works fine (the war gets the tlds installed in the local repository). The aggregated condition fails however.
Hide
Permalink
Jeff Genender added a comment - 28/Dec/06 12:14 PM

Thanks for the example. I am having a bit of trouble getting this to run due to this:

Missing:
----------
1) taglibs:unstandard:jar:20050910

Does taglibs:unstandard:jar:20050910 even exist? Looking at the maven repo, it does not exist.

Show
Jeff Genender added a comment - 28/Dec/06 12:14 PM Thanks for the example. I am having a bit of trouble getting this to run due to this: Missing: ---------- 1) taglibs:unstandard:jar:20050910 Does taglibs:unstandard:jar:20050910 even exist? Looking at the maven repo, it does not exist.
Hide
Permalink
James Kebinger added a comment - 29/Dec/06 11:47 AM

Revised example - without the dependencies on unstandard taglib. Sorry about that.

Show
James Kebinger added a comment - 29/Dec/06 11:47 AM Revised example - without the dependencies on unstandard taglib. Sorry about that.
Hide
Permalink
Jeff Genender added a comment - 29/Dec/06 7:06 PM

This actually looks like it may be a maven bug, not jspc-maven-plugin. The jspc plugin gets the classpath by asking for the ${project.compileClasspathElements}. When run individually, by doing a mvn install -X to get the debug output, you will note all is correct:

/Users/mbp/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar
/Users/mbp/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
/Users/mbp/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
/Users/mbp/.m2/repository/tldtestapp/testexttld/1/testexttld-1.jar
/Users/mbp/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]

In particular, it find your testexttld-1.jar. Now when run from the top level, it's classpath looks like the following:

/Users/mbp/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar
/Users/mbp/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
/Users/mbp/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar
/Users/mbp/Desktop/jsp-example/TestTldProject/target/classes
/Users/mbp/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar]

Notice, it has no jar, but instead is using a path to the classed for the TestTldProject in /Users/mbp/Desktop/jsp-example/TestTldProject/target/classes.

This seems like a maven bug to me since the plugin is simply asking for the jar as a dependency. AFAICT, this needs to be opened on maven.

Show
Jeff Genender added a comment - 29/Dec/06 7:06 PM This actually looks like it may be a maven bug, not jspc-maven-plugin. The jspc plugin gets the classpath by asking for the ${project.compileClasspathElements}. When run individually, by doing a mvn install -X to get the debug output, you will note all is correct: /Users/mbp/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar /Users/mbp/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar /Users/mbp/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar /Users/mbp/.m2/repository/tldtestapp/testexttld/1/testexttld-1.jar /Users/mbp/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar] In particular, it find your testexttld-1.jar. Now when run from the top level, it's classpath looks like the following: /Users/mbp/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar /Users/mbp/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar /Users/mbp/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar /Users/mbp/Desktop/jsp-example/TestTldProject/target/classes /Users/mbp/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar] Notice, it has no jar, but instead is using a path to the classed for the TestTldProject in /Users/mbp/Desktop/jsp-example/TestTldProject/target/classes. This seems like a maven bug to me since the plugin is simply asking for the jar as a dependency. AFAICT, this needs to be opened on maven.
Hide
Permalink
Jeff Genender added a comment - 29/Dec/06 7:17 PM

I opened an issue with the maven guys:

http://jira.codehaus.org/browse/MNG-2720

Show
Jeff Genender added a comment - 29/Dec/06 7:17 PM I opened an issue with the maven guys: http://jira.codehaus.org/browse/MNG-2720
Hide
Permalink
James Kebinger added a comment - 04/Jan/07 3:29 PM

thanks Jeff -
so it fails because the tags aren't compiled to classes yet? Could this be resolved by precompiling the .tag files so they're in the classes directory, (then they'd be found there? not sure how a tag file class is looked up in this context.)

Show
James Kebinger added a comment - 04/Jan/07 3:29 PM thanks Jeff - so it fails because the tags aren't compiled to classes yet? Could this be resolved by precompiling the .tag files so they're in the classes directory, (then they'd be found there? not sure how a tag file class is looked up in this context.)
Hide
Permalink
Jeff Genender added a comment - 04/Jan/07 3:41 PM

Nope...thats not it. Its a classpath thing. I tried changing the example to ensure the tag files are in the classes dir (through using the resources dir). The issue is it looks like jspc will only look for the tag files in a jar not a classes dir.

There really should be no reason why running maven from root would produce a different classpath/artifact selection than running them individually. After speaking with Brett on #maven, he said it "sounded like a bug".

Show
Jeff Genender added a comment - 04/Jan/07 3:41 PM Nope...thats not it. Its a classpath thing. I tried changing the example to ensure the tag files are in the classes dir (through using the resources dir). The issue is it looks like jspc will only look for the tag files in a jar not a classes dir. There really should be no reason why running maven from root would produce a different classpath/artifact selection than running them individually. After speaking with Brett on #maven, he said it "sounded like a bug".
Hide
Permalink
fabrizio giustina added a comment - 07/Feb/07 10:26 AM

the problem is simply that according to jsp specs tlds are loaded automatically only from jars in the classpath, and not from class folders (unexpanded tlds are only read in WEB-INF/lib or subdirectories).
When a project available in a multiproject build is used by another project in the same build maven directly references the project path instead of the installed jar.

This could probably be fixed using a manual dependency resolution (this is done for example in the eclipse plugin) or maybe from the jspc side by making tld files "virtually" deployed into WEB-INF/lib (I did this some time ago in order to make taglibrary projects directly usable in eclipse without deploying them. Such custom DirContext implementation is now available directly in tomcat 6 http://issues.apache.org/bugzilla/show_bug.cgi?id=41260 but I am not sure there is a way to use this when directly calling jspc).

Show
fabrizio giustina added a comment - 07/Feb/07 10:26 AM the problem is simply that according to jsp specs tlds are loaded automatically only from jars in the classpath, and not from class folders (unexpanded tlds are only read in WEB-INF/lib or subdirectories). When a project available in a multiproject build is used by another project in the same build maven directly references the project path instead of the installed jar. This could probably be fixed using a manual dependency resolution (this is done for example in the eclipse plugin) or maybe from the jspc side by making tld files "virtually" deployed into WEB-INF/lib (I did this some time ago in order to make taglibrary projects directly usable in eclipse without deploying them. Such custom DirContext implementation is now available directly in tomcat 6 http://issues.apache.org/bugzilla/show_bug.cgi?id=41260 but I am not sure there is a way to use this when directly calling jspc).
Hide
Permalink
pbenedict added a comment - 01/May/07 10:07 PM

I am in the same situation. My webapp has custom tags and the TLD is stored in the war project's src/main/resources. However, because the plugin searches only web.xml or the classpath, it fails.

This is a shot in the dark, but how packing (java.util.zip) anything found in the project's resource path, write the library to a temp directory, and including it?

Show
pbenedict added a comment - 01/May/07 10:07 PM I am in the same situation. My webapp has custom tags and the TLD is stored in the war project's src/main/resources. However, because the plugin searches only web.xml or the classpath, it fails. This is a shot in the dark, but how packing (java.util.zip) anything found in the project's resource path, write the library to a temp directory, and including it?
Hide
Permalink
pbenedict added a comment - 01/May/07 10:35 PM

FYI, it is evidently wrong to place TLD files in src/main/resources for the war project. This knowledge is based on the JSP spec and a discussion among Tomcat developers:

http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/%3C3FFB4883.20703@sun.com%3E

The short summary:
1) It is only necessary to place the TLD in META-INF if the project is a jar
2) For a war project, move the TLD into WEB-INF or some subdirectory thereof – but not /classes or /lib

When the spec and interpretation is followed, this plugin works as expected.

Show
pbenedict added a comment - 01/May/07 10:35 PM FYI, it is evidently wrong to place TLD files in src/main/resources for the war project. This knowledge is based on the JSP spec and a discussion among Tomcat developers: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/%3C3FFB4883.20703@sun.com%3E The short summary: 1) It is only necessary to place the TLD in META-INF if the project is a jar 2) For a war project, move the TLD into WEB-INF or some subdirectory thereof – but not /classes or /lib When the spec and interpretation is followed, this plugin works as expected.
Hide
Permalink
jake pezaro added a comment - 17/May/07 6:30 PM

maven treats the target/classes directory as an exploded jar file in some circumstances, and while the above situation (mvn install includes classes directories) may be a bug, there may well be times when this is unavoidable.

for example, if you run mvn compile on a multi-module project (with the above tld problem) there will not be a jar file to reference, and maven will supply the target/classes directory onto the classpath instead.

the code in the jasper compiler (i think it is in the TldLocationsCache) only looks inside jar files, and i assume that will not change.

could we do something like make the plugin search for a jar file or create a temporary one instead?

Show
jake pezaro added a comment - 17/May/07 6:30 PM maven treats the target/classes directory as an exploded jar file in some circumstances, and while the above situation (mvn install includes classes directories) may be a bug, there may well be times when this is unavoidable. for example, if you run mvn compile on a multi-module project (with the above tld problem) there will not be a jar file to reference, and maven will supply the target/classes directory onto the classpath instead. the code in the jasper compiler (i think it is in the TldLocationsCache) only looks inside jar files, and i assume that will not change. could we do something like make the plugin search for a jar file or create a temporary one instead?
Hide
Permalink
Grégory Joseph added a comment - 16/Oct/07 12:59 PM

I'm experiencing the reactor problem again, but this time with a function library (also declared in a tld)

Show
Grégory Joseph added a comment - 16/Oct/07 12:59 PM I'm experiencing the reactor problem again, but this time with a function library (also declared in a tld)
Hide
Permalink
Grégory Joseph added a comment - 17/Oct/07 9:52 AM

Well; I'm not sure what's going on (or not), but actually the tags are not interpreted/compiled; i.e. in the generated java sources, I get stuff like
out.write("<foo:myTag bar=\"bleh\" ...

That was already the case with 1.4.7 apparently; am now using 2.0-alpha-1

Show
Grégory Joseph added a comment - 17/Oct/07 9:52 AM Well; I'm not sure what's going on (or not), but actually the tags are not interpreted/compiled; i.e. in the generated java sources, I get stuff like out.write("<foo:myTag bar=\"bleh\" ... That was already the case with 1.4.7 apparently; am now using 2.0-alpha-1
Hide
Permalink
Kevin Christmas added a comment - 10/Dec/07 2:54 PM

I worked up a patch to fix this issue. For some reason, it resolves artifacts to the jar file that it just built, but the classpath entries resolve to 'target/classes.' Tested using Maven 2.0.8

Show
Kevin Christmas added a comment - 10/Dec/07 2:54 PM I worked up a patch to fix this issue. For some reason, it resolves artifacts to the jar file that it just built, but the classpath entries resolve to 'target/classes.' Tested using Maven 2.0.8
Hide
Permalink
David Rault added a comment - 22/Jul/08 2:36 AM

Here's a simple patch to the 2.0-alpha-2-SNAPSHOT that use the workaround found here
https://issues.apache.org/bugzilla/show_bug.cgi?id=37084#c5

it adds a "cache" configuration parameter which one can set to false
the tags are then loaded successfully

please let me know if this is unclear

Show
David Rault added a comment - 22/Jul/08 2:36 AM Here's a simple patch to the 2.0-alpha-2-SNAPSHOT that use the workaround found here https://issues.apache.org/bugzilla/show_bug.cgi?id=37084#c5 it adds a "cache" configuration parameter which one can set to false the tags are then loaded successfully please let me know if this is unclear
Hide
Permalink
Grégory Joseph added a comment - 09/Sep/08 12:54 PM

David's patch doesn't seem to help - at least in my case - but Kevin's just did ! Can we hope for an alpha-3 soonish ?
¨Thanks guys!

Show
Grégory Joseph added a comment - 09/Sep/08 12:54 PM David's patch doesn't seem to help - at least in my case - but Kevin's just did ! Can we hope for an alpha-3 soonish ? ¨Thanks guys!
Hide
Permalink
Grégory Joseph added a comment - 07/Jan/09 8:02 AM

Or an alpha-4 ? Please ?

Show
Grégory Joseph added a comment - 07/Jan/09 8:02 AM Or an alpha-4 ? Please ?
Hide
Permalink
Jeff Genender added a comment - 20/Jul/09 1:13 PM

According to the maven guys... http://jira.codehaus.org/browse/MNG-2720 was fixed in Maven 2.10 (and later). Can I get this verified by some users of the plugin so that I may close this?

Show
Jeff Genender added a comment - 20/Jul/09 1:13 PM According to the maven guys... http://jira.codehaus.org/browse/MNG-2720 was fixed in Maven 2.10 (and later). Can I get this verified by some users of the plugin so that I may close this?
Hide
Permalink
Laurent Martelli added a comment - 17/Dec/09 11:03 AM - edited

I'm running maven 2.0.10 with "[DEBUG] jspc-maven-plugin: resolved to version 2.0-alpha-3 from repository central" and have the issue : one module is a jar of a taglib, and I can compile JSPs when running maven from the webapp module, but it fails from the parent project. I've run with maven -X and indeed it uses the classes directory (instead of the jar when running form the module directory).

But it works with maven 2.2.1.

Show
Laurent Martelli added a comment - 17/Dec/09 11:03 AM - edited I'm running maven 2.0.10 with "[DEBUG] jspc-maven-plugin: resolved to version 2.0-alpha-3 from repository central" and have the issue : one module is a jar of a taglib, and I can compile JSPs when running maven from the webapp module, but it fails from the parent project. I've run with maven -X and indeed it uses the classes directory (instead of the jar when running form the module directory). But it works with maven 2.2.1.

People

  • Assignee:
    Unassigned
    Reporter:
    Stephen Duncan Jr
Vote (6)
Watch (7)

Dates

  • Created:
    10/Aug/06 3:54 PM
    Updated:
    17/Dec/09 11:12 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.