protected void addSystemProperty ( Java java , String propertyName , String propertyValue ) { Environment . Variable sysPropPlayHome = new Environment . Variable ( ) ; sysPropPlayHome . setKey ( propertyName ) ; sysPropPlayHome . setValue ( propertyValue ) ; java . addSysproperty ( sysPropPlayHome ) ; }
Adds string type system property to Ant Java task .