AW: compiling Java 1.1 projects [was: two diff't JDKs]

2003-10-29 Thread Antoine Levy-Lambert
Hi Erik, I did not look at this bit of code, but I am confident that generally you can run javac with fork="true" and use the executable that you have set as attribute of the javac task (for instance have ant run under 1.4 VM and compile with the 1.3 compiler). Can you try fork="true" compiler="j

Re: compiling Java 1.1 projects [was: two diff't JDKs]

2003-10-29 Thread Erik Price
--- Antoine_Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hi Erik, > > you are absolutely right. If fork="no" and compiler="classic", then > the > compiler of the current runtime will be called with 1-1 style > switches. > > So something must be done to the code so that the 1-1 compiler can be > cal

Re: Doubt in using ENTITY

2003-10-29 Thread Stefan Bodewig
On Tue, 29 Oct 2002, vikramjit singh <[EMAIL PROTECTED]> wrote: > In my properties file, if i make the xml well formed Entity includes and well-formed XML don't match up very well. See in Ant 1.6beta for a better solution. Stefan ---

Re: "executable" attribute in "exec" task

2003-10-29 Thread Stefan Bodewig
On Tue, 28 Oct 2003, Chen Becky <[EMAIL PROTECTED]> wrote: > Then I found out related path doesn't work for "executable" > attribute. Unless you set vmlauncher to false, that is. If you use Ant 1.6beta, it would work if you set the resolveExecutable attribute to true as well. > My questions are

compiling Java 1.1 projects [was: two diff't JDKs]

2003-10-29 Thread Antoine Levy-Lambert
Hi Erik, you are absolutely right. If fork="no" and compiler="classic", then the compiler of the current runtime will be called with 1-1 style switches. So something must be done to the code so that the 1-1 compiler can be called with fork="true" and a current runtime java >= 1.2 Particularly pa

Re: Dirset selectors?

2003-10-29 Thread Bruce Atherton
Adam Mlodzinski wrote: Unfortunately, my original question (how do you get a of directories based on the presence of a file (or other directory) within that directory?) still stands. I'm afraid the answer is that you need a new selector, a combination of a type selector and a filename selector. I