ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: com.ibm.websphere.ant.tasks.JspC doesn't take classpath
Date Thu, 16 Oct 2003 18:21:29 GMT
Which Ant version supports wsjpc?
Thanks,
-M
----- Original Message ----- 
From: "W. Sean Hennessy" <shennessy@goldenhourdata.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Thursday, October 16, 2003 11:43 AM
Subject: RE: com.ibm.websphere.ant.tasks.JspC doesn't take classpath


> What happens if you leverage the classpath of the taskdef like so...
>
> <!-- Using alternate form of classpath specification -->
> <taskdef name="wsjspc" classname="com.ibm.websphere.ant.tasks.JspC" >
>   <classpath>
>        <pathelement location="${websphere.home.dir}/lib/wsanttasks.jar" />
>        <pathelement location="/foo/bar" />
>   </classpath>
> </taskdef>
>
> <target name="war">
>    <wsjspc
>       washome="${websphere.home.dir}"
>       src="${comproot}"
>       toDir="${comproot}">
>     </wsjspc>
> </target>
>
> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@hotmail.com]
> Sent: Thursday, October 16, 2003 2:01 PM
> To: Ant Users List; Mika Moilanen
> Subject: Re: com.ibm.websphere.ant.tasks.JspC doesn't take classpath
>
>
> I have the WebLogic jasper compiler but I dont have the task for
Webspherewhich version Ant are you using?Martin-----
> Original Message ----- 
> From: "Mika Moilanen" <mikmoila@stybba.ntc.nokia.com>
> To: <user@ant.apache.org>
> Sent: Thursday, October 16, 2003 8:55 AM
> Subject: Re: com.ibm.websphere.ant.tasks.JspC doesn't take classpath
>
>
> >
> > WAS 5.0
> >
> > >>>>> "Martin" == ext Martin Gainty <mgainty@hotmail.com> writes:
> >
> > Martin> What version Webpshere are you using?
> > Martin> Regards,
> >
> >
> > Martin> ----- Original Message -----
> > Martin> From: "Mika Moilanen" <mikmoila@stybba.ntc.nokia.com>
> > Martin> To: <user@ant.apache.org>
> > Martin> Sent: Thursday, October 16, 2003 7:13 AM
> > Martin> Subject: com.ibm.websphere.ant.tasks.JspC doesn't take classpath
> >
> >
> > >>
> > >> I know that this isn't directly relevant to ant-user, but I'll try
> > >> anyways...
> > >>
> > >> I'm trying to use WAS Ant tasks with WAS5 -- especially JSP
> > >> Compiler:
> > >>
> > >> ----------------------------------------------------------
> > >> <taskdef name="wsjspc"
> > >> classpath="${websphere.home.dir}/lib/wsanttasks.jar"
> > >> classname="com.ibm.websphere.ant.tasks.JspC"/>
> > >>
> > >> <target name="war">
> > >> <wsjspc
> > >> washome="${websphere.home.dir}"
> > >> classpath="/foo/bar"
> > >> src="${comproot}"
> > >> toDir="${comproot}">
> > >> </wsjspc>
> > >> </target>
> > >>
> > >> ----------------------------------------------------------
> > >>
> > >> By examining the verbose output of Ant when executing "war" target,
> > >> I noticed that "/foo/bar" is never listed in '-classpath' passed to
> > >> JSPC
> > >> -- and the compilation fails:
> > >>
> > >> ----------------------------------------------------------
> > >> .
> > >> .
> > >> .
> > >> [wsjspc] '-DenableJava2Security=true'
> > >> [wsjspc] '-Dcom.ibm.itp.location=/vobs/j2/was//deploytool/itp'
> > >> [wsjspc] '-Xmx256M'
> > >> [wsjspc] '-classpath'
> > >> [wsjspc]
> > Martin>
>
'/vobs/j2/was/properties:/vobs/j2/was/lib/bootstrap.jar:/vobs/j2/was/lib/j2e
> > Martin> e.jar:/vobs/j2/was/lib/lmproxy.jar'
> > >> [wsjspc] 'com.ibm.ws.bootstrap.WSLauncher'
> > >> [wsjspc] 'com.ibm.ws.webcontainer.jsp.compiler.ibmtools.JspModC'
> > >> [wsjspc] '-appDir'
> > >> .
> > >> .
> > >> .
> > >> ----------------------------------------------------------
> > >>
> > >> Could anyone help, what should I do in order to get '/foo/bar' into
> > >> '-classpath'?
> > >>
> > >>
> > >> --
> > >> Best Regards,
> > >> Mika
> > >> ----------------------------------------------------------
> > >> mikmoila@shire.ntc.nokia.com  phone: +358-0-511-23587
> > >> Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland
> > >> ----------------------------------------------------------
> > >>
> > >>
> > >> -------------------------------------------------------------------
> > >> --
> > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > >> For additional commands, e-mail: user-help@ant.apache.org
> > >>
> > >>
> >
> >
> Martin> ----------------------------------------------------------------
> Martin> ----
> -
> > Martin> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> > Martin> additional commands, e-mail: user-help@ant.apache.org
> >
> >
> > --
> > Best Regards,
> > Mika
> > ----------------------------------------------------------
> > mikmoila@shire.ntc.nokia.com  phone: +358-0-511-23587
> > Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland
> > ----------------------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message