-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
johncurrier
committed
Apr 28, 2005
1 parent
d0388e1
commit 305cc46
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project basedir="." default="rebuild" name="SchemaSpy"> | ||
<property name="dest" value="classes"/> | ||
<property name="dist" value="dist"/> | ||
<property name="src" value="src"/> | ||
<path id="project.class.path"> | ||
<pathelement location="${dest}"/> | ||
</path> | ||
<!--Patternset to exclude files from the output directory:--> | ||
<patternset id="dest.exclude"> | ||
<exclude name="package cache/"/> | ||
<exclude name="dependency cache/"/> | ||
</patternset> | ||
<target name="archive" depends="resource"> | ||
<jar compress="true" destfile="${dist}/schemaSpy.jar" manifest="${src}/META-INF/MANIFEST.MF"> | ||
<fileset dir="${dest}"> | ||
<patternset refid="dest.exclude"/> | ||
<include name="**/*.*"/> | ||
</fileset> | ||
<manifest> | ||
<attribute name="Main-Class" value="net.sourceforge.schemaspy.Main"/> | ||
</manifest> | ||
</jar> | ||
<jar compress="true" destfile="${dist}/schemaSpy_source.jar"> | ||
<fileset dir="${src}"/> | ||
</jar> | ||
</target> | ||
<target name="clean"> | ||
<delete file="${dist}/schemaSpy.jar"/> | ||
<delete file="${dist}/schemaSpy_source.jar"/> | ||
<delete failonerror="false" includeemptydirs="true"> | ||
<fileset dir="${dest}"/> | ||
</delete> | ||
</target> | ||
<target name="resource"> | ||
<copy todir="${dest}"> | ||
<fileset dir="${src}"> | ||
<include name="**/*.properties"/> | ||
</fileset> | ||
</copy> | ||
</target> | ||
<target name="javadoc"/> | ||
<target name="compile" depends="init"> | ||
<javac srcdir="${src}" | ||
includes="**/*.java" | ||
destdir="${dest}" | ||
/> | ||
</target> | ||
|
||
<target name="make" depends="compile,archive"/> | ||
<target name="rebuild" depends="clean,make"/> | ||
<target name="init"> | ||
<mkdir dir="${dest}"/> | ||
<mkdir dir="${dist}"/> | ||
</target> | ||
</project> |