Re: Using multiple if on target element

2005-03-15 Thread Ronen Mashal
You don't have to write a target but you will have to use the task to set a third property. Use the nested elements in the . The task can be used outside of a target. It will be evaluated before any target is executed. Ronen. Antony Paul <[EMAIL PROTECTED]> wrote on 03/15/2005 12:14:07 PM: >

Re: how can we find which jre home is in use by ant script?

2005-03-14 Thread Ronen Mashal
${java.home} Ronen. IndianAtTech <[EMAIL PROTECTED]> wrote on 03/14/2005 02:16:11 PM: > Hi All, > > how can we find which jre home is in use by ant script? > > Thanks > Sudhakar > > - > To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: launching Ant from a perl script

2005-03-10 Thread Ronen Mashal
The problem is not that ant uses a .bat file, it is that the .bat file uses 'setlocal' and 'endlocal' statements which causes the system to restore old system values, including errorlevel !! Even if you try to call the ant.bat file from another .bat file, you'll get errorlevel set to its previous v

Re: ANT and symantec java compiler

2005-02-23 Thread Ronen Mashal
>Stefan Bodewig <[EMAIL PROTECTED]> wrote on 02/23/2005 04:22:05 PM: > On Tue, 22 Feb 2005, Ronen Mashal <[EMAIL PROTECTED]> wrote: > > > I need to compile a piece of code with SJ. > > I didn't it still exists. We kept it so customers that insist on using

How can I dump a fileset to a file?

2005-02-22 Thread Ronen Mashal
I want to create a file listing files in a fileset, like the response file created for the javac task. How can I do that? Ronen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ANT and symantec java compiler

2005-02-21 Thread Ronen Mashal
I need to compile a piece of code with SJ. It works fine when I compile with debug information but when I set debug="false" ANT puts "-g:none" on the command and this is not valid for SJ. Does anyone know how to fix/workaround this? Ronen.

ClassConstants filterreader fails with IOException

2005-02-16 Thread Ronen Mashal
Hello, I'm trying to use the classconstants filterreader to read the a class file but it fails with a IOException. I tried removing some of the constants and at some point I found that I can successfully read the file. Is there a limit to what classconstants can read? I'm using ant 1.6.0, but I a

ClassConstants filterreader fails with IOException

2005-02-15 Thread Ronen Mashal
Hello, I'm trying to use the classconstants filterreader to read the following file class file - (See attached file: Ini.class) (This its source - (See attached file: Ini.java)) but it fails with a IOException. I tried removing some of the constants and at some point I found that I can successfull