I see your point and I agree. Bad idea. Hey Matt, put on the brakes! :)
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 3:00 PM
To: Ant Users List
Subject: RE: PropertySet use in macro
> From: Dick, Brian E. [mailto:[EMAIL PROT
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> The fact that you can do something doesn't mean we
> should
> be doing it. Whatever you are trying to do you think
> needs
> such a hack, you'd better consider writing custom
> tasks for.
That's awfully hardline. :) One thing that did occur
to
The problem is the XML entity import, really just copies XML into your build file, so
it can only be ANT code snippets, not full ANT build files, so your sub_build.xml
should look like this:
MyName
-Original Message-
From: Sadaf_Choudhry [mailto:[EMAIL PROTECTED]
Sen
I'm seeing another problem with Ant 1.6.2 for a target that previously
worked in 1.6.1.
I have a test and functest target that I run during a single build (e.g.
'ant clean test functest dist'). The test targets rely on instrumenting
the code with jcoverage before the tests run, e.g.:
> From: Dick, Brian E. [mailto:[EMAIL PROTECTED]
>
> A target can do it. Why can't a macro?
No, a target cannot do it. A target does nothing beside
executing the tasks within.
Passing properties to sub-processes as properties is natural
and is an extensible way to pass in such properties, becaus
ant-contrib has some tasks that will do this.
-Matt
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote:
> Some core tasks, notably exec, can set a property
> that the calling
> target can use. Can I do this with antcall somehow?
>
>
--
Hi sadaf,
Try this example it works fine for me. u can use the
import task.
I have a build file from where I am calling a target
in another build file(a split), i found this example
in apache forrest, where I call the forrest build from
my build file.
someth
Ok,
I tried this..
I have a build.xml
%IncludeBuildEnv;
]>
&IncludeBuildEnv;
myName
It refers to a sub_build.xml, which is as below:
MyName
When I run the first build.xml, I get
$ ant
Buildfile: build.xml
BUILD FAILED
file:d:/testinclud