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 com.ibm.websphere.ant.tasks.JspC doesn't take classpath
Date Thu, 16 Oct 2003 11:13:08 GMT

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] '/vobs/j2/was/properties:/vobs/j2/was/lib/bootstrap.jar:/vobs/j2/was/lib/j2ee.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


Mime
View raw message