[
http://jira.codehaus.org/browse/MJSPC-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96243
]
jake pezaro commented on MJSPC-4:
---------------------------------
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?
> JSPs Cannot Be Compiled if They Depend on Tag Files
> ---------------------------------------------------
>
> Key: MJSPC-4
> URL: http://jira.codehaus.org/browse/MJSPC-4
> Project: Maven 2.x Jspc Plugin
> Issue Type: Bug
> Reporter: Stephen Duncan Jr
> Attachments: jspc-example-revised.zip, jspcexample.zip
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email