Re: Run an ant task for each file in a directory

2008-11-07 Thread Tassilo Horn
Stefan Bodewig <[EMAIL PROTECTED]> writes: Hi Stefan, >> What I really want is to execute the given `java' task for each and >> every *.tg file in ${schema.dir}/. How would I do that? > > You can use and set up the java command line correctly, > something like Thanks, that did the trick! Bye,

Re: Run an ant task for each file in a directory

2008-11-06 Thread Tassilo Horn
Mark Salter <[EMAIL PROTECTED]> writes: Hi Mark, >> Yes, it looks like it would do. But I think I cannot force everybody >> working on that project to install ant-contrib... > > It might be easier than getting them to install something else? > > The installation ( http://ant-contrib.sourceforge.

Re: Run an ant task for each file in a directory

2008-11-06 Thread Tassilo Horn
Mark Salter <[EMAIL PROTECTED]> writes: Hi Mark, >> What I really want is to execute the given `java' task for each and >> every *.tg file in ${schema.dir}/. How would I do that? > > Ant-contrib has a Foreach task, perhaps that will do you? Yes, it looks like it would do. But I think I cannot

Run an ant task for each file in a directory

2008-11-06 Thread Tassilo Horn
Hi all, currently I have this target in my ant file: --8<---cut here---start->8--- generateschema started generateschemas finished --8<---cut here---end--->8--- What I really w