Re: AW: Checking for build.properties and properties upon initialization

2008-07-22 Thread Dimitris Mouchritsas
Dominique Devienne wrote: On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas <[EMAIL PROTECTED] What do you think? Why not simply Property log4j.lib.dir must be set Property log4j.jar must be set etc... And wrap this into a macro allowing to call as as ? Only difference is that y

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dominique Devienne
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas <[EMAIL PROTECTED] > What do you think? Why not simply Property log4j.lib.dir must be set Property log4j.jar must be set etc... And wrap this into a macro allowing to call as as ? Only difference is that you can't easily all the properties n

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dimitris Mouchritsas
Gilbert Rebhan wrote: Dimitris Mouchritsas schrieb: What I'd like to accomplish is checking if build.properties exists (which loadproperties ensures) and then check to see if a set of properties is set. If a property is missing I'd like to display a message with the name of the property missin

Re: AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Gilbert Rebhan
Dimitris Mouchritsas schrieb: What I'd like to accomplish is checking if build.properties exists (which loadproperties ensures) and then check to see if a set of properties is set. If a property is missing I'd like to display a message with the name of the property missing. What are your thoug

Re: AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Dimitris Mouchritsas
Knuplesch, Juergen wrote: Use the task from antcontrib, which makes things easier. Hmm, ok I've made it work But what I really want to know is: How can I check if a set of properties exists? My thoughts were to load a sample properties file like: but I can't get to comparing th

AW: Checking for build.properties and properties upon initialization

2008-05-21 Thread Knuplesch, Juergen
Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121 -Ursprüngliche Nachricht- Von: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Mai 2008 16:37 An: Ant Users List Betreff: Re: Checking for build.properties and properties upon initialization Dimitris Mouchritsas

Re: Checking for build.properties and properties upon initialization

2008-05-21 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Hi everyone. I'm trying to create a sample project to test if the build.properties file exists and if the required properties are set upon initialization. But I'm not quite sure if I use correctly the condition task. This is what I've come up with right now:

Checking for build.properties and properties upon initialization

2008-05-21 Thread Dimitris Mouchritsas
Hi everyone. I'm trying to create a sample project to test if the build.properties file exists and if the required properties are set upon initialization. But I'm not quite sure if I use correctly the condition task. This is what I've come up with right now: