-
Notifications
You must be signed in to change notification settings - Fork 0
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
Andreas
authored and
Andreas
committed
Sep 23, 2023
1 parent
7b08528
commit 6178911
Showing
3 changed files
with
54 additions
and
17 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
This file was deleted.
Oops, something went wrong.
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,53 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project default="build_jar" name="Create all Jars for Project SshKeyFormats"> | ||
<property name="version" value="23.0.1" /> | ||
|
||
<property name="projectsPath" value="${user.home}/git" /> | ||
<echo message="projectsPath: ${projectsPath}" /> | ||
|
||
<property name="buildPath" value="build" /> | ||
<echo message="buildPath: ${buildPath}" /> | ||
|
||
<target name="build_jar" depends="cleanup_before, create_jar, cleanup_after" /> | ||
|
||
<target name="cleanup_before"> | ||
<delete dir="${buildPath}/bin" /> | ||
<mkdir dir="${buildPath}/bin" /> | ||
</target> | ||
|
||
<target name="create_jar"> | ||
<path id="build.classpath"> | ||
<fileset dir="lib"> | ||
<include name="*.jar" /> | ||
</fileset> | ||
</path> | ||
|
||
<javac debug="true" nowarn="true" deprecation="false" destdir="${buildPath}/bin" fork="yes" source="1.8" target="1.8" srcdir="src/main/java" includeantruntime="false" encoding="UTF-8"> | ||
<classpath refid="build.classpath" /> | ||
</javac> | ||
|
||
<jar destfile="${buildPath}/sshkeyformats-${version}.jar"> | ||
<manifest> | ||
<attribute name="Version" value="${version}" /> | ||
</manifest> | ||
|
||
<fileset dir="${buildPath}/bin" /> | ||
|
||
<fileset dir="" includes="LICENSE.txt"/> | ||
</jar> | ||
|
||
<jar destfile="${buildPath}/sshkeyformats-${version}_sources.jar"> | ||
<manifest> | ||
<attribute name="Version" value="${version}" /> | ||
</manifest> | ||
|
||
<fileset dir="src/main/java" includes="**/*.java"/> | ||
|
||
<fileset dir="" includes="LICENSE.txt"/> | ||
</jar> | ||
</target> | ||
|
||
<target name="cleanup_after"> | ||
<delete dir="${buildPath}/bin" /> | ||
</target> | ||
</project> |