Issue Details (XML | Word | Printable)

Key: MPJETTY-2
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Janne Kario
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Jetty Plugin

Cannot compile jsp pages

Created: 30/Jul/04 08:37 PM   Updated: 19/Nov/06 11:56 PM
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments: 1. Text File jetty-jspcompilation.patch (0.9 kB)
2. Java Archive File maven-jetty-plugin-1.2-SNAPSHOT.jar (4 kB)



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

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
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


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

Vincent Massol added a comment - 16/Jan/05 09: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


Peter Ryan added a comment - 16/Jan/05 02: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}"/>


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)?


dion gillard added a comment - 16/Jan/05 11:44 PM
tools.jar is set in maven's bat/shell script

Juan F. Codagnone added a comment - 23/Jun/05 02: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}

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