ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mika Moilanen <mikmo...@stybba.ntc.nokia.com>
Subject Re: com.ibm.websphere.ant.tasks.JspC doesn't take classpath
Date Thu, 16 Oct 2003 12:55:16 GMT

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> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
Martin> For 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


Mime
View raw message