[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: AW: Can't execute 'script' task. Get
From:       Alex Honor <alex () controltier ! com>
Date:       2007-06-27 15:19:54
Message-ID: 11326552.post () talk ! nabble ! com
[Download RAW message or body]


Slip of the finger. It is 1.7.0. Downloaded from
http://ant.apache.org/bindownload.cgi


Jan.Materne wrote:
> 
> 1.7.9 ????? 
> We never released a 1.7.9. We just have 1.7.0 ....
> 
> Could you send the download link?
> 
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Alex Honor [mailto:alex@controltier.com] 
> > Gesendet: Dienstag, 26. Juni 2007 23:23
> > An: user@ant.apache.org
> > Betreff: RE: Can't execute 'script' task. Get 
> > java.lang.ClassNotFoundException: 
> > org.apache.tools.ant.util.optional.ScriptRunner
> > 
> > 
> > It's the 1.7.9 binary distribution I pulled from the Apache 
> > download page. I
> > agree it does appear to be a missing class though.
> > 
> > 
> > Anderson, Rob (Global Trade) wrote:
> > > 
> > > It looks like you are missing some of the classes for the optional
> > > tasks. Did you compile Ant from source? If so, I recommend using the
> > > binary dist, unless you have a compelling reason to comiple 
> > from source.
> > > 
> > > 
> > > -Rob Anderson
> > > 
> > > > -----Original Message-----
> > > > From: Alex Honor [mailto:alex@controltier.com] 
> > > > Sent: Monday, June 25, 2007 4:25 PM
> > > > To: user@ant.apache.org
> > > > Subject: Can't execute 'script' task. Get 
> > > > java.lang.ClassNotFoundException: 
> > > > org.apache.tools.ant.util.optional.ScriptRunner
> > > > 
> > > > 
> > > > Hi All,
> > > > Experiencing some trouble using the Ant 'script' task. I am 
> > > > trying to test using a simple build.xml with the following content:
> > > > 
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <project name="groovyfun" default="groove">
> > > > <property name="message" value="Hello world"/>
> > > > <target name="groove">
> > > > <script language="groovy" manager="bsf">
> > > > println("message is " + message)
> > > > </script>
> > > > </target>
> > > > </project>
> > > > 
> > > > I get the following error when I try and run it:
> > > > 
> > > > $ /usr/local/apache-ant/1.7.0/bin/ant -f /tmp/build.xml
> > > > Buildfile: /tmp/build.xml
> > > > 
> > > > groove:
> > > > 
> > > > BUILD FAILED
> > > > /tmp/build.xml:5: java.lang.ClassNotFoundException:
> > > > org.apache.tools.ant.util.optional.ScriptRunner
> > > > 
> > > > 
> > > > I am using a Apache Ant 1.7.0 and have installed the 
> > > > recommended BSF and Groovy optional Jars into $ANT_HOME/lib.
> > > > 
> > > > Thanks for any help.
> > > > 
> > > > 
> > > > --
> > > > View this message in context: 
> > > > http://www.nabble.com/Can%27t-execute-%27script%27-task.-Get-j
> > > ava.lang.ClassNotFoundException%3A->
> > > org.apache.tools.ant.util.optional.ScriptRunner-tf3979639.html
> > > #a11297570
> > > > Sent from the Ant - Users mailing list archive at Nabble.com.
> > > > 
> > > > 
> > > > 
> > ---------------------------------------------------------------------
> > > > 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
> > > 
> > > 
> > > 
> > 
> > -- 
> > View this message in context: 
> > http://www.nabble.com/Can%27t-execute-%27script%27-task.-Get-ja
> > va.lang.ClassNotFoundException%3A-org.apache.tools.ant.util.opt
> > ional.ScriptRunner-tf3979639.html#a11314190
> > Sent from the Ant - Users mailing list archive at Nabble.com.
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> 
> 
> 

-- 
View this message in context: \
http://www.nabble.com/Can%27t-execute-%27script%27-task.-Get-java.lang.ClassNotFoundEx \
ception%3A-org.apache.tools.ant.util.optional.ScriptRunner-tf3979639.html#a11326552 \
Sent from the Ant - Users mailing list archive at Nabble.com.


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic