parsing param in for each

2003-06-17 Thread Xiaohong Wang
Hi, In my for each loop, ${configs}="FooName1:FooType1,FooName2:FooType2", is there any way that when geteach task is invoked, I can only have FooName1, FooName2 passed as param, not the whole FooName1:FooType1. Appreciate any ideas! Thanks Xiao -

Different JDK in

2003-06-17 Thread Matthias P .
Hi, on my PC i am using the JDK 1.4. The JAVA_HOME is set to this JDK. In our project we should compile with Java 1.3. According to the docs I set the property build.compiler to java1.3. Compiling works, but how can i check that it is really compiled with 1.3? Thanks, Matthias -- +++ GMX - M

Automatic list all src files for depends list?

2003-06-17 Thread Faist, Jeff
Question, I managed to create a basic build and copy file to build an exe in ANT by reading the manual so far but it was not obvious to me how to create a source level depends list on the fly. I saw items like dirset, fileset and filelist but I'm not sure as to how to take that list and put it

properties in xml format

2003-06-17 Thread Dinakar
Hello: can someone give me small example of how to define properties in xml format. I am newbie to Ant. I know, in java format like name=value. Thanks /dinakar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Ant newbie

2003-06-17 Thread Faist, Jeff
Hey all! I'm new to ANT but far from a newbie to Make/build or SCM. We are mostly a PC ( VB VC++ Centura ), little java and AS400 server based product. We are now porting to HPUX and converting some of our PC projects to .NET which brings up the need for a better build system. Currently we have

Re: Ant newbie fun

2003-06-17 Thread Neil Walsh
Thanks for the reply. It's now working for one file, using name=value (ie ndtComponents=blah), but getting it's not working for multiple files (either comma or semi-colon seperated lists). If written in XML is the properties file structured the same way as the build.xml file? Thanks again, Nei

AW: Ant newbie fun

2003-06-17 Thread Jan . Materne
I think you´re trying to specify a fileset outside of the buildfile. For that you have to use XML-Entities. Jan > -Ursprüngliche Nachricht- > Von: Keith Hatton [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 17. Juni 2003 18:08 > An: Ant Users List > Betreff: RE: Ant newbie fun > > Y

RE: Ant newbie fun

2003-06-17 Thread Keith Hatton
Your properties should either be in Java properties file format (name=value) or XML format. The example you give below is neither. If that doesn't help, suggest you post the properties file and build.xml for us to look at. Hope this helps Keith -Original Message- From: Neil Walsh [mai

Ant newbie fun

2003-06-17 Thread Neil Walsh
Hi, I'm trying to specify a property file on the command line (ie ant -propertyfile properties.txt). So far my properites file has one line in it Running ant with debug on the following line is outputted Setting ro project property: id="ndtComponents" dir="NDTComponents/constant"> But furth

Re: Default settings for the javac task across multiple build fil es

2003-06-17 Thread peter reilly
I have some test code that implements a primitive "templating" facility for ant. Use myjavac the same as javac, except that the deprecation and debug attributes get set. The "templating" is very limited - it can only set attributes. Another way to solve this problem is to refactor java

ANN: xmltask 1.6.2

2003-06-17 Thread Brian Agnew
Version 1.6.2 of xmltask is out now. Changes in 1.6.2 include: * and operations can now store multiple nodesets * and operations can now record attribute /values/ In addition there are comments on running with JDK 1.4.2 (beta) See http://www.oopsconsultancy.com/software/xmltask.html xm

AW: Default settings for the javac task across multiple build fil es

2003-06-17 Thread Jan . Materne
I think I haven´t understood you right... Whith that approach you can specify global settings. The buildfiles load several propertyfiles. Because of the immutability of ant properties you can do something like: user and project specific settings project specific settings

RE: Default settings for the javac task across multiple build fil es

2003-06-17 Thread Schaaf, A.P. (Arjan)
That's not exactly what I want. With this approach if you need to add an extra option you would have to go through all the build files to add the extra option. What I'm trying to accomplish is to create a global set of options for the javac task and only add reference to that set when I use the jav

AW: Default settings for the javac task across multiple build files

2003-06-17 Thread Jan . Materne
Use a property file. E.g. %user_dir%\ant.properties javac.debug=true javac.deprecation=false and use that in your buildfiles Jan > -Ursprüngliche Nachricht- > Von: Schaaf, A.P. (Arjan) [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 17. Juni 2003 12:49 > An: '[EMAIL PROTECTED]' > B

Default settings for the javac task across multiple build files

2003-06-17 Thread Schaaf, A.P. (Arjan)
Hi there, I'm trying to get something sorted out, but I can't find a solution. I have multiple ant build files which all have a compile target using the task. What I would like, is to have the same settings (suchs as the deprecation and debug parameters) for the task without having to specify ea

Re: problem

2003-06-17 Thread Peter Jeszenszky
Hello Peter, On Tue, Jun 17, 2003 at 10:13:04AM +0100, peter reilly wrote: > I do not know what is wrong. But I have > had grief before using executable="x.sh". > Normally I do > > > > > > Peter Thanks for your reply but that does not help, the effect is the same. And the correct sy

AW: XSLT task question

2003-06-17 Thread Jan . Materne
I don´t no way without saving the result from step to step. But a little search on google with "xsl pipeline ant" find a nice article. Maybe you find some valueable infos there: http://www.xml.com/pub/a/2003/01/29/ant.html (I should read that, too) Jan > -Ursprüngliche Nachricht- > Von: M

Re: problem

2003-06-17 Thread peter reilly
I do not know what is wrong. But I have had grief before using executable="x.sh". Normally I do Peter On Tuesday 17 June 2003 09:29, Peter Jeszenszky wrote: > Hello, > > I would like to execute a shell script on Linux with > and to specify environment variables to pass to the script