File build.xml of Package prunegps

<?xml version="1.0"?>

<project name="Prune" default="dist" basedir="."> 
  <property file="" />
  <property file="" />
  <property name="src" value="." /> 
  <property name="build" value="build" />
  <property name="dist" value="dist" />

  <!-- Init -->

  <target name="init">
    <mkdir dir="${build}" />
    <mkdir dir="${dist}" /> 
  <!-- Clean -->

  <target name="clean"
          description="Clean build directory" >

    <delete dir="${build}" /> 
    <delete dir="${dist}" /> 

  <!-- Build -->

  <target name="build" 
          description="Build from source"
          depends="clean,init" >
    <javac srcdir="${src}" destdir="${build}" />
  <!-- Distribution -->

  <target name="dist"
          description="Create distributable jar from sources"
    <fileset dir="${build}" casesensitive="yes">
  	<include name="**/*"/>
  	<exclude name="**/*Test*"/>
  <!-- Jar -->

  <target name="jar" description="Create jar file">
    <fileset dir="${build}" casesensitive="yes">
        <include name="**/*"/>
        <exclude name="**/*Test*"/>
    <jar destfile="${dist}/${}-${version}.jar" 
         basedir="${build}" >
	<!-- define MANIFEST.MF -->
	  <!-- Who is building this jar? -->
	  <attribute name="Built-By" value="${}"/>
	  <!-- Information about the program itself -->
	  <attribute name="Implementation-Vendor" value="Ant Test inc."/>
	  <attribute name="Implementation-Title" value="Ant Test"/>
	  <attribute name="Implementation-Version" value="${version}"/>
	  <!-- details -->
	  <attribute name="Main-Class" value="AntDemo"/>
          <attribute name="Class-Path" value="${}.jar"/>
	  <section name="AntDemo.class">
	    <attribute name="Sealed" value="false"/>
openSUSE Build Service is sponsored by