I am trying to do a headless build on the command line using the RunAntRAD.bat file, but the build errors out with an IOUtils error.
I am attaching the complete log. Any ideas on how I can troubleshoot the error.
When I run the same build script in my RAD7 workspace, it works fine, its only when I try to run the script using the RunAntRAD.bat file that the build fails.
Could someone please provide some feedback?
Pinned topic Headless Build - BuildForge/RAD7 Env - IOUtils Error
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-08-18T04:47:59Z at 2010-08-18T04:47:59Z by buildforge_user
SystemAdmin 110000D4XK805 Posts
Re: Headless Build - BuildForge/RAD7 Env - IOUtils Error2010-08-17T18:07:56ZThis is the accepted answer. This is the accepted answer.From the log, seems you have some third-party plug-in from Instantiations, which has a dependency on the Apache commons library.
projectBuild at com.instantiations.assist.eclipse.junit.editor.core.TestCaseSourceDescriber.describe(TestCaseSourceDescriber.java:86)"
You probably need to add its location to your CLASSPATH .
buildforge_user 270003DS272 Posts
Re: Headless Build - BuildForge/RAD7 Env - IOUtils Error2010-08-18T04:47:59ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Thanks for your response. I believe the error relates to the IOUtils class in the commons-io.1.4.jar and the editor.jar for the instantiations plugins.
I put both of these in the classpath in the .bat file and also in the "Environment Variables" of the machine that I am running it on from the command line
classpath is " D:\BF_COB\UI\i276663\COBUtilityManager_ear\lib\commons-io-1.4.jar;C:\IBM\SDP70\plugins\com.instantiations.assist.eclipse.junit.editor_5.0.0\editor.jar
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\I276663\Application Data
The issue remains and I still get the same error. Please advise.