Ant Tasks in Separate File.

J

John

I want to put some of my ant tasks into a separate file. Then have
them included during runtime. How can I do that?

John
 
G

Galen Boyer

I want to put some of my ant tasks into a separate file. Then
have them included during runtime. How can I do that?

XML entity includes is one way.

1.6.1 has the import task. I'm using this pretty heavily in my
work and it is quite useful.
 
M

Michael Borgwardt

John said:
I want to put some of my ant tasks into a separate file. Then have
them included during runtime. How can I do that?

with the <ant> task.
 
B

Bryce

I want to put some of my ant tasks into a separate file. Then have
them included during runtime. How can I do that?

If you are using Ant 1.6.x, you can just do:

<import file="myfile.xml"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top