String os=System.getProperty("java.os");
if( defines.size() > 0 ) {
Enumeration defs=defines.elements();
while( defs.hasMoreElements() ) {
Def d=(Def)defs.nextElement();
String name=d.getName();
String val=d.getValue();
if( name==null ) continue;
String arg="-D" + name;
if( val!=null )
arg+= "=" + val;
cmd.createArgument().setValue( arg );