Re: How to concat several files declared in an index file into one file?

2007-04-22 Thread Vladimir Kravchenko
Thank you, Scot. Finally, I've written my own class with void execute() method. I still think it is easier to maintain then a similar code in BeanShell. The class is still independent from Ant and can be used/tested outside of Ant. I didn't want my task requires some Ant tasks which are not part

AW: JUnit reports

2007-04-22 Thread Jan.Materne
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html "Testing the class" Jan >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 20:59 >An: Ant Users List >Betreff: JUnit reports > >How I may do with JUnit & JUnitRepor

AW: I want to ref to another build.xml and execute it

2007-04-22 Thread Jan.Materne
You could start another buildfile with these tasks: Jan >-Ursprüngliche Nachricht- >Von: Gilbert Rebhan [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 20. April 2007 20:21 >An: Ant Users List >Betreff: Re: I want to ref to another build.xml and execute it > >Hi, > >Denis Bessmertny

Re: What is $.. ?

2007-04-22 Thread Douglas McCarroll
Vincent wrote: You can try replace the first line to then try it again. Thanks Vincent. I've tried your suggestion and the explanation seems fairly simple. "$.." is simply a string, nothing more. Here's my understanding: [echo] $aaa So "$aaa" or "$.." are just string values?

Re: install and use apache-ant on linux

2007-04-22 Thread Tommy Nordgren
On 22 apr 2007, at 21.56, Michaël Parchet wrote: Hello, If these files is windows executables, were is the linux executable ? How to lanch ant on linux ?' Tanks for your help. Michaël I checked my Installation. The command is just ant, without any suffix, if the ant bin directo

Re: install and use apache-ant on linux

2007-04-22 Thread Martin Gainty
if your execution environment is bash shell then locate the sh equivalent bash>locate ant.sh which should be located at %ANT_HOME%/bin M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed

RE: install and use apache-ant on linux

2007-04-22 Thread Michaël Parchet
Hello, If these files is windows executables, were is the linux executable ? How to lanch ant on linux ?' Tanks for your help. Michaël > From: [EMAIL PROTECTED] > Subject: Re: install and use apache-ant on linux > Date: Sun, 22 Apr 2007 18:52:45 +02

Re: install and use apache-ant on linux

2007-04-22 Thread Tommy Nordgren
On 22 apr 2007, at 17.16, Michaël Parchet wrote: Hello, I tried to install the binary distribution so I have the following files in the bin directory of ant : ant.bat ant.cmd antenv.cmd antRun.cmd envset.smd lcq.bat runrc.cmd Wat have I to do with these files ? Which file have I to execu

RE: install and use apache-ant on linux

2007-04-22 Thread Michaël Parchet
Hello, I tried to install the binary distribution so I have the following files in the bin directory of ant : ant.bat ant.cmd antenv.cmd antRun.cmd envset.smd lcq.bat runrc.cmd Wat have I to do with these files ? Which file have I to execute to run ant ? I tried to execute each file of the bin

Re: How to concat several files declared in an index file into one file?

2007-04-22 Thread Scot P. Floess
On second thought, it may not be difficult if you use some of the ant-contrib targets like , and I think you can do it all in straight XML markup. Let me know if you need an example... Scot P. Floess wrote: You might check out the ant-contrib project's propertyregex for regular expressio

Re: How to concat several files declared in an index file into one file?

2007-04-22 Thread Scot P. Floess
You might check out the ant-contrib project's propertyregex for regular expressions (I don't think this will be the best route - will take somre work)... Or...I had a similar need where I wanted to replace the contents of -a file- (meaning only one file) where it had the text "http://some-url"

How to concat several files declared in an index file into one file?

2007-04-22 Thread Vladimir Kravchenko
Hi, I have a lot of small css files and one index file which imports all other using the following format: @import url("default.css"); @import url("default_behaviour.css"); @import url("default_form.css"); ... I would like to go through this file and replace lines @import url("*.css"); with actu