ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Building jsps
Date Sat, 23 Mar 2002 17:37:42 GMT
There is an optional <wljspc> task, but it may be too outdated or not
applicable in your case.

Also, the latest CVS codebase has a <jspc> task that has the goal of
wrapping vendor-specific compilation of JSP.  Perhaps you could jump in and
give it a try and see if it would work for your needs.

But, alternatively, you could use the <apply> task to invoke "java
weblogic.jspc", which would have the added benefit of dependency checking to
avoid compiling files that are already up-to-date.


----- Original Message -----
From: <>
To: "Ant Users List" <>
Sent: Saturday, March 23, 2002 12:16 PM
Subject: Building jsps

> I want to build jsps which are spread different directories. The ant code
> am using is
> <target name="jspcompile" depends="init">
>      <java  classname="weblogic.jspc" fork="yes">
>      <classpath refid="project.class.path"/>
>      <arg line=" -compiler javac -package Hibernia -keepgenerated" />
>      <jvmarg value="-Dweblogic.jsp.unix.caseSensitive=true"/>
>      <arg value="${basedir}/com/alltel/ebusiness/common/error/pages/*.jsp"
>      </java>
>      </target>
>           This doesn't work since I am specifying *.jsp in the arg value.
If I specify the individual file name, it works. I would like to know, how I
>  can build the jsps
> which are in different directories. I would not know before hand which are
the directories. I can't use fileset dir since ant complains that java task
>  doesn't support it.
> Anybody has any idea ? I want to use something like,
> fileset dir="${rootdir}" includes ="**/*.jsp/**
> Thanks in advance.
> Kailash
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message