Re: Read property based on another property

2009-03-13 Thread Gilbert Rebhan
Daniel Modin schrieb: > Hi! > I want to read a property based on another property. [...] there's also a hack via task from antcontrib, see = http://marc.info/?l=ant-user&m=121318477419672&w=2 Regards, Gilbert - To unsubscribe

Re: IvyDE - Is it possible to have it download sources & javadocs?

2009-03-13 Thread Nicolas Lalevée
Le 13 mars 09 à 17:26, Kent Larsson a écrit : It's "Ivy 2.0.0 (20090108225011) -- IvyDE 2.0.0.beta1" and I'm using Eclipse Ganymede. It's the same for all libraries under ivy.xml [*], they all have an empty Javadoc location and some have source filled in (the ones who has source). Yet it works,

Re: if and conditions

2009-03-13 Thread Robert Anderson
You can also use the if and unless attributes of the target to control certain behavior. On Fri, Mar 6, 2009 at 10:59 AM, Scott Stark wrote: > >The task is part of the AntContrib package which is available > >from http://ant-contrib.sourceforge.net/>. Task descriptions are from > >

Re: Problem with using the property task

2009-03-13 Thread Henning Lötsch
Hello Scott, look at: http://ant.apache.org/manual/CoreTasks/property.html Section "Property Files". your property file syntax is wrong. in your case the file vti-new.properties must look like this: component=vti Scott Stark schrieb: > I'm trying to import a set of properties from a property f

Problem with using the property task

2009-03-13 Thread Scott Stark
I'm trying to import a set of properties from a property file into my build when using the call. My property file looks something like this: My build file contains this target: The that it's calling (buildfile.xml) contains this target:. component name is ${compone

Ang. AW: Read property based on another property

2009-03-13 Thread Daniel Modin
OK, thanks Jan - i think i will follow your suggestion. 2009-03-13 14:26 Sänd svar till "Ant Users List" Till Kopia Ärende AW: Read property based on another property >In file "deploy.properties" i would like to have properties for deploy >directories for different test environme

Re: AW: Ant & patching XML files

2009-03-13 Thread Klaus Malorny
On 05/03/09 10:04, jan.mate...@rzf.fin-nrw.de wrote: see http://marc.info/?l=ant-user&m=123255143025824&w=2 Jan Hi, as this is the one I mentioned in my e-mail, this means there is no alternative? Regards, Klaus - To unsu

Re: ivy:resolve appears to ignore 'type'

2009-03-13 Thread Alan Chaney
Tom Widmer wrote: Alan Chaney wrote: I have a setup with a chain repository which has a repository for jar files used to build a set of war files (using a number of different permutations). I publish the jar files into one element of the chain and the war files into another. The war files are

AW: Read property based on another property

2009-03-13 Thread Jan.Materne
>In file "deploy.properties" i would like to have properties for deploy >directories for different test environments: >deploy.dir.ft = ft/stage/2 >deploy.dir.st =st/stage/2 >deploy.dir.pt =st/stage/2 >deploy.dir.pr=pr/stage/1 > >Then i want to read the deploy directory for the current >testenviro

Read property based on another property

2009-03-13 Thread Daniel Modin
Hi! I want to read a property based on another property. FOR EXAMPLE: In file "deploy.properties" i would like to have properties for deploy directories for different test environments: deploy.dir.ft = ft/stage/2 deploy.dir.st =st/stage/2 deploy.dir.pt =st/stage/2 deploy.dir.pr=pr/stage/1 Then