forked from potigol/potigol
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpotigol.xml
18 lines (18 loc) · 915 Bytes
/
potigol.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project PotigolANTLR with libraries in sub-folder">
<target name="create_run_jar">
<jar destfile="jar/potigol.jar" encoding="UTF-8">
<manifest>
<attribute name="Main-Class" value="br.edu.ifrn.potigol.Principal" />
<attribute name="Class-Path" value=". potigol_lib/antlr-runtime-4.5.jar potigol_lib/scala-compiler.jar potigol_lib/scala-library.jar potigol_lib/scala-reflect.jar" />
</manifest>
<fileset dir="bin" />
</jar>
<delete dir="jar/potigol_lib" />
<mkdir dir="jar/potigol_lib" />
<copy file="lib/antlr-runtime-4.5.jar" todir="jar/potigol_lib" />
<copy file="lib/scala-compiler.jar" todir="jar/potigol_lib" />
<copy file="lib/scala-library.jar" todir="jar/potigol_lib" />
<copy file="lib/scala-reflect.jar" todir="jar/potigol_lib" />
</target>
</project>