I'm not using 1.7 (yet), but the latter seems easy enough. I was
thinking along those lines a bit but it was too simple. :)
Thanks!
/Marcus
Peter Reilly wrote:
You have got to set the location and the target attributes of
the import task, in ant 1.7 there is a utility method bindToTask
to do
You have got to set the location and the target attributes of
the import task, in ant 1.7 there is a utility method bindToTask
to do this.
task = project.createTask("import");
task.bindToOwner(self);
task.setFile("import.me.xml");
task.execute();
However, you are using beanshell,
(I couldn't find anything in the mail-archives, nor on google, on this,
so I'm asking here. It's my first post to this list and I haven't
subscribed it previously either.)
Hi all,
Short version: How to use from a custom task?
Long version:
I'm trying to make a custom import task that perfo