Hi
When I start the java console and type
print(env.getCurrentDirectory())
I get the output
C:\Program Files\Texas Instruments\ccsv4\eclipse
and
print(java.io.File(".").getCanonicalPath());
Gives me the output
C:\Program Files\Texas Instruments\ccsv4\eclipse
Can I use env or java.io to get the directory of my default project in the C/C++ Projects?
I'd like to know this so that I can set the java console directory path to the project for running scripts that use files in that directory to load variables.
So rather than giving "setCurrentDirectory" below an absolute path (as below),
env.setCurrentDirectory("d:/vws/Test/SpectralAvg/");
I'd like it derive the path from some fancy schmancy java command (or DSS command)
env.setCurrentDirectory("function_fancy_schmancy_goes_here");
Cheers