Hi, 
I am tying to use jspc in ant and the attribute webxml or webinc seems do not work. I 
use:
<target name="compileJSP" description="compile JSP">
<jspc srcdir="${project.dir}" destdir="${project.dir}" classpathref="lib.path" 
verbose="${verbose}" webinc="${project.dir}/x.xml">
<include name="**/*.jsp"/>
<webapp basedir="${project.dir}"/>
</jspc>
</target>
or
<target name="compileJSP" description="compile JSP">
<jspc srcdir="${project.dir}" destdir="${project.dir}" classpathref="lib.path" 
verbose="${verbose}" webxml="${project.dir}/x.xml">
<include name="**/*.jsp"/>
<webapp basedir="${project.dir}"/>
</jspc>
</target>
It created  java files, but no xml was crested. Can anyone help me? I searched the 
posts and can not find any info related to xml creation. any no example has 
webxml/webinc attribute. I have tried both ant 1.5.1beta1 and ant 1.6alpha night 
build(9/21). Also, I used ant 1.5 and it did not even create java files!


Reply via email to