I am trying to write my own script selector, and for this I need to read the contents of each file.
Is there a way to use java and not javascript like a script language? If not, is there a way, dumb as it sounds, to read a File object?
<scriptselector language="javascript"> f = self.getFile(); println(f); //how to read the File? self.setSelected(true); </scriptselector>
java javascript ant
marc esher
source share