aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Compiling JSPs into directories Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Compiling JSPs into directories" Watch "Compiling JSPs into directories" New topic
Author

Compiling JSPs into directories

Manu Nellutla
Greenhorn

Joined: Aug 02, 2005
Posts: 3
I have an ant task which is compiling JSPs into generated JAVA file.

However all the generated files are at the root level ( no subdirectories)

<jspc

destDir="${tomcat.home}/webapps/hst/javasrc/precompiledjsp"
srcdir="${app.home}/java/htdocs"
uriroot="${app.home}/java/htdocs"
uribase="."
verbose="2"
compiler="jasper"
classpathref="jspc.classpath">
<nclude name="**/*.jsp"/>
</jspc>


filesets are not allowed with JSPC. can you please tell me a way to compile all the jsps(including subdirectories)to an outpur directory (maintaining the same directory structure as the source?

Thanks in advance.
Manu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

Moved to the Ant forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling JSPs into directories
 
Similar Threads
uriRoot implicitly set to
Precompiling JSPs for iWS 6.0
Precompiling JSP's in Tomcat
Jsp precompile with Ant and NullPointerException
war from ant not running