To selectively compile a single JAVA file, you can integrate a custom compilation script into the Workshop IDE by declaring the custom script as an "external tool". You can then pass single JAVA files from the IDE to the custom script.
<component name="workshop.workspace.tools.CustomToolAction"> <node name="javac"> <option name="capture" value="true" /> <option name="command" value="compile.cmd "${file.path}"" /> <option name="directory" value="C:\build_scripts" /> <option name="interactive" value="false" /> </node> </component>
set PATH=D:\jdk1.4.2_04\bin; set CLASSPATH=MyClasses set CLASS_DIR=C:\bea\weblogic81\samples\workshop\SamplesApp\WebApp\WEB-INF\classes javac -d %CLASS_DIR% -classpath %CLASSPATH% %1 echo compiled %1 popd
To compile a JAVA file, open the file in the Workshop IDE, and select Tools-->External Tools-->javac. The compile results will be displayed on the javac tab.