I had made a successful, working hack to the DSS.BAT to launch Rhino with the addtioin of my own jar as follows:
...
java.exe -Xms40m -Xmx384m -cp !RHINO_JAR!;C:\andrew\hello_GenericC66xxDevice\Release\od.jar;;!SCRIPTING_JARS!;!DVT_SCRIPTING_JAR! !RHINO_SHELL! %1 %2 %3 %4 %5 %6 %7 %8 %9
...
However, DSS.BAT now insists on launching with eclipsec.exe and not java.exe.
I don't know what in my CCS5 environement has changed for this to happen.
Here is the cmd.exe output from DSS.BAT:
...
C:\ti\ccsv5\ccs_base\scripting\bin>if 1 == 1 (!DEBUGSERVER!\..\..\eclipse\eclipsec.exe -nosplash -application com.ti.ccstudio.apps.runScript -dss.debug -dss.rhinoArgs "C:\andrew\hello_GenericC66xxDevice\bat\..\js\release_ed5b.js" )
else (!DEBUGSERVER!\..\..\eclipse\eclipsec.exe -nosplash -application com.ti.ccstudio.apps.runScript -dss.rhinoArgs "-dss.debug C:\rio_c66xx_standalone_ccs5\hello_GenericC66xxDevice\bat\..\js\release_ed5b.js" )
Loaded FPGA Image: C:\ti\ccsv5\ccs_base\common\uscif\dtc_top.jbc
...
Notice that my .jar file is no longer provided to Rhino. ( "C:\andrew\hello_GenericC66xxDevice\Release\od.jar" ).
Of course my script fails since Rhino can't find my classes in "od.jar".
I want to start Rhino with the addtion of my .jar files.
I know from the Hotspot documentation that if java.exe is called with -cp for rhino, that Hotspot won't use the CLASSPATH.
So my question:
Now that eclipsec.exe is in play how do I now provide my own .jar files to DSS.BAT so that Rhino will see them?
Andrew