Classpath issue with javac task

2009-06-17 Thread Zanzerkia, Robert
I am using Ant 1.6.5. The problem I am running into is that a wrong class is loaded. I have IBM RAD installed on the system and it is using the class from that directory tree. I have setup my own classpath in the build.xml and it does not include C:\IBM... entries. So how can I prevent javac pic

Re: Re: Re: Issue with javac task

2007-03-30 Thread Peter Reilly
On 30 Mar 2007 04:38:00 -, query <[EMAIL PROTECTED]> wrote: Hi, Thanks for your response. I had tried compiling java code with debug option enabled earlier. That was working fine. But I want to compile java source with debug option disabled. What may be the reason for the difference in cla

Re: Re: Re: Issue with javac task

2007-03-29 Thread query
  Hi, Thanks for your response. I had tried compiling java code with debug option enabled earlier. That was working fine. But I want to compile java source with debug option disabled. What may be the reason for the difference in class file size? Can you please let me know the reason? I am a n

Re: Issue with javac task

2007-03-26 Thread Peter Reilly
You need to set the debug attribute to "true" on the javac task. By default the debug attribute is "false", this corresponds (since I think ant 1.4) to -g:none. should give the same debug info as the default commandline javac. Peter On 24 Mar 2007 07:27:13 -, first last <[EMAIL PROTECTE

Issue with javac task

2007-03-23 Thread first last
  Hi, I am new to ANT. Currently, iam using ANT 1.7 and java 1.5.0 Earlier, I was compiling java files using command line javac.exe. Now, I am compiling java files using ANT javac task. Though the build is successful, I observed that the class files generated using ANT javac task is smaller in