So what you really want to do is "include" a 2nd file into the main ANT
build?
Look at the "Import" task from the Ant manual. You could even use the
first bit of your build to validate/create a "proper" snippet from
somewhere else and then import it so your users can have a simplier syntax.
Have you considered ?
Look at the example You will see a
child... I think this is what you are wanting to do...
Vitaliy S wrote:
Hello Ben,
I want to let users to change content of task in my ant file but don't
want
to let them change the file it self.
e.g.
Hello Ben,
I want to let users to change content of task in my ant file but don't want
to let them change the file it self.
e.g.
On Fri, 2006-06-16 at 18:54 +0300, Vitaliy S wrote:
> Hello,
>
> I have target with a task supporting subtasks
> e.g
>
>
>
>
>
>
>
>
> the content of task may be changed but the rest file is immutable.
> I want to store mutable content in seporate file.
> What is th
Hello,
I have target with a task supporting subtasks
e.g
the content of task may be changed but the rest file is immutable.
I want to store mutable content in seporate file.
What is the best way to do it?
Regards,
Vitaliy S
-