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)
Signup
Maven 1.x Jetty Plugin
  • Maven 1.x Jetty Plugin
  • MPJETTY-2

Cannot compile jsp pages

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2
  • Labels:
    None
  • Number of attachments :
    2

Description

tools.jar missing from plugin classpath -> cannot compile jsp pages

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

Attachments

  1. Text File
    jetty-jspcompilation.patch
    22/Dec/04 12:09 AM
    0.9 kB
    Peter Ryan
  2. Hide
    Java Archive File
    maven-jetty-plugin-1.2-SNAPSHOT.jar
    22/Dec/04 12:10 AM
    4 kB
    Peter Ryan
    1. File
      META-INF/MANIFEST.MF 0.4 kB
    2. File
      plugin.jelly 5 kB
    3. File
      plugin.properties 1 kB
    4. File
      project.properties 0.9 kB
    5. XML File
      project.xml 3 kB
    Download Zip
    Show
    Java Archive File
    maven-jetty-plugin-1.2-SNAPSHOT.jar
    22/Dec/04 12:10 AM
    4 kB
    Peter Ryan

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Peter Ryan added a comment - 22/Dec/04 12:09 AM

this patch for the jetty maven plugin allows for jsp compilation. tools.jar is added to the classpath and because of some dependency ant.jar as well.

this patch was created from cvs head on 12-22-2004

Show
Peter Ryan added a comment - 22/Dec/04 12:09 AM this patch for the jetty maven plugin allows for jsp compilation. tools.jar is added to the classpath and because of some dependency ant.jar as well. this patch was created from cvs head on 12-22-2004
Hide
Permalink
Peter Ryan added a comment - 22/Dec/04 12:10 AM

this is a precompiled version of the modifed jetty plugin. replace this file with the 1.1 version in maven/plugins

Show
Peter Ryan added a comment - 22/Dec/04 12:10 AM this is a precompiled version of the modifed jetty plugin. replace this file with the 1.1 version in maven/plugins
Hide
Permalink
Vincent Massol added a comment - 16/Jan/05 9:06 AM

Hi Peter,

I was looking into applying your patch but I'm confused. Your latest comment suggest to use some jar containing source files. However, in order to apply your pach I would need the changes in pach format (diff -u).

Thanks a lot

Show
Vincent Massol added a comment - 16/Jan/05 9:06 AM Hi Peter, I was looking into applying your patch but I'm confused. Your latest comment suggest to use some jar containing source files. However, in order to apply your pach I would need the changes in pach format (diff -u). Thanks a lot
Hide
Permalink
Peter Ryan added a comment - 16/Jan/05 2:54 PM

There are two attachments.

#1 The patch file for the changes to allow jsp compilation.

#2 A compiled version of the plugin in case someone experienced the bug and wanted to simply wanted to replace the jetty plugin in their maven installation.

Peter

PS I noticed in the patch that I forgot to remove an unnecessary echo statement. After you apply the patch please remove the line which was used for testing:

<echo message="$

{tools.jar}

"/>

Show
Peter Ryan added a comment - 16/Jan/05 2:54 PM There are two attachments. #1 The patch file for the changes to allow jsp compilation. #2 A compiled version of the plugin in case someone experienced the bug and wanted to simply wanted to replace the jetty plugin in their maven installation. Peter PS I noticed in the patch that I forgot to remove an unnecessary echo statement. After you apply the patch please remove the line which was used for testing: <echo message="$ {tools.jar} "/>
Hide
Permalink
Vincent Massol added a comment - 16/Jan/05 11:20 PM

Ok, got it. Thanks Peter.

Just a question. Where do you get the $

{tools.jar}

value from (who sets it)?

Show
Vincent Massol added a comment - 16/Jan/05 11:20 PM Ok, got it. Thanks Peter. Just a question. Where do you get the $ {tools.jar} value from (who sets it)?
Hide
Permalink
dion gillard added a comment - 16/Jan/05 11:44 PM

tools.jar is set in maven's bat/shell script

Show
dion gillard added a comment - 16/Jan/05 11:44 PM tools.jar is set in maven's bat/shell script
Hide
Permalink
Juan F. Codagnone added a comment - 23/Jun/05 2:02 AM

i just reach to the same solution. Others plugins uses $

{tools.jar}

juan@dinah jetty $ find ~/.maven/cache/|xargs grep tools.jar
/home/juan/.maven/cache/maven-dotuml-plugin-1.0/plugin.jelly: <ant:path location="${tools.jar}

"/>
/home/juan/.maven/cache/maven-dotuml-plugin-1.0-java5-zauber/plugin.jelly: <ant:path location="$

{tools.jar}"/>
/home/juan/.maven/cache/maven-jellydoc-plugin-1.3.1/project.properties:maven.jar.javadoc=${tools.jar}
Show
Juan F. Codagnone added a comment - 23/Jun/05 2:02 AM i just reach to the same solution. Others plugins uses $ {tools.jar} juan@dinah jetty $ find ~/.maven/cache/|xargs grep tools.jar /home/juan/.maven/cache/maven-dotuml-plugin-1.0/plugin.jelly: <ant:path location="${tools.jar} "/> /home/juan/.maven/cache/maven-dotuml-plugin-1.0-java5-zauber/plugin.jelly: <ant:path location="$ {tools.jar}"/> /home/juan/.maven/cache/maven-jellydoc-plugin-1.3.1/project.properties:maven.jar.javadoc=${tools.jar}
Hide
Permalink
Vincent Massol added a comment - 30/Aug/05 12:23 PM

Applied (at last!). Sorry for the delay...

Show
Vincent Massol added a comment - 30/Aug/05 12:23 PM Applied (at last!). Sorry for the delay...

People

  • Assignee:
    Vincent Massol
    Reporter:
    Janne Kario
Vote (1)
Watch (1)

Dates

  • Created:
    30/Jul/04 8:37 PM
    Updated:
    19/Nov/06 11:56 PM
    Resolved:
    30/Aug/05 12:23 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.