Hi All,
I am trying to execute a build file in verbose and debug modes. I am getting
messages of the type,
Property "component.key" has not been set
even though in target "private-init" of the build file, I am setting the
value of variable, component.key.
I am attaching my build file
http://ol
Sorry, the code i posted above has some typos. Here's the correct one:
import java.util.ArrayList;
import java.util.List;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.DataType;
public class MyTask extends Task {
private List thing
Jan,
Thanks for the help.
Following your suggestion, this is what I have:
public class MyTask extends Task {
private String a;
private String b;
private List things = new ArrayList();
public void execute() {
for (String t : things)
System.out.println (t)
On 2010-02-04, wrote:
> Is there an uncab task for ant?
None that I was aware of.
> I could execute cabarc myself but that seems so... messy
Hide the in a to feel better ;-)
> I figured it'd be really easy to figure out how to write a task if I
> downloaded the source, if I used cab.java an
-Original Message-
From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de]
Sent: Friday, February 05, 2010 10:59 AM
To: user@ant.apache.org
Subject: AW: entities ?!
/*
is not a XML function it is an Ant task.
The imported content is parsed by Ant and evaluated as Ant 'thin
is not a XML function it is an Ant task.
The imported content is parsed by Ant and evaluated as Ant 'things'.
XML entities are available only in the specified file itself.
So use external defined entities and refer to that file (instead of )
http://ant.apache.org/faq.html#xml-entity-include
Ja
Hi,
want to use some entities, works with =
...
...
]>
[..]
Now i want to put it in my commons.xml and use
i put it in commons.xml before =
...
...
]>
...
but it didn't work.
What's the correct way to use entities with import ?
Any hints ?
Regards, Gilbert
--