-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild-jar.xml
More file actions
39 lines (36 loc) · 1.2 KB
/
build-jar.xml
File metadata and controls
39 lines (36 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse.ant.import?>
<project default="build-jar" name="Create Runnable Jar for Project ffmpeg with libraries in folder">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<property name="bridj.jar" value="bridj-0.7-SNAPSHOT.jar"/>
<target name="clean-jar">
<delete dir="dist/"/>
<mkdir dir="dist/"/>
</target>
<target name="copy-lib">
<copy file="lib/${bridj.jar}" todir="dist/"/>
</target>
<target name="build-jar" depends="clean-jar,copy-lib">
<jar destfile="dist/ffmpeg-4.4.jar">
<manifest>
<attribute name="Main-Class" value="org.ffmpeg.FFMPeg"/>
</manifest>
<fileset dir="bin"/>
</jar>
</target>
<!--docs: generate javadoc documentation-->
<target name="docs-jar" depends="build-jar">
<delete dir="dist/docs"/>
<mkdir dir="dist/docs"/>
<javadoc destdir="dist/docs" encoding="utf8">
<fileset dir="src">
<include name="**/*.java"/>
<exclude name="test/*.java"/>
</fileset>
<classpath>
<path refid="ffmpeg.classpath"/>
</classpath>
</javadoc>
</target>
</project>