Hello all,
I would like to know which class belongs to the tag. I would like to
create a task that has the same functionality of with a few added
features.
I looked at the org.apache.tools.ant.taskdefs.Execute but when extending and
trying to use it in my ant build.xml file, it complained that i
org.apache.tools.ant.taskdefs.ExecTask .
HTH,
Matt
--- Antoine Solomon <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I would like to know which class belongs to the
> tag. I would like to
> create a task that has the same functionality of
> with a few added
> features.
> I looked at the
> org.a
Hello Antoine,
task is implemented in
org.apache.tools.ant.taskdefs.ExecTask.
You can see the mappings between task tag names (like
, ) and their implementing classes on
[1].
Regards
Ivan
[1]http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properti
I need to iterate a propertyset which lists a project's dependencies. It's
basically just a list of name/val pairs matching a 3rd party product (or open
source jar) with a version. I want to execute an Antcall or something of the
like to ask our jar repository for the proper jar file so the buil
Hmm... Ant 1.7 in combination with antcontrib is
designed to support this. Assuming you have to use
production releases, I would write either:
(a) a custom task to convert a property set to a list
or
(b) a custom type to wrap a PropertySet ps, with
public Iterator iterator() {
retu
Thanks for the link
On 11/11/05, Ivan Ivanov <[EMAIL PROTECTED]> wrote:
>
> Hello Antoine,
>
> task is implemented in
> org.apache.tools.ant.taskdefs.ExecTask.
>
> You can see the mappings between task tag names (like
> , ) and their implementing classes on
> [1].
>
> Regards
> Ivan
>
>
> [1]http
Matt,
Thanx for the reply. However I was looking for a more standard approach
avoiding antcontrib. I want my build to be as simple as possible without the
need to pile on a bunch of additional library code as I took the latter
approach before and wound up in a lot of trouble down the line. I gu
Before you completely reject all external tasks, you should at least
look at Ivy as it does exactly what you are describing (including
generation of tree reports showing dependencies).
http://www.jayasoft.org/ivy
Ben
-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED]
Sent:
I see you're using the ant-junit.jar file. That is the Ant Task wrapper for
Junit and you shouldn't need to reference it ordinarily. It's there to define
the JUnit task and doesn't include the JUnit core API. You need to include
junit.jar in Ant's CLASSPATH or in the CLASSPATH of an explicit tas
Ben,
Thanx for the tip. I looked at and downloaded Ivy. Looks like a glove fit for
what I wanted. I'm going to start simple and declare only external jar
dependencies at first. As I see need I'll grow my usage of Ivy. Could you
help me out with something relatively simple? I want to retreive a
How to test that an ant script fails appropriately? Specifically:
I'm working on a build app (a java app for building lots of different
things in lots of different places) that basically {creates, shleps,
invokes} ant scripts. I have a few JUnit tests on the app (and am
writing more). I'm hookin
Have you looked at the BuildFileTest class (part of the ant-testutil.jar) that
has some helpful methods to determine whether a build file fails for the
"right" reason.
My test methods are like:
public void testMissingInputDateFailure() {
expectSpecificBuildException("missingInputD
12 matches
Mail list logo