Re: script problem

2008-05-28 Thread Dave Pawson
2008/5/28 Martin <[EMAIL PROTECTED]>: > Dave- > > Did you download the latest Bean Scripting Framework jar located at > http://jakarta.apache.org/bsf/ Yes, 2.4, extracted bsf.jar Tried it in the classpath child - no joy Put it in ant/lib and it now works regards -- Dave Pawson XSLT XSL-FO FAQ

Re: script problem

2008-05-28 Thread Martin
Dave- Did you download the latest Bean Scripting Framework jar located at http://jakarta.apache.org/bsf/ HTH Martin - Original Message - From: "Dave Pawson" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, May 28, 2008 6:36 AM Subject: script pr

Re: script problem

2008-05-28 Thread Peter Reilly
On Wed, May 28, 2008 at 1:34 PM, Dave Pawson <[EMAIL PROTECTED]> wrote: > 2008/5/28 Peter Reilly <[EMAIL PROTECTED]>: >> Wait for ant 1.7.1. > > Thanks Peter. Any due date (roughly)? There is a beta out, http://people.apache.org/dist/ant/v1.7.1beta2/ I assume that a release will be made soon. Pe

Re: script problem

2008-05-28 Thread Dave Pawson
2008/5/28 Peter Reilly <[EMAIL PROTECTED]>: > Wait for ant 1.7.1. Thanks Peter. Any due date (roughly)? >> Is the documentation wrong? >> > no ;-) > """ > NB: This classpath cannot (currently) be used to specify the location > of the BSF jar file. Also, due to classloading issues, languages tha

Re: script problem

2008-05-28 Thread Peter Reilly
Wait for ant 1.7.1. On Wed, May 28, 2008 at 12:55 PM, Dave Pawson <[EMAIL PROTECTED]> wrote: > 2008/5/28 Knuplesch, Juergen <[EMAIL PROTECTED]>: >> Do you have bsf.jar in the ANT-classpath? >> (You can copy it in the lib-Folder of ANT) >> >> See "Ant-Tasks"-"Library dependencies" in >> http://an

Re: script problem

2008-05-28 Thread Dave Pawson
2008/5/28 Knuplesch, Juergen <[EMAIL PROTECTED]>: > Do you have bsf.jar in the ANT-classpath? > (You can copy it in the lib-Folder of ANT) > > See "Ant-Tasks"-"Library dependencies" in > http://ant.apache.org/manual/ Also needed jakarta-commons-logging.jar Thanks. I don't want to clog up the ant

AW: script problem

2008-05-28 Thread Knuplesch, Juergen
-Ursprüngliche Nachricht- Von: Dave Pawson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 28. Mai 2008 12:36 An: Ant Users List Betreff: script problem Inside a target I have <classpath refid="sys.jars"/> System.out.println("message is " + message);

script problem

2008-05-28 Thread Dave Pawson
Inside a target I have System.out.println("message is " + message); The jar file contains the exception $jar -tf bsf.jar |grep BSFException org/apache/bsf/BSFException.class yet when I run ant I get BUILD FAILED /files/java/build.xml:23: jav

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thanks, DD! I had to use project.resolveFile(), but that got it going! yes! -Sol On Jun 20, 2006, at 12:52 PM, Dominique Devienne wrote: I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#resolveFile(String), returns File or String, I don't recall. --DD Would you use it directly inside

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thank a bunch for the reply! I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Would you use it directly inside ? Would you use it for the sys.path.append() calls? If so, how?



Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Alexey N. Solofnenko
I got that problem too, but my solution maybe too low level. In Jython import folders are hard coded and read only, so I wrote my own launcher that understood -M option and a special Java property and put them into PySystemState.path list (for example, state.path.append(new PyString(path));). I

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
The 'cwd' is never changed. What changes in the project's basedir, based on the various attributes that accepts. See the table in 's documentation for details. Personally, I always use instead of , to avoid messing up the 'basedir'. You probably also want to use p.resolveFile(relative_filename)

NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Sol Kindle
Hey now, This is my first Ant project (so please bear with me). My goal here is to have a single Ant file to build all of my sub-projects. I am having some trouble getting a third party Ant project (call it "foo") to run as a subproject to my "top-level" build project. The Foo build runs j

ant script problem

2003-09-11 Thread Shailesh Sharma
Hi, Iam trying to use a utility called "wlserver" to start/stop the wls servers. and i have an ANT task to do it. But after starting the server, my instance dies.I have attached the exceptions here: --- C:\bea8.1\user_projects\mydomain>ant Buildfile: build.xml start-server: