ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xinhong Luo <xinh...@optonline.net>
Subject jspc and webinc/webxml attribute
Date Sun, 22 Sep 2002 16:28:40 GMT
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!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message