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
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
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
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
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
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
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
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
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 :
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
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.
>
11 matches
Mail list logo