<?xml version="1.0" encoding="UTF-8"?>
<project name="myTest" default="all">
 <property name="title" value="myTest"/> 
<property name="debug" value="true"/>
 <property name="jar.name" value="myTest.jar"/>
 <property name="libs.location" value="lib"/>
 <path id="project.classpath">
  <pathelement location="."/>
  <pathelement location="${libs.location}/framework.jar"/>  
  <pathelement location="${libs.location}/servlet.jar"/> 
  <pathelement location="${libs.location}/http_all-2.0.0.jar"/>
 </path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
 <mkdir dir="./classes"/>
</target>
<target name="compile">
 <echo>${libs.location}</echo>
 <javac destdir= "./classes" debug = "on">
  <src path= "./src"/>
  <classpath refid = "project.classpath"/>
 </javac>
</target>
<target name="jar">
 <jar basedir = "./classes"
  jarfile = "${jar.name}"
  compress = "true"
  includes = "**/*"
  manifest = "./META-INF/MANIFEST.MF"
 />
</target>
<target name="clean">
 <delete dir = "./classes"/>
</target>
</project> 
******************************************************************************
<?xml version="1.0"?>
<project name="MyPrinterWorkspace" default="all">
 <property name="services" value="../MyPrinterWorkspace"/>
 <property name="libs" value="./lib"/>
 <path id="project.classpath">
  <pathelement location="."/>
  <pathelement location="${libs}/framework.jar"/>  
  <pathelement location="${libs}/servlet.jar"/> 
  <pathelement location="${libs}/http_all-2.0.0.jar"/>
  <pathelement location="${libs}/himalaya-bundle.jar"/>
  <pathelement location="./SESPControls.jar"/>
  <pathelement location="./com.samsung.dpd.everest.core_0.2.0.u2a.jar"/>
  <pathelement location="./com.samsung.dpd.everest.portability_0.2.0.u1aRC2.jar"/>
 </path>
<target name="all" depends="init,compile,jar"/>
<target name="init">
 <mkdir dir="./classes"/>
</target>
<target name="compile">
 <javac destdir= "./classes" debug = "on">
  <src path= "./src"/>
  <classpath refid = "project.classpath"/>
 </javac>
</target>
<target name="jar">
 <jar basedir = "./classes"
  jarfile = "./myprinterworkspace.jar"
  compress = "true"
  includes = "**/*"
  manifest = "./META-INF/MANIFEST.MF"
 />
</target>
<target name="clean">
 <delete dir = "./classes"/>
</target>
</project>
Tuesday, 7 August 2007
Subscribe to:
Post Comments (Atom)
 
 
No comments:
Post a Comment