Re: How to add mutable content to immutable build file

2006-06-19 Thread Robert r. Sanders
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.

Re: How to add mutable content to immutable build file

2006-06-19 Thread Scot P. Floess
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.

Re: How to add mutable content to immutable build file

2006-06-18 Thread Vitaliy S
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.

Re: How to add mutable content to immutable build file

2006-06-17 Thread Ben Stringer
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

How to add mutable content to immutable build file

2006-06-16 Thread Vitaliy S
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 -