missing classpath entries during dinamic compilation
----------------------------------------------------
Key: MPJETTY-8
URL: http://jira.codehaus.org/browse/MPJETTY-8
Project: maven-jetty-plugin
Type: Bug
Reporter: Juan F. Codagnone
if the jsp uses the a class defined in the war, it will fail the compilation.
Ej:
<% test.URIDirectory helper_uri =
(test.URIDirectory)request.getAttribute("helper_uri"); %>
Can be "solved" with:
Index: plugin.jelly
===================================================================
--- plugin.jelly (revision 312511)
+++ plugin.jelly (working copy)
@@ -111,6 +111,8 @@
<ant:pathelement
location="${plugin.getDependencyPath('tomcat:jasper-runtime')}"/>
<ant:pathelement location="${plugin.getDependencyPath('ant:ant')}"/>
<ant:pathelement location="${tools.jar}"/>
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
</ant:classpath>
</ant:java>
But it should better to add a goal jetty:jetty-init where the class would be
defined. With this classpath defined the user can add his owns dependencies
using a postGoal.
--
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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]