|
RE: Re: CC and javamake instead of javac: msg#00030java.cruise-control.user
You can create a new .xsl (or modify an existing one) to display messages from a different location in the log. A quick and dirty modification is to change compile.xsl line 46 from: <xsl:variable name="javac.tasklist" select="$tasklist[@name='Javac'] | $tasklist[@name='javac']"/> to <xsl:variable name="javac.tasklist" select="$tasklist"/> and line 47 from: <xsl:variable name="ejbjar.tasklist" select="$tasklist[@name='EjbJar'] | $tasklist[@name='ejbjar']"/> to <xsl:variable name="ejbjar.tasklist" select="/cruisecontrol/build//target/"/> This effectively changes compile.xsl from reporting compile errors and warning to showing ALL errors and warnings, which can be good. As I recall the javamake compile messages show up in target instead of the task, so if you want to limit this to just javamake errors you can modify the xpath appropriately. Jtf -----Original Message----- From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of nkumar@xxxxxxxxxxx Sent: Wednesday, December 10, 2003 1:57 PM To: cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx Subject: [Cruisecontrol-user] Re: CC and javamake instead of javac Hi, I am using CC 2.1.1 with Perforce. My HTMLEmailPublisher worked fine when we used javac to compile our app, but now that we switched to use javamake the email notifications fail to display the compile error. The compile error is displayed correctly in log.xml though. Can anyone suggest a fix for this? Thanks, Nate From: Ralph Jocham <rjocham72@xxxxx> <<...OLE_Obj...>> CC and javamake instead of javac 2002-08-22 13:00 Hi, in order to speed up the compilation and to see the deprecation warnings (you don't get them when you compile all the source) I tried using javamake from sun labs. (<http://www.experimentalstuff.com/Technologies/JavaMake/index.html>) To see the compile results I also changed the cruisecontrol.xsl to look for javamake and not javac. But, javamake though it shows some output on the console doesn't generate xml. That means the log xml contains 1 line from javamake and no additional informations like javac. Has anybody of you successfully used javamake or fixed that problem?? Ant 1.5 CC 1.2.1a Thanks, Ralph ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ... CC and Ant's Javadoc task ..., Greg Irvine |
|---|---|
| Next by Date: | Re: ... CC and Ant's Javadoc task ..., Randy Novick |
| Previous by Thread: | Re: CC and javamake instead of javac, nkumar |
| Next by Thread: | ... CC and Ant's Javadoc task ..., Randy Novick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |