ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: how to use Jspc precompile the Jsp with the same package name
Date Fri, 22 Aug 2003 04:23:22 GMT
Why do you have the folders /pc /pda? 
Why not have all the files placed in ${srcdir} ?
Martin
----- Original Message ----- 
From: "cnyinhua" <cnyinhua@hotmail.com>
To: <ant-user@apache.org>
Sent: Thursday, August 21, 2003 5:49 PM
Subject: how to use Jspc precompile the Jsp with the same package name


>   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
>  
>  
>   _____  
> 
>  
>  
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message