diff options
author | Kenneth Russel <[email protected]> | 2006-01-17 06:34:45 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-01-17 06:34:45 +0000 |
commit | 0930c6ae9487745b69af8554724ad3a7ad0caa7e (patch) | |
tree | 8e1e775518e0706387b8b60c2888b427d7718ca4 /make | |
parent | 9a75af4d242de84cff9c279bced4fe9e62c32c86 (diff) |
Added download and build instructions to GlueGen manual. Added
Manifest to gluegen.jar to make it easier to run as an executable jar.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@9 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make')
-rwxr-xr-x | make/Manifest | 2 | ||||
-rwxr-xr-x | make/build.xml | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/make/Manifest b/make/Manifest new file mode 100755 index 0000000..1677feb --- /dev/null +++ b/make/Manifest @@ -0,0 +1,2 @@ +Main-Class: com.sun.gluegen.GlueGen +Class-Path: antlr.jar diff --git a/make/build.xml b/make/build.xml index 440d194..2557fac 100755 --- a/make/build.xml +++ b/make/build.xml @@ -139,7 +139,7 @@ </javac> <!-- Build gluegen.jar. --> - <jar destfile="${build}/gluegen.jar"> + <jar destfile="${build}/gluegen.jar" manifest="Manifest"> <fileset dir="${classes}"> <include name="**/*.class" /> </fileset> @@ -151,6 +151,12 @@ <include name="com/sun/gluegen/runtime/*.class" /> </fileset> </jar> + + <!-- Copy antlr.jar into build directory for convenience so + gluegen.jar can be run via "java -jar". antlr.jar is + referenced via a Class-Path entry in the Manifest of + gluegen.jar. --> + <copy file="${antlr.jar}" todir="${build}" /> </target> <target name="all" depends="gluegen.build" /> |