| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- ================================================ --> |
| <!-- Sample buildfile for jar components --> |
| <!-- --> |
| <!-- ================================================ --> |
| <project name="sample" default="build"> |
| |
| <!-- - - - - - - - - - - - - - --> |
| <!-- target: init --> |
| <!-- - - - - - - - - - - - - - --> |
| <target name="init"> |
| <property name="${eclipse.home}" location="/home/eclipse" /> |
| </target> |
| |
| <!-- ========================= --> |
| <!-- target: build --> |
| <!-- ========================= --> |
| <target name="build" |
| depends="init" |
| description="--> compile and jar this component"> |
| |
| <javac srcdir="${src.home}" |
| destdir="${build.home}" |
| debug="${compile.debug}" |
| deprecation="${compile.deprecation}" |
| optimize="${compile.optimize}"> |
| <classpath refid="compile.classpath" /> |
| </javac> |
| |
| <jar destfile="${dist.home}/${app.name}.jar" |
| basedir="${build.home}" |
| excludes="**/*UT.class" /> |
| </target> |
| |
| </project> |