If you run ANT in verbose mode (-v) what does it
output as the string that is generated...?
On a side note, properties are immutable in ANT and so
you can shorten (actually eliminate) the
check on the registry.cache.dir and just make it:
because if registry.cache.dir is already set to any
v
Hello Martin,
Martin Senger wrote:
>My task is (shortened):
>
> classpathref="moses.build.classpath" fork="true" failonerror="true">
>
>
>
>
>
>Before invoking it I set an empty value to ${registry.cache.dir} unless it
>is already set:
>
>
>
>
>
>
>
This (condition task invocatio
My task is (shortened):
Before invoking it I set an empty value to ${registry.cache.dir} unless it
is already set:
If the value is indeed empty, I would expect that my java class gets three
command-line arguments like this:
-cacheDir "" -s
And, indeed, it does - but onl
This is a "generic" error message that indicates
something went wrong on the server side (I believe)
You may want to start the server Ant process with
verbose (-v) or debug (-d) and re-run the client
request and hopefully you will see some diagonstic
output.
Sorry I can't be any more helpful,
Ni
Did you get a response to your problem??
--- Scott Bell <[EMAIL PROTECTED]> wrote:
>
>
> Problem statement:
>
> I have a number of simple tcl scripts, and they take
> a set number of params
> as input (argv). Usually 1-10 params. They can all
> run standalone, but have
> dependencies. ANT
Brian,
There is a bug for the output issue also...
http://issues.apache.org/bugzilla/show_bug.cgi?id=36302
I have not yet made the change that Atsuhiko Yamanaka suggested. If you
have, and it works, please create a patch and attach it to the bug
mentioned above. Also vote for it please.
Thanks
Please explain exactly what you are trying to do in
terms of Ant XML; i.e. provide an example.
-Matt
--- [EMAIL PROTECTED] wrote:
> Well, I've tried location but even if the input
> property is an absolute
> path like /usr/tmp, Ant will append basedir and
> create a property
> /my/basedir/usr/tm
Hello Michael,
not exactly sure why there is this handle problem.
you might want to try - supposing you are working with ant 1.6 and that
there is a ssh daemon on the host where you want to execute something
remotely - the sshexec task.
Otherwise, there are a and a task in ant.
Cheers,
Antoi
junit.jar needs to be in ant/lib or ~/.ant/lib (iirc), or in the system
CLASSPATH env var.
alternatively, you can repackage the ant junit supplied task to be in a
different namespace/package than the ant supplied one. (for example,
external.org.apache...). this will let you package the junit.ja
I cast my vote.
Also, in order to get the sshexec output correct, I made the change to
TeeOutputStream that Atsuhiko Yamanaka suggested. Did you make that
change to your code, too? Has a bug been created for this change?
Now, if the ant developers would just add redirector support to the
sshexec
Hi,
i've found a working solution with antcontrib
i'm using now instead of =
and that works :-)
Gilbert
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 11:26 AM
To: user@ant.apache.o
Hi,
i want to run an antcontrib for loop only,
if a property has been set.
So i wrote =
but that didn't work.
How to check if a property has been set in
conjunction with a foor loop ?
Regards, Gilbert
---
12 matches
Mail list logo