-
Notifications
You must be signed in to change notification settings - Fork 11
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
1 parent
8825819
commit 4936ac5
Showing
3 changed files
with
31 additions
and
16 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 @@ | ||
/fr/ |
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 |
---|---|---|
@@ -1,19 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
|
||
<project default="create_run_jar" name="Create Runnable Jar for Project pcapngdecoder"> | ||
|
||
<property name="version" value="1.0" /> | ||
|
||
<!--this file was created by Eclipse Runnable JAR Export Wizard--> | ||
<!--ANT 1.7 is required --> | ||
<target name="create_run_jar"> | ||
<jar destfile="${basedir}/release/pcapngdecoder-${version}.jar" filesetmanifest="mergewithoutmain"> | ||
<manifest> | ||
<attribute name="Main-Class" value="fr.bmartel.pcapdecoder.main.MainParser"/> | ||
<attribute name="Class-Path" value="."/> | ||
</manifest> | ||
<fileset dir="${basedir}/bin"/> | ||
</jar> | ||
</target> | ||
|
||
<project default="build" name="compile-archive"> | ||
|
||
<property name="project-name" value="pcapngdecoder"/> | ||
|
||
<property name="version" value="1.0" /> | ||
|
||
<path id="master-classpath"> | ||
<fileset dir="${basedir}/libs"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
</path> | ||
|
||
<target name="compile" description="Compile source"> | ||
<mkdir dir="bin" /> | ||
<javac srcdir="src" includes="**" destdir="bin" > | ||
<classpath refid="master-classpath"/> | ||
</javac> | ||
|
||
<copy todir="bin"> | ||
<fileset dir="src" /> | ||
</copy> | ||
</target> | ||
|
||
<target name="build" depends="compile"> | ||
<jar destfile="${basedir}/release/${project-name}-${version}.jar"> | ||
<fileset dir="${basedir}/bin" /> | ||
<zipgroupfileset dir="${basedir}/libs" includes="**/*.jar" /> | ||
</jar> | ||
</target> | ||
|
||
</project> |
Binary file not shown.