tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subir Sengupta <su...@walmart.com>
Subject RE: build.xml for Ant/JspC
Date Thu, 03 Oct 2002 07:49:01 GMT
Sachin,

Thanks, I did get this working.  Do you also compile the the .java files
with ant?  If so, could you send me a snippet of that piece of the build.xml
file.  I couldn't get that working either (I'm using Ant for the first
time).

Thanks,
Subir

-----Original Message-----
From: Sachin Pandey
To: tomcat-user@jakarta.apache.org
Sent: 10/2/2002 7:56 PM
Subject: Re: build.xml for Ant/JspC

There is a snippet of the build.xml that we use for jsp compilation.
<java classname="${product.jspc.compiler}" fork="true"
dir="${product.webapp.build.dir}">
            <arg value="-webinc"/>
            <arg value="${product.webapp.tmp.dir}/jsps-servlets"/>
            <arg value="-d"/>
            <arg value="${product.webapp.tmp.dir}"/>
            <arg value="-uriroot"/>
            <arg value="${product.webapp.build.dir}"/>
            <arg value="-exclude"/>
            <arg value="${product.jspc.exclude}"/>
            <arg value="-webapp"/>
            <arg value="./"/>
            <classpath refid="all-classpath" />
</java>

hth
Cheers
Sachin Pandey
NUIX Pty Ltd
Level 8, 143 York Street,
Sydney 2000
Phone: (02) 92839010
Fax: (02) 92839020

Disclaimer:
This message is intended only for the named recipient. If you are not
the
intended recipient you are notified that disclosing,copying,
distributing or
taking any action in reliance on the contents of this information is
strictly prohibited.
----- Original Message -----
From: "Subir Sengupta" <subir@walmart.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, October 03, 2002 9:41 AM
Subject: build.xml for Ant/JspC


> Hi,
>
> Has anyone got Jspc running with Ant?  If so could you send me your
> build.xml or send me any suggestions on how to get it working.  I
followed
> the docs at
http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html
but
> couldn't get it working.
>
> I'm running TC 404 on Red Hat 7.3 and JDK 1.4
>
> Thanks,
> Subir
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message