I have a script that I run to test my java classes, and the script takes one required 
parameter - the name of the class.  I'd like to bind this to a key very similiar to 
the way that the JDE compile works.  The JDE compile executes the "cd" command, then 
executes "javac classpath <filename>".  I would like my test to execute the "cd" 
command (to my hard-coded 'test' directory, not the dir where the .java is), then 
execute my script "test.ksh <class name>"  (where the classname is the java file 
without the extension) and have the output displayed in a window (just like JDE 
compile).

So my questions are:
1)  is it easy to copy the JDE compile code and just change what I need?
2)  even for an Emacs rookie (me) who has never done this before?
3)  and once I copy the code, where do I need to put it so that I can invoke it?

thanks in advance
Max

Reply via email to