Ant error reporting issue when using XML log output through exec call

2006-12-13 Thread Robert Segal
Hi all I'm having trouble getting proper error feedback when running ant through an exec task that uses XML log file output. Here is my current setup Unfortunately when I run the task which encompasses this exec task it always returns success. Even if there are errors repor

RE: [ANT] use ant send mail in java code occur erro

2006-12-13 Thread heliquan
First, Thank you very much! I'm sure the user and password was right. By the error message, I read the ant source code and find execute() method in org.apache.tools.ant.taskdefs.email.EmailTask class was get an instance mailer by org.apache.tools.ant.taskdefs.email.MimeMailer or org.apache.t

Re: ant javac version question

2006-12-13 Thread Scot P. Floess
So I take it, it deleted the dirs containing class files? If so, is it still not working? glenn opdycke-hansen wrote: Good idea. I am from the "scorched earth" build school and the build script has the following before the compile: init: Setting project property: DSTAMP -> 20061211 Setting p

Re: ant javac version question

2006-12-13 Thread glenn opdycke-hansen
Good idea. I am from the "scorched earth" build school and the build script has the following before the compile: init: Setting project property: DSTAMP -> 20061211 Setting project property: TSTAMP -> 1438 Setting project property: TODAY -> December 11 2006 [delete] Deleting directory K:\bxnar

Re: ant javac version question

2006-12-13 Thread Scot P. Floess
I'd try removing all my class files and recompiling first. Just because you removed the JDK 1.5 - does that mean you rebuilt everything afterward? Otherwise you will still have 1.5 compiled versions of your class files. glenn opdycke-hansen wrote: ok, how could we be getting jdk 1.5 java co

Re: ant javac version question

2006-12-13 Thread glenn opdycke-hansen
ok, how could we be getting jdk 1.5 java compile? We removed (via control panel) the 1.5 jdk. could some file be lurking in c:\winxp or other folder? Below are parts of the log from the build: PATH=D:\Software\Java\j2sdk1.4.2_13\bin;D:\Software\Perl\bin\;C:\CYGWIN\bin;D:\CVSNT;D:\Perl\bin;D:\apa