Hello,

I have an issue with the following snippet of my
ant build-script:

<taskdef classname="org.apache.jasper.JspC" classpathref="compile.classpath" name="jasper2"/>

<jasper2
verbose="3"
package="my.package"
uriroot="${temp.home}"
outputDir="${temp.home}" />




The taskdef tag and the jasper2 tag do not care about the
path set in compile.classpath. Instead, the CLASSPATH variable
from the shell is used.

How do I make ant (or especially those two tags) recognize the
path in "compile.classpath"?


The strange thing is, that the following snippet works: <jspc srcdir="${temp.home}/subpackage" destdir="${temp.home}/my/package" package="my.package.subpackage" classpathref="compile.classpath" verbose="9"> <include name="some.jsp" /> </jspc>

However, I have to use a jspc-tag for every subpackage and that tag
cannot create includes for the web.xml file. Right?

Thank You,

Hans


-- Johann Uhrmann xpecto AG | Lindenstrasse 81 | D-84030 Ergolding Telefon: 0700 xpecto 00 (0700 973286 00) Telefax: 0700 xpecto 10 (0700 973286 10) Internet: http://www.xpecto.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to