RE: Linux/Windows portability

2004-05-10 Thread Jan . Materne
I think I should make a FAQ entry :-) Create a property file for your platform specific configurations and use But be careful. I remember a discussion that on some win32 systems (nt/2k/xp - one of these) the value of os.name is not "windows" :-) Jan > -Original Message- >

Re: ANT ignoring command line argument

2004-05-10 Thread Matt Benson
First, try unsetting your CLASSPATH variable. If you actually need whatever you have in it, you can do it just for this CMD instance. Personally, I neither use nor advocate the use of a system-wide CLASSPATH. Usually that's the first thing anyone gets told to try since CLASSPATHs are notorious f

Re: ANT ignoring command line argument

2004-05-10 Thread Thomas Mitchell
I reviewed the ant.bat file and traced the execution through completion. ANT is being launched through :runAntWithClasspath and immediately preceding that line the %ANT_CMD_LINE_ARGS% variable is properly defined. All that is good news since the argument is being read, but I'm still cluless as

Re: ${ant.target}?

2004-05-10 Thread Jack Woehr
Dominique Devienne wrote: > > From: Jack Woehr [mailto:[EMAIL PROTECTED] > > > > Is there a built-in property for the current target's name, e.g., > > ${ant.target}? Seems logical but I can't find it in the manual. > > No. You can access it thru a though. --DD Thank you. I macroized your suggest

Re: ANT ignoring command line argument

2004-05-10 Thread Thomas Mitchell
I didn't think I did, but to make sure I checked. I did change the start-in directory for the command utility through the properties so that the command utility started up in my dev directory. I changed that setting back but the result remains the same. Really sort of annoying that I can't figu

Re: ANT ignoring command line argument

2004-05-10 Thread Matt Benson
I would probably start adding debug messages to the copy of ant.bat you -think- is being called (this presumes you're not using cygwin or anything)... we (I?) should probably think about adding the --execdebug option (available in the *nix script) to the batch file... -Matt --- Thomas Mitchell <[

Re: Linux/Windows portability

2004-05-10 Thread Peter Davison
Hi Bernd. I've always handled these kind of situations by overriding the necessary properties in a user specific file. For example: I create a file in my home directory called: .ant.properties Then I define a property file in the build.xml file: In that file - ".ant.properties" - you can ove

RE: Linux/Windows portability

2004-05-10 Thread Anderson, Rob (Global Trade)
Put the mysql-connector-java-3.0.11-stable-bin.jar in a directory that is relative to the build file. Your directory structure might look like this... build.xml lib/ mysql-connector-java-3.0.11-stable-bin.jar src/ com/ .../ Then you could set the property like this... Or anoth

RE: ${ant.target}?

2004-05-10 Thread Dominique Devienne
> From: Jack Woehr [mailto:[EMAIL PROTECTED] > > Is there a built-in property for the current target's name, e.g., > ${ant.target}? Seems logical but I can't find it in the manual. No. You can access it thru a though. --DD