jython - Pass in ant properties to WLST task -
i invoking wlst task through ant , want pass in properties defined in ant's context either through importing property files inside ant, inaddition ant startup arguments. (ie properties available in ant via property expansion)
the way can see use foreach/inheritall functionality of antcontrib. not require iterations.
is there solution without having use antcontrib , iteration loop of 1?
i want reference properties in wlst script example print "ant property is",antproperty
solved
i trying initialise variables incorrectly.
the way ie set jython variable ant variable in wlst task use sys.argv array.
this can either done in jython file or in embedded script element in wlst task.
Comments
Post a Comment