Dewey, John wrote:
Hmm OK. I guess I'm a little confused now. I thought that the return
codes were determined by the operating system as the ant manual
http://ant.apache.org/manual/CoreTasks/exec.html said that error code 2
means 'no such program'. Is this meaning of error code 2 simply a
-- [EMAIL PROTECTED] wrote:
Could you set ANT_HOME without the last backslash?
That in and of itself was sufficient! Thanks very
much for the suggestion!
--Peter
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hello,
I'm using the Javac task programmatically to compile java source files.
Unfortunately, javac does not remove class files of java files that do
not exist (anymore). And pruning the destination dir is not a good
solution, because only the changed java files should be compiled - not
all
Hi,
I have following script in my build file.
!-- Update build history file --
target name=BuildHistory !--depends=Build --
echo message=Updating build history file... /
!-- check out the build history file --
cccheckout
I do not understand what ClearCase is complaining about, but I would
suggest using transparent views. With transparent views ClearCase does
not mangle files. The problem is that everybody should use the same kind
of views, otherwise you can get empty lines inserted after each line in
the text
On 23/08/05, Martin Burger [EMAIL PROTECTED] wrote:
Hello,
I'm using the Javac task programmatically to compile java source files.
Unfortunately, javac does not remove class files of java files that do
not exist (anymore). And pruning the destination dir is not a good
solution, because
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 is therefore perfect for them.
I have the params that I send to the scripts as named value pairs in
Could Apply/ExecOn be your solution?
On Aug 23, 2005, at 12:28 PM, Scott Bell 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 is
There are also scriptdef
(http://ant.apache.org/manual/OptionalTasks/scriptdef.html) and
foreach (http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html).
- Alexey.
Scott Bell wrote:
Problem statement:
I have a number of simple tcl scripts, and they take a set number of
params as
Petar Tahchiev schrieb am 23.08.2005 18:26:
What's wrong with the delete task?
Thanks for the hint. Want to delete file? - Use delete task! :-) After
reading the documentation second time I found the solution.
You need a delete task that contains a file set. That file set contains
a
This is a clearcase issue, not related to Ant.
-Rob A
-Original Message-
From: Karunakar Chatla [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 8:52 AM
To: Ant Users List
Subject: Errors on updating a filein ClearCase.
Hi,
I have following script in my build file.
I've looked around at this and understand the mechanisms that nat has for
extending types (via typedef) and tasks (via taskdef).
I have a condition where I want to use the propertyregexp task. I compile
using JDK1.2. I also have the apache regexp.jar. I have read on how to add
my own task
taskdef and typedef
(http://ant.apache.org/manual/CoreTasks/typedef.html) have classpath
attribute. You can execute it within a target or within ANT-Contrib's
if task in a global scope.
- Alexey.
Nestor Dutko wrote:
I've looked around at this and understand the mechanisms that nat has
for
I am not sure, what problem you are trying to solve. Somewhere there
should be a logic to include the jar or not. Can you move it outside of
ANT script? If no, you can create dummy task and taskdef it. Or you
can try to add your jar to classpath of some other innocent taskdef.
- Alexey.
I have a problem. I am remotely executing an ant script on another machine
from the local ant script using the telnet task. The problem is, once this is
run, I get no messages and warnings and such back, it just sort of runs on it's
own.
Does rexec and sshexec provide echo messages like the
the server and client for the ant-contrib seem to have no authentication
methods. isn't this a big security issue? are there better tasks that do a
similar thing but with authentication?
how does rexec work? Does that need a server too? Or does that use telnet?
does it provide feedback
Have you looked at writing cutom ant tasks? It maye help to handle some
of the messier details.
Barry
Scott Bell 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
I'm trying to use the Ant-Contrib's AntServer to listen for a RemoteAnt
command, but I'd like to run it like a daemon so it doesn't block other ant
tasks that want to run. Can anyone point me in the right direction?
--
Sent from the Ant - Users forum at Nabble.com:
If I get a failed build on the server side running AntServer, the RemoteAnt
(client side) will only receive a summary of targets called, plus the Build
Failed message. On the server side, I have a stack trace printed out from an
error, and I'd like the client to be able to see those messages
How do I shutdown the AntServer when the build has failed? I have a nested
after my remoteant is done sending runant commands, but if those commands fail,
the server is still blocking waiting for more. Does anyone know how I can shut
the antserver down if this is the case?
thanks
--
Sent
Hello,
I'm using the Javac task programmatically to compile java source files.
Unfortunately, javac does not remove class files of java files that do
not exist (anymore). And pruning the destination dir is not a good
solution, because only the changed java files should be compiled - not
all
21 matches
Mail list logo