Those are arguments to JspC, not java.  If you have tomcat installed, try
running jspc.bat (.sh) .  I think that will give you what you are looking
for

K.C.

> -----Original Message-----
> From: David Corbin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 16, 2001 3:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Open source JSPC
> 
> 
> Nick Christopher wrote:
> > 
> > David Corbin wrote:
> > 
> > > Is there an ant-task that will invoke an open-source JSP 
> compiler?  I
> > > assume that tomcat has one it.  (I know there is a 
> WebLogic one, but...)
> > > --
> > > David Corbin
> > > [EMAIL PROTECTED]
> > 
> > You can just (Assumes all your JSPs are in ./jsp - modify to needs):
> > 
> >   <java classname="org.apache.jasper.JspC" taskname="jspc"
> >   failonerror="true">
> >       <arg value="-d" />
> >       <arg file="jsp" />
> >       <arg value="-webxml" />
> >       <arg file="jsp/web.xml" />
> >       <arg value="-webapp" />
> >       <arg file="jsp" />
> >       <classpath refid="classpath" />
> >    </java>
> 
> 
> Can you point me at some documentation that covers those 
> arguments? java
> -? doesn't touch on them...
> 
> -- 
> David Corbin          
> [EMAIL PROTECTED]
> 

Reply via email to