Have a look at in the manual. Especially the last examples.
Jan
>-Ursprüngliche Nachricht-
>Von: Roedy Green [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 29. Juli 2005 05:48
>An: Ant Users List
>Betreff: Re: how to make hierarchical build possible with ANT?
>
>At 19:19 7/28/2005, you
Hi,
The fork option (to the java task) is creating a java process
outliving ant. Is it ok?
---
The specification of the "fork" option is:
if enabled triggers the class execution in another VM (disabled by default)
While the specification of the "spawn" states that:
if enabled allows to start
The dir attribute defaults to the current project's basedir, UNLESS
"inheritall" has been set to false. In other words, add
inheritAll="false" to your ant calls, and it should work. If you need
to pass properties already defined, then setup a propertyset, and add
that as a nested element to eac
At 19:19 7/28/2005, you wrote:
I have to create a directory structure for a project in which
one dir has many sub dirs.
now how to call build.xml of subdirectories from top level build.xml.
I have just been experimenting with that myself. Here is what I have
done so far:
The key in the
Hi,
I have to create a directory structure for a project in which one dir has
many sub dirs.
now how to call build.xml of subdirectories from top level build.xml.
I am using following code segment in top level build.xml to call subsystem
build.xml.
> I have an ssh task which executes a remote start command and I am
> trying to get the exit status using outputproperty. However I notice
> that the outputproperty value is not being set. Any Idea's? here is a
> part of my build.
>
> keyfile="${user.home}/.ssh/id_dsa" trust="true" command="
What version of SSH server is on the remote end ? I seem to remember this error
from something, but I don't think I saw it using the scp Ant task. It looks
like the fileset may be sending directories, and not just files. I would
suggest creating a zip or tar.gz with the fileset first. Then scp t
On 7/28/05, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Simon Chappell wrote:
> > On 7/27/05, Roedy Green <[EMAIL PROTECTED]> wrote:
> >
> >>The big problem with the Ant manual is the people who wrote it knew
> >>too much. I can see various ways to make it more intelligible to the
> >>first timer:
I'd be dangerous if I was clever. This was meant to go to the list,
not just to Jay. I may not be a newbie, but I can act like one
somedays. :-)
-- Forwarded message --
From: Simon Chappell <[EMAIL PROTECTED]>
Date: Jul 28, 2005 10:11 AM
Subject: Re: Improving the manual
To: Jay Bu
Simon,
While I think we're generally saying the same thing, I think a lot of people
agree with Roedy on this one. Maybe if you've been using Ant for a while,
everything's clear and the current docs work for you. But coming in as a
newbie, I believe there's more that could be done to reduce the l
Simon Chappell wrote:
On 7/27/05, Roedy Green <[EMAIL PROTECTED]> wrote:
The big problem with the Ant manual is the people who wrote it knew
too much. I can see various ways to make it more intelligible to the
first timer:
Well, I actually like the Ant manual just the way it is. I find it
ve
On 7/27/05, Roedy Green <[EMAIL PROTECTED]> wrote:
> The big problem with the Ant manual is the people who wrote it knew
> too much. I can see various ways to make it more intelligible to the
> first timer:
Well, I actually like the Ant manual just the way it is. I find it
very useful and I get pr
--- Patrick Martin <[EMAIL PROTECTED]> wrote:
[SNIP]
> I want my listener to be notified on BuildFinished
> event, even if
> created in a subproject.
> The only solution I see is to be able to add a build
> listener to the
> main project from a subproject task. But I don't
> know if that's
> possib
Yes, that's what I saw.
. BuildFinished event is not raised by subproject, only by main
project. Only BuildListeners added to the main project will receive
it.
. A listener that is created in a subproject cannot listen to
BuildFinished event as it won't be registered in the main project.
. SubBuild
Try reading this: http://ant.apache.org/manual/develop.html#buildevents
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Patrick Martin <[EMAIL PROTECTED]> wrote on 07/28/2005 05:34:54 AM:
> Hello,
>
> I am writing a task that
Thanks Ivan. That worked.
-S
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 10:36 AM
To: Ant Users List
Subject: Re: Hard relative pathname problem
Hello,
Have you tried defining properties for your paths using task
with location attri
Hi,
... forget my last two mails.
javac was set to failonerror="false" in a presetdef - oh boy
so every build was successful, even with hundreds of compileerrors.
Now with failonerror="true" for javac/cvs , it's working better ;-)
Gilbert
-Original Message-
From: Rebhan, Gilbert [ma
My other solution is to add the BuildListener to the main project. But
I did not find yet how to get its instance when being run from a
subproject.
On 7/28/05, Patrick Martin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> if I understand well, all BuildListeners set in the main project will
> be transfered
Hi,
is there a possibility to catch messages like f.e. =
cvs [server aborted]: no such tag
sl_05_01_27_bla
or
Compile failed
means messages that appear on the stdout, when running a buildscript ?
Using the xmllogger is no option, as the logfile is written after build
has finished.
I want to
Hi,
if I understand well, all BuildListeners set in the main project will
be transfered to each subproject.
My problem here is that I want to add a BuildListener inside the
subproject. As this BuildListener is not referenced in the main
project, it does not get notified when the build finishes.
I
On Wed, 27 Jul 2005 10:18:14 -0700, Roedy Green wrote:
IMHO the right place to start this is the wiki, especially since everyone
can right now start to contribute, there are no obstacles. Whether the
content created there is then incorporated into the docs or not is not so
important, HAVING the
Hi,
i'm doing a checkout of several modules in cvs via =
...
...
...
Modul = ${_module} mit Mainlinetag = ${mainlinetag}
Modul = ${_module} in Version = ${tag}
Problem = that script runs und
Mmh - maps [1] to org.apache.tools.ant.taskdefs.CallTarget [2].
The execute() method doesnt do any event delegating. So the init() could have
something:
82 : public void init() {
83 : callee = new Ant(this);
84 : callee.init();
85 : }
The transfer of the BuildListeners is don
Hello,
I am writing a task that runs tasks in background and listens to build
events in order to make sure background threads finish before the
build ends (as suggested in [1]).
The trick works perfectly well when running the task in the main
project, but I never get the BuildFinished event when
24 matches
Mail list logo