ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cnyinhua" <cnyin...@hotmail.com>
Subject how to use Jspc precompile the Jsp with the same package name
Date Fri, 22 Aug 2003 00:49:20 GMT
  Hi, all
I'm using the Jspc to precompile the jsp into java file, and there are
several sub directories in the jsp src directory. Such like /pc, /pda.
<target name="compile-web" depends="cvs-web">
<echo>compile the hydraprototype into class file</echo>
<jspc srcdir="${src.dir}"
      destdir="${src.dir}"
      package="org.apache.jsp"
      verbose="0"
>
<classpath>
       <fileset dir="${lib.dir}">
              <include name="**/*.jar"/>
       </fileset>
</classpath>
  <include name="**/*.jsp" />
</jspc>
current the result is the jsp in pc has the package name of
org.apache.jsp.pc, pda is org.apache.jsp.pda, and the root directory is
org.apache.jsp.
how can I make all the package name same as the org.apache.jsp?
Thx.
Any help will be welcome.
Frank
 
 
  _____  

 
 

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