Yeboo,
The pathes needed to be absolute. Thanks for the help. Sorry for the late
reply.
Gruss
Nils
mtgglf
-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 3:18 PM
To: 'Tomcat Users List'
Subject: AW: Jsp Pre-compilation
Hi Nils,
two things:
1. I would use an absolute path instead of the realitive one ./hummingbird
I guess jasper just can't pick up your jsps!
2. outputDir: You set it to WEB-INF/classes but what you create are
actually java source files, so this is not right, even tohough it doesn't
explain the failure of the precompliation
Good luck
Bernhard
-Ursprüngliche Nachricht-
Von: Nils Liebelt [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 30. Juni 2005 15:09
An: tomcat-user@jakarta.apache.org
Cc: [EMAIL PROTECTED]
Betreff: Jsp Pre-compilation
Hi all,
I have trouble pre-compiling my jsp-pages. I wrote following
ant target:
target name=jspc depends=build
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath id=jspc.classpath
fileset dir=${tomcat.home}/bin
include name=*.jar/
/fileset
fileset dir=${tomcat.home}/server/lib
include name=*.jar/
/fileset
fileset dir=${tomcat.home}/common/lib
include name=*.jar/
/fileset
/classpath
/taskdef
jasper2 validateXml=false
compile=true
verbose=99
listErrors=true
uriroot=./hummingbird
webXmlFragment=./hummingbird/WEB-INF/generated_web.xml
outputDir=./hummingbird/WEB-INF/classes /
/target
The task executes successful but it does not create a single
java file nor
its outputs anything? I want execute the task out of my
project src folder.
The libraries should be at the right place. I am really stuck here...
Regards,
Nils
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]