|
RE: How does CC invoke ant?: msg#00076java.cruise-control.user
>> 1) Do you have any sample config files/snippets that you can share? build.bat: set PROJECT_HOME=%~dp0 set ANT_HOME=%PROJECT_HOME%tools\ant %ANT_HOME%\bin\ant.bat %* config.xml: <ant antworkingdir="projectDir" antscript="c:/path/to/projectDir/build.bat" target="cc-target" /> >> 2) Why does my browser (IE on a W2K machine) pop open >> when I used antscript & NOT when I use buildfile? probably something either with your antscript path/name or its contents. You can use DEBUG to see exactly the command-line CC is using and then see if you can reproduce the result at the command-prompt. >> 3) Also, I only get the following when using antfile: >> 2003-12-18 10:58:08,000 [BuildQueueThread] ERROR Project - >> exception attempting build in project Lawson-Developer-Studio >> net.sourceforge.cruisecontrol.CruiseControlException: Error >> reading : D:\lawenv\LawsonPlatform\toolkit\skade\plugins\log.xml. >> Saved as : D:\lawenv\LawsonPlatform\toolkit\skade\plugins\ >> 1071766687984log.xml : skip value is negative the log.xml file doesn't have a <build element in the first 150 characters, meaning it probably isn't a valid ant log file. Again, if you run the same command as you see w/DEBUG you should be able to view the log.xml and see what it contains. one possible problem is that your antscript isn't passing all the command-line args to ant... Jtf ------------------------------------------------------- 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: How does CC invoke ant?, Mike . McGowan |
|---|---|
| Next by Date: | loading ANT propetyfile using JVMarg attribute, satyapal guduru |
| Previous by Thread: | RE: How does CC invoke ant?, Mike . McGowan |
| Next by Thread: | Alternating targets?, Jared Richardson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |