configureDSRulesND.ant

 

<project name="configureDSRulesND"   
         default="configure" 
         basedir="."> 

<taskdef name="wsadmin" classname="com.ibm.websphere.ant.tasks.WsAdmin"/> 

<target name="configure">

<path id="wodmHome.id">
<pathelement location="${wodmHome}"/>
</path> 

<pathconvert targetos="unix" 
                   property="wodmHome.unix"   
                   refid="wodmHome.id" /> 

<path id="propertiesFile.id">
<pathelement location="${propertiesFile}"/>
</path>

<pathconvert targetos="unix" 
                   property="propertiesFile.unix"   
                   refid="propertiesFile.id" /> 

<path id="basedir.id">
<pathelement location="${basedir}" />
</path> 

<pathconvert targetos="unix" 
                   property="basedir.unix"refid="basedir.id" /> 

<wsadmin lang="jython"   
               script="${basedir}/configureDSRulesNetworkDeployer.py"   
               user="${websphere.user}" 
               password="${websphere.password}"   
               properties="configureDSRulesND_Trace.prop"> 

<!-- cellName, clusterNodeName, mgrNodeName, clusterName, dsHome -->
<arg value="${wodmHome.unix}"/>
<arg value="${basedir.unix}"/>
<arg value="${propertiesFile.unix}"/>
<arg value="${websphere.clusterNodeName}"/>
<jvmarg value="-XX:MaxPermSize=256m"/>
       <jvmarg value="-Xmx2G"/> 

</wsadmin> 
</target> 
</project>