<project name="portable" default="build" >

  <path id="this.class.path">
    <pathelement path="temp_dir"/>
    <pathelement path="temp_portable_dir" />
    <pathelement location="/weblogic/src_141_02sj/server/lib/wsclient81.jar"/>
  </path>

  <target name="clean" >
    <delete dir="temp_portable_dir" />
  </target>

  <target name="build" depends="clean" >
    <mkdir dir="temp_portable_dir" />

    <java classname="weblogic.webservice.tools.versioning.VersionMaker" 
        fork="true" >
      <arg line="temp_portable_dir" />
      <arg line="../simple/simple-client.jar" />
    </java>
  </target>

  <target name="run" >
    <java classname="examples.mega.client.PortableClient" fork="true"
      failonerror="true" >
      <classpath refid="this.class.path" />
      <arg line="localhost" />
      <arg line="7001" />
    </java>
  </target>

</project>

