ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29676] - add classpath and classpathref to script task
Date Mon, 21 Jun 2004 08:27:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29676

add classpath and classpathref to script task





------- Additional Comments From alphonse.bendt@it-fws.de  2004-06-21 08:27 -------
i tried the following:

<pathconvert refid="base.path" property="cp.base" targetos="windows" />

<taskdef name="script2" classpath="cp.base"
  classname="org.apache.tools.ant.taskdefs.optional.Script">
</taskdef>
  
<script2 language="beanshell">
   print("Hello World!");   
   print("This is my Classpath:");
   print(getClassPath());
</script2>

unfortunately this does not seem to work.

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


Mime
View raw message