Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jirislaby:kotatko
prunegps
build.xml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build.xml of Package prunegps
<?xml version="1.0"?> <project name="Prune" default="dist" basedir="."> <property file="build.properties" /> <property file="version.properties" /> <property name="src" value="." /> <property name="build" value="build" /> <property name="dist" value="dist" /> <!-- Init --> <target name="init"> <mkdir dir="${build}" /> <mkdir dir="${dist}" /> </target> <!-- Clean --> <target name="clean" description="Clean build directory" > <delete dir="${build}" /> <delete dir="${dist}" /> </target> <!-- Build --> <target name="build" description="Build from source" depends="clean,init" > <javac srcdir="${src}" destdir="${build}" /> </target> <!-- Distribution --> <target name="dist" description="Create distributable jar from sources" depends="build,jar"> <fileset dir="${build}" casesensitive="yes"> <include name="**/*"/> <exclude name="**/*Test*"/> </fileset> </target> <!-- Jar --> <target name="jar" description="Create jar file"> <fileset dir="${build}" casesensitive="yes"> <include name="**/*"/> <exclude name="**/*Test*"/> </fileset> <jar destfile="${dist}/${ant.project.name}-${version}.jar" basedir="${build}" > <!-- define MANIFEST.MF --> <manifest> <!-- Who is building this jar? --> <attribute name="Built-By" value="${user.name}"/> <!-- 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="${ant.project.name}.jar"/> <section name="AntDemo.class"> <attribute name="Sealed" value="false"/> </section> </manifest> </jar> </target> </project>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor