Commando Question
Submitted by Thursday, 1 December, 2005 - 11:07
on
Hi,
I'd like to write a commando file for calling a C compiler.
I've had a look at some of the available commando files. I understand the XML parts however I'm not clear about the COMMAND section, for example:
buf = new StringBuffer("cd ");
buf.append(MiscUtilities.getParentOfPath(buffer.getPath()));
buf.toString();
buf = new StringBuffer(gcc);
if(wall) buf.append(" -Wall");
if(!link) buf.append(" -c");
if(!addopts.equals("")) {
buf.append(" ");
buf.append(addopts);
}
buf.append(" ");
buf.append(source);
buf.toString();
Is this BeanShell?
Cheers,
Chris