AW: How to use variable within a variable in ant?

2009-03-19 Thread Jan.Materne
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property Jan >-Ursprüngliche Nachricht- >Von: Document [mailto:ddocum...@gmail.com] >Gesendet: Freitag, 20. März 2009 01:41 >An: user@ant.apache.org >Betreff: How to use variable within a variable in ant? > >Hi, >I want to use a v

How to use variable within a variable in ant?

2009-03-19 Thread Document
Hi, I want to use a variable within variable scenario. For eg. Now I want to use something like ${${var1}} to retrieve ${somevar}. How do I do it? On unix shell, eval works fine but when I try ant exec task to run eval, it doesnt recognize the command. Thanks

RE: Ant Javac Target Attribute Issue

2009-03-19 Thread vorpalarrow
Thank you for your help. Although, I waisted space on the forum talking it out helped me find my problem. vorpalarrow wrote: > > inheritAll was set to false. my mistake. Its a multi-level build file so I > missed one javac call which caused the error. > > > > -- View this message in conte

RE: Ant Javac Target Attribute Issue

2009-03-19 Thread vorpalarrow
Yes, that is what I did. However, it doesn't work. Thats why I'm puzzled. The classes still have the 1.6 version information in them. I've talked to several developers that use ant regularly and no-one has been able to help me. Martin -- View this message i

RE: Ant Javac Target Attribute Issue

2009-03-19 Thread Martin Gainty
Martin __ Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede u

Ant Javac Target Attribute Issue

2009-03-19 Thread vorpalarrow
I am using: jdk 1.6.0_11 ant 1.7.1 And I want to target 1.5. However, using the target attribute below in my build file still generates "1.6 version" classes. I've tried adding the source="1.5" and the bootclasspath="" to the 1.5 jar files and forking the 1.6 javac just in case. The only thi

Killing a forked task when sending SIGINT?

2009-03-19 Thread Francis Galiegue
Hello, We want to optionally launch a debugger on junit testing. We do this by invoking the task as such: The problem is, whether Java 1.4 or 1.5 is used (1.4 is 1.4.2_19 and 1.5 is 1.5.0_10, both from Sun), if I type C-c at the com