Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
Description
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.