Re: Classpath when executing JAR

2004-10-11 Thread Conor MacNeill
It's the same at the command line. When you run a jar with java -jar ... java ignores the classpath. Presumably it expects the jar to specify its classpath. Conor h2ooo x wrote: Hi! I have the following Ant (1.6.2) tasks defined, The task "run" is exec

Classpath when executing JAR

2004-10-11 Thread h2ooo x
Hi! I have the following Ant (1.6.2) tasks defined, The task "run" is executed correct but the task "run2" produced the following error: run2: [java] java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod [java] Exceptio

AW: build.xml in rhino1_6R1pre.zip

2004-10-11 Thread Jan . Materne
Usually you dont work from the 'src' folder, because there are the sources and you want to have a directory structure like projectroot(build.xml) +-- build(app.jar) | +-- classes(**/*.class) +-- src (**/*.java) Maybe there it´s different, I dont

xmlproperty path issue

2004-10-11 Thread Jacob Kjome
I'm not 100% sure this is a bug, or just a known limitation of , but I'll give it a go and see what others think (I'm using Ant-1.6.2, btw)... When I use to define a path and include a reference to a path that I override later, if that overridden path includes a pathelement using a property t

RE: How to get the return value from the

2004-10-11 Thread Jacob Kjome
Or use a rather than . There are very few reasons to still be using anymore now that exists. Jake Quoting "Conelly, Luis (GE Energy, Non GE, GENE)" <[EMAIL PROTECTED]>: > there's an Ant-Contrib feature... I think it's [1] which has > something related... > [1] http://ant-contrib.sourceforge

RE: Question re SSH2/Scp/Sshexec

2004-10-11 Thread Anderson, Rob (Global Trade)
I would suggest letting ssh generate this file for you. Login to the remote host and then run 'ssh localhost'. You will be prompted to accept the host key. After accepting the host key you will then be asked to authenticate. You can cancel the command at this point. You will then find a file in

RE: Question re SSH2/Scp/Sshexec

2004-10-11 Thread Anderson, Rob (Global Trade)
The format of the file is the same but the keys differ. SSH1 keys are not supported because jscp is based on SSH2 and does not support SSH1. -Rob Anderson > -Original Message- > From: Rhino [mailto:[EMAIL PROTECTED] > Sent: Friday, October 08, 2004 4:34 PM > To: Ant Users List; [EMAIL PR

RE: How to get the return value from the

2004-10-11 Thread Conelly, Luis (GE Energy, Non GE, GENE)
there's an Ant-Contrib feature... I think it's [1] which has something related... [1] http://ant-contrib.sourceforge.net/tasks/antcallback_task.html HTH -Original Message- From: Sharad [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:45 AM To: Ant Users List Subject: How to g

How to get the return value from the

2004-10-11 Thread Sharad
Hi, I want to create a target which can be called using . But i want to get the return value from the called target. Is there a way to get it? I tried using ant contrib's variable property using but the property value is not returned from the called target. Follows is the code snipped i tried :

build.xml in rhino1_6R1pre.zip

2004-10-11 Thread George Hester
ftp://ftp.mozilla.org/pub/mozilla.org/js/ I unzip this. I then went to the src subfolder in the command prompt. I then entered ant. The result was: C:\downloads\rhino\rhino1_6R1pre\src>ant Buildfile: build.xml compile: BUILD FAILED C:\downloads\rhino\rhino1_6R1pre\src\build.xml:18: destinat

Re: "nested patternsets"

2004-10-11 Thread Matt Benson
Greg: You do realize that you can give an id to a , defining it in one place and then referencing it elsewhere, do you not? HTH, Matt --- Greg Irvine <[EMAIL PROTECTED]> wrote: > Hi all. > > I'm trying to produce a fileset of source files, > without massively > duplication things in a few s. >