You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by M Coffee <mr...@yahoo.com> on 2007/02/10 08:31:23 UTC

Unable to build jasper-compiler.jar for Tomcat 5.5

Could someone point me to directions on how to build jasper-compiler.jar?

This is the first time I've tried to build Tomcat, and while the build for Tomcat appeared to go
well (there are many jars, but there were errors in getting eclipse files from
http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/ so that part of the build failed),
there was no build for the jasper-compiler.jar.  I would like to build j-c.jar to add extra
debugging information to DefaultErrorHandler.java.

I got the source distribution for Tomcat 5.5.12, because that is the version we are running. 
There is source for jasper-compiler.jar, but no jasper-compiler.jar.  When I try to run the ant
build in the Jasper2 directory, following the BUILDING.txt instructions in that directory, it
doesn't work with the following errors:

------------------------------------------------------------------------------
E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jasper2>ant -v jsp20el.dist
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: build.xml
Detected Java version: 1.5 in: C:\Program Files\Java\jdk1.5.0_04\jre
Detected OS: Windows 2000
parsing buildfile E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jasper2\buil
d.xml with URI = file:/E:/apache-tomcat-5.5.12-src/jakarta-tomcat-jasper/jasper2
/build.xml
Project base dir set to: E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jaspe
r2
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
e/tools/ant/antlib.xml. It could not be found.
 [property] Loading C:\Documents and Settings\Administrator.CITRIX_RAID\build.pr
operties
 [property] Unable to find property file: C:\Documents and Settings\Administrato
r.CITRIX_RAID\build.properties
 [property] Loading E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jasper2\bu
ild.properties
 [property] Loading E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jasper2\bu
ild.properties.sample
Override ignored for property "catalina.home"
 [property] Loading E:\apache-tomcat-5.5.12-src\jakarta-tomcat-5\build\build.pro
perties
 [property] Unable to find property file: E:\apache-tomcat-5.5.12-src\jakarta-to
mcat-5\build\build.properties
Override ignored for property "catalina.home"
Property "api.home" has not been set
Property "api.home" has not been set
Property "jasper-compiler-jdt.jar" has not been set
Property "xerces.jar" has not been set
Property "xercesImpl.jar" has not been set
Property "xml-apis.jar" has not been set
Property "commons-el.jar" has not been set
Property "commons-collections.jar" has not been set
Property "commons-logging.jar" has not been set
Property "commons-daemon-launcher.jar" has not been set
Property "junit.jar" has not been set
Property "xerces.jar" has not been set
Property "xercesImpl.jar" has not been set
Property "xml-apis.jar" has not been set
Property "commons-collections.jar" has not been set
Property "commons-launcher.jar" has not been set

BUILD FAILED
Target "jsp20el.dist" does not exist in the project "Jasper2".
        at org.apache.tools.ant.Project.tsort(Project.java:1821)
        at org.apache.tools.ant.Project.topoSort(Project.java:1729)
        at org.apache.tools.ant.Project.topoSort(Project.java:1692)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 2 seconds
E:\apache-tomcat-5.5.12-src\jakarta-tomcat-jasper\jasper2>
---------------------------------------------------------------------------

I'm using ant 1.7.0 and jdk 1.5.

Most of those jars exist, but I expected one of the build scripts to set them.  Do they need to be
explicitly set in the jasper build.properties file?

Hope someone can help,

M Coffee



 
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org