I trying to port the current build process to team city 4.5.3. We have our own build component which compiles and creates jar files, this is created in java and I intend to use this as is using command line runner feature of team city. When I try to invoke this component from batch file passing some parameters, the build hangs. Debugging it further reveals that build component use some native libraries and system hangs while loading them using System.loadLibrary(). The details of command line runner configuration is
Working directory : <Directory under which build component is installed>
Command executable : <batch file which invoke java class of build component>
Command parameters : <parameter to the batch files>
The batch file inturns do
"C:\Program Files\Java\jdk1.6.0_03\bin\java" -classpath "%USERPROFILE%";jars\<Jar List> <main-class> %*
I am logged on to the system as one of the user "gjoshi'