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
Use the task from antcontrib, which makes things easier. -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40 D-70178 Stuttgart Fax. +49 711 806098-299 Geschäftsführer: Uwe Se