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 1.x Jetty Plugin
  • MPJETTY-8

missing classpath entries during dinamic compilation

  • 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

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.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Juan F. Codagnone
Vote (0)
Watch (0)

Dates

  • Created:
    10/Oct/05 1:05 AM
    Updated:
    10/Oct/05 1:05 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.