Re: How to get the count of the number of lines in a file using ANT

2007-10-08 Thread Prashant Reddy
checkout the filterchains: http://ant.apache.org/manual/CoreTypes/filterchain.html On Mon, 2007-10-08 at 15:20 -0700, Saladin Sharif wrote: > I have a txt file and would like to get the count of the number of lines in > that file, and then store that count into a property. > > I mean something

Re: My first build with ant failed

2007-10-08 Thread Vijay Aravamudhan
Your target for compile is incorrect. It should read: You are missing " in two places. hth, Vijay Mohammad Khan wrote: below is the part of my build.xml

Re: My first build with ant failed

2007-10-08 Thread Rob Seegel
Mohammad Khan wrote: Look more closed at the quotes on your srcdir (and destdir) attributes. Add a closing to the first, and an opening set to the second. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

My first build with ant failed

2007-10-08 Thread Mohammad Khan
below is the part of my build.xml ant returned: BUILD FAILED srcdir "/home/user/project/src destdir=/home/user/project/bin" does not exist! I see both src and bin

Re: using ANT to check for any code changes in CVS

2007-10-08 Thread Kevin Jackson
Hi, > I am trying to automate my ANT build script, and incorporate a check in my > build.xml that checks if there were any code changes made to CVS since the > last time the build ran. If there are any code changes then ANT gets the > latest CVS code changes and then runs the build. Otherwise

How to move invalid XML files to another folder

2007-10-08 Thread Mario Madunic
Hi, I'm using the following to validate thousands of XML files and want to move off any that are invalid to another folder for further parsing or update XSLT. Any help will be appreciated. Thanks Marijan (Mario) Madunic ---

using ANT to check for any code changes in CVS

2007-10-08 Thread Saladin Sharif
I am trying to automate my ANT build script, and incorporate a check in my build.xml that checks if there were any code changes made to CVS since the last time the build ran. If there are any code changes then ANT gets the latest CVS code changes and then runs the build. Otherwise, it doesn't

How to get the count of the number of lines in a file using ANT

2007-10-08 Thread Saladin Sharif
I have a txt file and would like to get the count of the number of lines in that file, and then store that count into a property. I mean something equivalent to the unix command: cat file_name.txt | wc -l Can this be done using an existing ANT task? Thanks, -Saladin ___

user input

2007-10-08 Thread ahnf
Hi, We just upgrade from ant 1.6 to 1.7 and collecting some user input from a script no longer works We have a bash script which collects input via our bash script works like this ant targetName << END param1 param2 END the new version of any just seems to ignore this input, before with 1.

Re: How to include multiple source branches in javac task

2007-10-08 Thread Alexis Votta
No, I haven't. How can I use it? On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote: > Hi > > Have you tried the Includesfile attribute in Javac task? > > Regards > Sunil Prabhakaran > > On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote: > > This is how my javac task looks right now. > > > >

Re: How to include multiple source branches in javac task

2007-10-08 Thread Sunil Prabhakaran
Hi Have you tried the Includesfile attribute in Javac task? Regards Sunil Prabhakaran On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote: > This is how my javac task looks right now. > > destdir="${build.classes.dir}"> > > > > > I want to move the include names to a p

How to include multiple source branches in javac task

2007-10-08 Thread Alexis Votta
This is how my javac task looks right now. I want to move the include names to a properties file, so that my javac task looks like:- This will help me to put all the includes at one place in the properties file like this:- src.includes = UIManager.java:

Padmaja Kunapareddy/Lexington/IBM is out of the office.

2007-10-08 Thread Padmaja Kunapareddy
I will be out of the office starting 10/08/2007 and will not return until 10/09/2007. For any CQ Patch issues/questions, please contact Ed Hayes For any CQ 7.1 issues/questions, please contact Sandy Roschelle or Ed Hayes for any other Management issues please contact Ed Hayes Thank You & Hav

Re: How to include a single Java file in javac task?

2007-10-08 Thread Prashant Reddy
Try : On Mon, 2007-10-08 at 16:20 +0530, Alexis Votta wrote: > Currently, my compile target is as follows. > > > > > > > So, it compiles everything in ${src.dir}. > > Apart from this I want to add one single Java file to be compiled. > Therefore, I want: > > 1. All Java f

How to include a single Java file in javac task?

2007-10-08 Thread Alexis Votta
Currently, my compile target is as follows. So, it compiles everything in ${src.dir}. Apart from this I want to add one single Java file to be compiled. Therefore, I want: 1. All Java files in ${src.dir} to be compiled. 2. rt/src/Crypto.java to be compiled. How can I do this?

Re: AW: Showing current classpath Ant is using in Build executing state

2007-10-08 Thread Steve Loughran
Knuplesch wrote: Hello, Depending on the task you use, you can define a lot of classpaths. I usually use the classpath or classpathref attribute to set the classpath e.g. for the javac task. The question is: For which task you need the classpath and how do you set the classpath?? This is how

AW: Showing current classpath Ant is using in Build executing state

2007-10-08 Thread Knuplesch , Jürgen
Hello, Depending on the task you use, you can define a lot of classpaths. I usually use the classpath or classpathref attribute to set the classpath e.g. for the javac task. The question is: For which task you need the classpath and how do you set the classpath?? This is how i trace the classp