|
From: <jpi...@us...> - 2011-03-30 09:35:25
|
Revision: 3511
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3511&view=rev
Author: jpilgrim
Date: 2011-03-30 09:35:14 +0000 (Wed, 30 Mar 2011)
Log Message:
-----------
Initial import of eclipse plugins. Note: The plugins are only skeletons, the actual plugins are to be build with the Ant script found in org.lwjgl.build/build.xml. See org.lwjgl.build/READ.ME for details.
Plugin lwjgl.org contains a binary version of LWJGL for development purposes (of this plugin) only. This binary version is ignored by the build script.
Added Paths:
-----------
trunk/LWJGL/eclipse-update/org.lwjgl/.classpath
trunk/LWJGL/eclipse-update/org.lwjgl/.project
trunk/LWJGL/eclipse-update/org.lwjgl/.settings/
trunk/LWJGL/eclipse-update/org.lwjgl/.settings/org.eclipse.jdt.core.prefs
trunk/LWJGL/eclipse-update/org.lwjgl/AppleJavaExtensions.jar
trunk/LWJGL/eclipse-update/org.lwjgl/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl/build/
trunk/LWJGL/eclipse-update/org.lwjgl/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl/jinput.jar
trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl.jar
trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_test.jar
trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util.jar
trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util_applet.jar
trunk/LWJGL/eclipse-update/org.lwjgl/lzma.jar
trunk/LWJGL/eclipse-update/org.lwjgl/native/
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux64.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl64.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal64.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/
trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/libjinput-osx.jnilib
trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/liblwjgl.jnilib
trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/openal.dylib
trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/
trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl64.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal64.so
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL32.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL64.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8_64.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw_64.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl.dll
trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl64.dll
trunk/LWJGL/eclipse-update/org.lwjgl/src/
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/Activator.java
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/LibraryPathUtil.java
trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/OSNotSupportedException.java
trunk/LWJGL/eclipse-update/org.lwjgl.build/.classpath
trunk/LWJGL/eclipse-update/org.lwjgl.build/.project
trunk/LWJGL/eclipse-update/org.lwjgl.build/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl.build/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl.build/READ.ME
trunk/LWJGL/eclipse-update/org.lwjgl.build/anttasks/
trunk/LWJGL/eclipse-update/org.lwjgl.build/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.build/build.xml
trunk/LWJGL/eclipse-update/org.lwjgl.build/lwjgl-archives/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/org/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/org/lwjgl/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/org/lwjgl/ant/
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/org/lwjgl/ant/NormalizeVersion.java
trunk/LWJGL/eclipse-update/org.lwjgl.build/src/java/org/lwjgl/ant/PackageList.java
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/buildtest/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/buildtest/build.xml
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/java/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/java/org/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/java/org/lwjgl/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/java/org/lwjgl/ant/
trunk/LWJGL/eclipse-update/org.lwjgl.build/test/java/org/lwjgl/ant/NormalizeVersionTest.java
trunk/LWJGL/eclipse-update/org.lwjgl.build/teststore
trunk/LWJGL/eclipse-update/org.lwjgl.doc/.project
trunk/LWJGL/eclipse-update/org.lwjgl.doc/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl.doc/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl.doc/about.html
trunk/LWJGL/eclipse-update/org.lwjgl.doc/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/addLib_1.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/addLib_2.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/addLib_3.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/addLib_4.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/lwjgl_logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/mesh.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/openView_1.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/openView_2.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/openView_Info.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/fig/openView_Test.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/overview.html
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/plugins.html
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/tools.html
trunk/LWJGL/eclipse-update/org.lwjgl.doc/html/views.html
trunk/LWJGL/eclipse-update/org.lwjgl.doc/lwjgl_logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.doc/plugin.xml
trunk/LWJGL/eclipse-update/org.lwjgl.doc/toc.xml
trunk/LWJGL/eclipse-update/org.lwjgl.feature/.project
trunk/LWJGL/eclipse-update/org.lwjgl.feature/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.feature/feature.xml
trunk/LWJGL/eclipse-update/org.lwjgl.feature/feature.xml.template
trunk/LWJGL/eclipse-update/org.lwjgl.feature/lwjgl_logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.feature.sdk/.project
trunk/LWJGL/eclipse-update/org.lwjgl.feature.sdk/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.feature.sdk/feature.xml
trunk/LWJGL/eclipse-update/org.lwjgl.feature.sdk/feature.xml.template
trunk/LWJGL/eclipse-update/org.lwjgl.info/.classpath
trunk/LWJGL/eclipse-update/org.lwjgl.info/.project
trunk/LWJGL/eclipse-update/org.lwjgl.info/.settings/
trunk/LWJGL/eclipse-update/org.lwjgl.info/.settings/org.eclipse.jdt.core.prefs
trunk/LWJGL/eclipse-update/org.lwjgl.info/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl.info/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl.info/about.html
trunk/LWJGL/eclipse-update/org.lwjgl.info/build/
trunk/LWJGL/eclipse-update/org.lwjgl.info/build/classes/
trunk/LWJGL/eclipse-update/org.lwjgl.info/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.info/icons/
trunk/LWJGL/eclipse-update/org.lwjgl.info/icons/lwjgl_logo_16.gif
trunk/LWJGL/eclipse-update/org.lwjgl.info/lwjgl_logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.info/plugin.xml
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/info/
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/info/FpsStatusLineItem.java
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/info/LWJGLInfoView.java
trunk/LWJGL/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/info/LWJGLTestView.java
trunk/LWJGL/eclipse-update/org.lwjgl.source/.project
trunk/LWJGL/eclipse-update/org.lwjgl.source/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl.source/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl.source/about.html
trunk/LWJGL/eclipse-update/org.lwjgl.source/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.source/lwjgl_logo.png
trunk/LWJGL/eclipse-update/org.lwjgl.source/plugin.xml
trunk/LWJGL/eclipse-update/org.lwjgl.source/src/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/.classpath
trunk/LWJGL/eclipse-update/org.lwjgl.tools/.project
trunk/LWJGL/eclipse-update/org.lwjgl.tools/.settings/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/.settings/org.eclipse.jdt.core.prefs
trunk/LWJGL/eclipse-update/org.lwjgl.tools/META-INF/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/META-INF/MANIFEST.MF
trunk/LWJGL/eclipse-update/org.lwjgl.tools/about.html
trunk/LWJGL/eclipse-update/org.lwjgl.tools/build/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/build/classes/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/build.properties
trunk/LWJGL/eclipse-update/org.lwjgl.tools/plugin.xml
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/tools/
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/tools/Activator.java
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/tools/BuildPathSupport.java
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/tools/LWJGLClasspathContainerInitializer.java
trunk/LWJGL/eclipse-update/org.lwjgl.tools/src/java/org/lwjgl/tools/LWJGLClasspathContainerPage.java
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/.project
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/about.html
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/index.html
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/site.xml
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/site.xml.template
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/web/
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/web/site.css
trunk/LWJGL/eclipse-update/org.lwjgl.updatesite/web/site.xsl
Added: trunk/LWJGL/eclipse-update/org.lwjgl/.classpath
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/.classpath (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/.classpath 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src/java"/>
+ <classpathentry exported="true" kind="lib" path="AppleJavaExtensions.jar"/>
+ <classpathentry exported="true" kind="lib" path="jinput.jar"/>
+ <classpathentry exported="true" kind="lib" path="lwjgl.jar"/>
+ <classpathentry exported="true" kind="lib" path="lwjgl_test.jar"/>
+ <classpathentry exported="true" kind="lib" path="lwjgl_util.jar"/>
+ <classpathentry exported="true" kind="lib" path="lwjgl_util_applet.jar"/>
+ <classpathentry exported="true" kind="lib" path="lzma.jar"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/LWJGL/eclipse-update/org.lwjgl/.project
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/.project (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/.project 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.lwjgl</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/LWJGL/eclipse-update/org.lwjgl/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/.settings/org.eclipse.jdt.core.prefs 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,12 @@
+#Tue Nov 23 14:49:20 CET 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/LWJGL/eclipse-update/org.lwjgl/AppleJavaExtensions.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/AppleJavaExtensions.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/META-INF/MANIFEST.MF
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/META-INF/MANIFEST.MF (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/META-INF/MANIFEST.MF 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,38 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Lightweight Java Game Library
+Bundle-SymbolicName: org.lwjgl
+Bundle-Version: 2.0.0
+Bundle-Vendor: Lightweight Java Game Library Project
+Bundle-Activator: org.lwjgl.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Export-Package: LZMA,
+ com.apple.eawt,
+ com.apple.eio,
+ net.java.games.input,
+ net.java.games.util,
+ net.java.games.util.plugins,
+ org.lwjgl,
+ org.lwjgl.input,
+ org.lwjgl.openal,
+ org.lwjgl.opencl,
+ org.lwjgl.opencl.api,
+ org.lwjgl.opengl,
+ org.lwjgl.util,
+ org.lwjgl.util.applet,
+ org.lwjgl.util.glu,
+ org.lwjgl.util.glu.tessellation,
+ org.lwjgl.util.input,
+ org.lwjgl.util.jinput,
+ org.lwjgl.util.vector
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: .,
+ lwjgl.jar,
+ lwjgl_util.jar,
+ lwjgl_util_applet.jar,
+ lwjgl_test.jar,
+ AppleJavaExtensions.jar,
+ jinput.jar,
+ lzma.jar
Added: trunk/LWJGL/eclipse-update/org.lwjgl/build.properties
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/build.properties (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/build.properties 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,11 @@
+source.. = src/java/
+output.. = build/classes/
+bin.includes = META-INF/,\
+ .,\
+ lzma.jar,\
+ jinput.jar,\
+ lwjgl.jar,\
+ lwjgl_test.jar,\
+ lwjgl_util.jar,\
+ lwjgl_util_applet.jar,\
+ native/
Added: trunk/LWJGL/eclipse-update/org.lwjgl/jinput.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/jinput.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_test.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_test.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util_applet.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/lwjgl_util_applet.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/lzma.jar
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/lzma.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux64.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libjinput-linux64.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl64.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/liblwjgl64.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal64.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/linux/libopenal64.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/libjinput-osx.jnilib
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/libjinput-osx.jnilib
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/liblwjgl.jnilib
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/liblwjgl.jnilib
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/openal.dylib
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/macosx/openal.dylib
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl64.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/liblwjgl64.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal64.so
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/solaris/libopenal64.so
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL32.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL32.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL64.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/OpenAL64.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8_64.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-dx8_64.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw_64.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/jinput-raw_64.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl64.dll
===================================================================
(Binary files differ)
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/native/windows/lwjgl64.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/Activator.java
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/Activator.java (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/Activator.java 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,83 @@
+/*******************************************************************************
+ * Copyright (c) 2011 LWJGL Project and others
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html, and under the terms of the
+ * BSD license, see http://lwjgl.org/license.php for details.
+ *
+ * Contributors:
+ * Jens von Pilgrim - initial implementation
+ ******************************************************************************/
+package org.lwjgl;
+
+import org.eclipse.core.runtime.Plugin;
+import org.eclipse.core.runtime.Status;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.BundleException;
+
+/**
+ * The activator class controls the plug-in life cycle.
+ *
+ * @author Jens von Pilgrim (dev...@je...)
+ * @since Mar 30, 2011
+ */
+public class Activator extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.lwjgl";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void start(BundleContext context) throws Exception {
+
+ super.start(context);
+
+ try {
+ String path = LibraryPathUtil.getLWJGLLibraryPath(context);
+ Status status = new Status(Status.INFO, PLUGIN_ID, Status.INFO,
+ "Set org.lwjgl.librarypath to " + path, null);
+ getLog().log(status);
+
+ } catch (Throwable ex) {
+ Status status = new Status(Status.ERROR, PLUGIN_ID, Status.ERROR,
+ "Error setting native LWJGL libraries path: " + ex.toString(), ex);
+ getLog().log(status);
+ throw new BundleException(status.getMessage(), ex);
+ }
+
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/Activator.java
___________________________________________________________________
Added: svn:keywords
+ Date Revision Author HeadURL Id
Added: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/LibraryPathUtil.java
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/LibraryPathUtil.java (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/LibraryPathUtil.java 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,92 @@
+/*******************************************************************************
+ * Copyright (c) 2011 LWJGL Project and others
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html, and under the terms of the
+ * BSD license, see http://lwjgl.org/license.php for details.
+ *
+ * Contributors:
+ * Jens von Pilgrim - initial implementation
+ ******************************************************************************/
+package org.lwjgl;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * Helper class for retrieving plugin relative path of native LWJGL
+ * libraries and setting the path in the system properties.
+ *
+ * @author Jens von Pilgrim
+ * @since Jan 30, 2011
+ */
+public class LibraryPathUtil {
+
+ public static final String LWJGL_SYSTEM_PROPERTY = "org.lwjgl.librarypath";
+
+ public static String[] NATIVEPATH = new String[] { "windows", "macosx",
+ "linux", "solaris" };
+
+ /**
+ * Returns plugin relative path to native libraries according to
+ * current operating system.
+ *
+ * @return
+ * @throws OSNotSupportedException
+ */
+ public static String getRelativeLWJGLLibraryPath()
+ throws OSNotSupportedException {
+ int iOS = -1;
+ String osname = System.getProperty("os.name").toLowerCase();
+ String osarch = System.getProperty("os.arch").toLowerCase();
+
+ // applied patch by Carlo Salinari: ignore osarch on windows
+ // see http://lwjgl.org/forum/index.php/topic,3726.0.html
+ if (osname.startsWith("windows")) {
+ iOS = 0;
+ } else if (osname.startsWith("mac")) {
+ iOS = 1;
+ } else if (osname.startsWith("linux")) {
+ iOS = 2;
+ } else if (osname.startsWith("solaris")) {
+ iOS = 3;
+ }
+
+ if (iOS >= 0 && iOS < NATIVEPATH.length) {
+ String base = "native" + File.separator + NATIVEPATH[iOS];
+ return base;
+ } else {
+ throw new OSNotSupportedException(osname, osarch);
+ }
+ }
+
+ /**
+ * Returns absolute path of native LWJGL libraries according to
+ * current operating system, this path is also set as
+ * system property.
+ *
+ * @param context
+ * @return
+ * @throws OSNotSupportedException
+ * @throws IOException
+ */
+ public static String getLWJGLLibraryPath(BundleContext context)
+ throws OSNotSupportedException, IOException {
+ String base = getRelativeLWJGLLibraryPath();
+ Bundle fragment = context.getBundle();
+
+ URL url = FileLocator.resolve(fragment.getEntry(base));
+ File fileDir = new File(url.getPath());
+ String path = fileDir.getPath();
+
+ System.setProperty(LWJGL_SYSTEM_PROPERTY, path);
+ return path;
+ }
+
+}
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/LibraryPathUtil.java
___________________________________________________________________
Added: svn:keywords
+ Date Revision Author HeadURL Id
Added: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/OSNotSupportedException.java
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/OSNotSupportedException.java (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/OSNotSupportedException.java 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2011 LWJGL Project and others
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html, and under the terms of the
+ * BSD license, see http://lwjgl.org/license.php for details.
+ *
+ * Contributors:
+ * Jens von Pilgrim - initial implementation
+ ******************************************************************************/
+package org.lwjgl;
+
+/**
+ * Exception thrown by library loader if operating system is not supported.
+ *
+ * @author Jens von Pilgrim (dev...@je...)
+ * @since Jan 30, 2011
+ */
+public class OSNotSupportedException extends Exception {
+
+ String strOSName;
+ String strOSArch;
+ /**
+ * @param i_strOSName
+ * @param i_strOSArch
+ */
+ public OSNotSupportedException(String i_strOSName, String i_strOSArch) {
+ super();
+ strOSName = i_strOSName;
+ strOSArch = i_strOSArch;
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see java.lang.Throwable#getMessage()
+ */
+ @Override
+ public String getMessage() {
+ return strOSName + " (" + strOSArch + ") not supported by LWJGL.";
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see java.lang.Throwable#toString()
+ */
+ @Override
+ public String toString() {
+ return getMessage();
+ }
+
+
+}
Property changes on: trunk/LWJGL/eclipse-update/org.lwjgl/src/java/org/lwjgl/OSNotSupportedException.java
___________________________________________________________________
Added: svn:keywords
+ Date Revision Author HeadURL Id
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/.classpath
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/.classpath (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/.classpath 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/java"/>
+ <classpathentry kind="src" path="test/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="anttasks"/>
+</classpath>
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/.project
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/.project (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/.project 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.lwjgl.build</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/META-INF/MANIFEST.MF
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/META-INF/MANIFEST.MF (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/META-INF/MANIFEST.MF 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Updatesite Build
+Bundle-SymbolicName: org.lwjgl.build
+Bundle-Version: 1.0.0
+Export-Package: org.lwjgl.ant
+Import-Package: org.apache.tools.ant,
+ org.apache.tools.ant.taskdefs,
+ org.apache.tools.ant.types,
+ org.apache.tools.ant.types.selectors,
+ org.apache.tools.ant.util,
+ org.junit;version="4.8.1"
+Bundle-Vendor: Lightweight Java Game Library Project
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/READ.ME
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/READ.ME (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/READ.ME 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,88 @@
+The build plugin is part of the LWJGL Eclipse plugins. The following plugins are
+required:
+
+org.lwjgl
+ Skeleton plugin, that is it contains the Eclipse Activator for setting up the
+ native library path, but the lwjgl jars are missing. These jars are added by
+ the build script later on
+
+org.lwjgl.source
+ Skeleton plugin for sources, plugin.xml etc are already configured, but again
+ the sources itself are only added by the build script later on
+
+org.lwjgl.doc
+ Skeleton plugin for documentation, Javadoc is added by build script, however
+ some Eclipse help files are already in place
+
+org.lwjgl.info
+ This plugin was called org.lwjgl.test in the elder version. I renamed it as it
+ does not really contain a test but Eclipse views. Besides the spinning torus
+ test view, I added an info view printing out current version of driver etc.
+ and capabilities of user's OpenGL system
+
+org.lwjgl.tools
+ This plugin contains a library set up for plain Java projects, in order to get
+ rid of defining additional parameters in the run configuration. It is
+ documented in the help files. I have sent you this plugin once, but it never
+ made it into the update site. Well, now it is in place
+
+org.lwjgl.feature
+ Feature plugin referencing the core lwjgl plugin. It contains two
+ feature.xml definitions, one used for playing around in Eclipse, and a
+ template which is used by the build script. If you ever change something
+ here, pay attention to also change the template file.
+
+org.lwjgl.feature.sdk
+ Feature plugin referencing the src, doc, tools and info lwjgl plugin.
+ It contains two feature.xml definitions, one used for playing around in
+ Eclipse, and a template which is used by the build script. If you ever change
+ something here, pay attention to also change the template file.
+
+org.lwjgl.updatesite
+ Well, this is the updatesite. As in the feature project, site.xml comes
+ together with a template version used by the build script.
+
+org.lwjgl.build -- THIS Plugin
+ This is the build script project. Although it is an Eclipse project, you can
+ simply run the build script with ant from command line. See later on.
+
+Everything is created in org.lwjgl.build/build.
+Here is how to build the update site:
+
+1) Create a new folder in org.lwjgl.build/lwjgl-archives , use the version
+ number as folder name. E.g., for version 2.6 create a folder "2.6",
+ for version 2.6.1 "2.6.1" and so on.
+2) Copy the lwjgl, lwjgl-docs and lwjgl-source zips into that folder. E.g.,
+ for version 2.6, this folder must contain the following files:
+ org.lwjgl.build/lwjgl-archives
+ + 2.6
+ - lwjgl-2.6.zip
+ - lwjgl-docs-2.6.zip
+ - lwjgl-source-2.6.zip
+3) In order to run the build script, change to folder org.lwjgl.build and run
+ ant with a parameter indicating the appropriate LWJGL version, e.g.
+ ant -Dversion=2.6 dist
+
+You will find the updatesite in
+ org.lwjgl.build/build/plugins/org.lwjgl.updatesite
+
+You may note that the jars are all signed. I have added a temporary keystore
+with a dummy alias. In order to use your key, simply edit the properties
+(line 11-14) in the build script. If you do not want to store the password in
+the build script, simply define it via "-Dstorepass=****" in the command line.
+
+Some additional remarks:
+- The version number is automatically "normalized" to Eclipse standards,
+ that is 2.6 will become 2.6.0. You do not have to rename the initial archives,
+ you can use 2.6. Or 2.6.1 ;-)
+- The lwjgl-debug.jar is not added to the org.lwjgl plugin, as I do not know
+ how to select one or the other. But I have not further investigated in
+ that direction.
+- Note that only the created plugin and feature jars are signed, and not the
+ nested lwjgl.jar etc., as I figure that you will sign these jars yourself
+ when creating the zip files.
+- When testing the update site and the installation of plugins, pay attention
+ to the Eclipse P2 system, which caches a lot of things. Simply uninstalling
+ a plugin does not remove the plugins from the Eclipse installation. When
+ the very same version is re-installed, instead of loading new files from the
+ update site these pre-installed versions are reused!
\ No newline at end of file
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/build.properties
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/build.properties (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/build.properties 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,3 @@
+source.. = src/java/
+bin.includes = META-INF/,\
+ .
Added: trunk/LWJGL/eclipse-update/org.lwjgl.build/build.xml
===================================================================
--- trunk/LWJGL/eclipse-update/org.lwjgl.build/build.xml (rev 0)
+++ trunk/LWJGL/eclipse-update/org.lwjgl.build/build.xml 2011-03-30 09:35:14 UTC (rev 3511)
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Call with
+ ant -Dversion=1.9.1 dist
+(C) 2011 LWJGL-Project
+Author: Jens von Pilgrim, dev...@je...
+-->
+
+<project default="help" basedir="." name="" xmlns:ant4eclipse="antlib:org.ant4eclipse" xmlns:antcontrib="antlib:net.sf.antcontrib">
+
+ <property name="keystore" value="teststore" />
+ <property name="alias" value="tester" />
+ <property name="storepass" value="tester" />
+ <property name="keypass" value="${storepass}" />
+
+ <property name="eclipse.updatesite" value="http://www.lwjgl.org/update/" />
+ <property name="bundle.vendor" value="lwjgl.org" />
+
+ <taskdef name="packagelist" classname="org.lwjgl.ant.PackageList">
+ <classpath>
+ <pathelement location="./anttasks" />
+ </classpath>
+ </taskdef>
+ <taskdef name="normalizeversion" classname="org.lwjgl.ant.NormalizeVersion">
+ <classpath>
+ <pathelement location="./anttasks" />
+ </classpath>
+ </taskdef>
+
+ <property name="version" value="unknown" />
+ <property name="archives.dir" value="lwjgl-archives/${version}" />
+ <property name="skeletons.dir" value=".." />
+
+ <property name="build.path" value="build" />
+ <property name="build.temp" value="${build.path}/temp" />
+ <property name="build.plugins" value="${build.path}/plugins" />
+
+ <property name="lwjgl.zip" value="lwjgl-${version}.zip" />
+ <property name="lwjgl_docs.zip" value="lwjgl-docs-${version}.zip" />
+ <property name="lwjgl_source.zip" value="lwjgl-source-${version}.zip" />
+
+ <property name="lwjgl.dir" value="${build.temp}/lwjgl-${version}" />
+ <property name="lwjgl_docs.dir" value="${build.temp}/javadoc" />
+ <property name="lwjgl_source.dir" value="${build.temp}/src" />
+
+ <property name="NL" value=" " />
+
+
+
+ <!--
+<property name="" value="" />
+-->
+
+
+ <target name="init">
+ <normalizeversion version="${version}" property="normversion" />
+ <echo>Building plugins for version ${version}, normalized version ${normversion}</echo>
+ </target>
+
+
+ <target name="dist" depends="init">
+ <mkdir dir="${build.temp}" />
+
+
+ <!-- *******************************************************************
+ *
+ * Copy original plugins to build folder. Copy source to source plugin
+ * only, move classes into place.
+ *
+ ******************************************************************** -->
+ <mkdir dir="${build.plugins}" />
+ <copy todir="${build.plugins}/org.lwjgl">
+ <fileset dir="${skeletons.dir}/org.lwjgl" casesensitive="yes">
+ <exclude name="**/src/**" />
+ <exclude name="**/*.jar" />
+ <!-- do not copy jars used for development -->
+ <exclude name="**/build/**" />
+ <exclude name="**/build.properties" />
+ <!-- do not copy development settings -->
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl">
+ <fileset dir="${skeletons.dir}/org.lwjgl/build/classes" casesensitive="yes">
+ </fileset>
+ </copy>
+
+ <copy todir="${build.plugins}/org.lwjgl.source">
+ <fileset dir="${skeletons.dir}/org.lwjgl.source" casesensitive="yes">
+ <exclude name="**/build.properties" />
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl.doc">
+ <fileset dir="${skeletons.dir}/org.lwjgl.doc" casesensitive="yes">
+ <exclude name="**/build.properties" />
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ </fileset>
+ </copy>
+
+ <copy todir="${build.plugins}/org.lwjgl.info">
+ <fileset dir="${skeletons.dir}/org.lwjgl.info" casesensitive="yes">
+ <exclude name="**/src/**" />
+ <exclude name="**/build/**" />
+ <exclude name="**/build.properties" />
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl.info">
+ <fileset dir="${skeletons.dir}/org.lwjgl.info/build/classes" casesensitive="yes">
+ </fileset>
+ </copy>
+
+ <copy todir="${build.plugins}/org.lwjgl.tools">
+ <fileset dir="${skeletons.dir}/org.lwjgl.tools" casesensitive="yes">
+ <exclude name="**/src/**" />
+ <exclude name="**/build/**" />
+ <exclude name="**/build.properties" />
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl.tools">
+ <fileset dir="${skeletons.dir}/org.lwjgl.tools/build/classes" casesensitive="yes">
+ </fileset>
+ </copy>
+
+ <copy todir="${build.plugins}/org.lwjgl.feature">
+ <fileset dir="${skeletons.dir}/org.lwjgl.feature" casesensitive="yes">
+ <exclude name="**/build.properties" />
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ <exclude name="**/*.template" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl.updatesite">
+ <fileset dir="${skeletons.dir}/org.lwjgl.updatesite" casesensitive="yes">
+ <exclude name="**/.settings/**" />
+ <exclude name="**/.classpath" />
+ <exclude name="**/.project" />
+ <exclude name="**/*.template" />
+ </fileset>
+ </copy>
+
+
+ <!-- *******************************************************************
+ *
+ * Unzip archives and move content into approriate plugins
+ *
+ ******************************************************************** -->
+ <unzip src="${archives.dir}/${lwjgl.zip}" dest="${build.temp}" />
+ <copy todir="${build.plugins}/org.lwjgl/native">
+ <fileset dir="${lwjgl.dir}/native" />
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl/">
+ <fileset dir="${lwjgl.dir}/jar">
+ <exclude name="**/lwjgl-debug.jar" />
+ </fileset>
+ </copy>
+ <copy todir="${build.plugins}/org.lwjgl/doc">
+ <fileset dir="${lwjgl.dir}/doc" />
+ </copy>
+ <packagelist property="bundle.export-package" pathsep=",${NL} ">
+ <fileset dir="${lwjgl.dir}/jar">
+ <exclude name="**/lwjgl-debug.jar" />
+ </fileset>
+ <patternset>
+ <exclude name="**/test/**" />
+ <exclude name="**/examples/**" />
+ </patternset>
+ </packagelist>
+ <pathconvert property="bundle.classpath.jars" pathsep=",${NL} ">
+ <map from="${basedir}/${lwjgl.dir}/jar/" to="" />
+ <fileset dir="${lwjgl.dir}/jar">
+ <exclude name="**/lwjgl-debug.jar" />
+ <exclude name="**/lwjgl_test.jar" />
+ </fileset>
+ </pathconvert>
+
+
+ <!-- *******************************************************************
+ *
+ * Build plugins
+ *
+ ******************************************************************** -->
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl
+ *
+ * Build manifest files, not using manifest task, since manifest wraps
+ * at the wrong positions (at least ant 1.7)
+ *
+ ******************************************************************** -->
+ <echo file="${build.plugins}/org.lwjgl/META-INF/MANIFEST.MF" encoding="UTF-8">Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Lightweight Java Game Library
+Bundle-SymbolicName: org.lwjgl
+Bundle-Version: ${normversion}
+Bundle-Vendor: ${bundle.vendor}
+Bundle-Activator: org.lwjgl.eclipse.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Export-Package: org.lwjgl.eclipse,${NL} ${bundle.export-package}
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ClassPath: .,${NL} ${bundle.classpath.jars}
+</echo>
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.doc
+ *
+ * Build manifest files, not using manifest task, since manifest wraps
+ * at the wrong positions (at least ant 1.7)
+ *
+ ******************************************************************** -->
+ <copy file="${archives.dir}/${lwjgl_docs.zip}" tofile="${build.plugins}/org.lwjgl.doc/doc.zip" />
+ <echo file="${build.plugins}/org.lwjgl.doc/META-INF/MANIFEST.MF" encoding="UTF-8">Manifest-Version: 1.0
+Bundle-Vendor: ${bundle.vendor}
+Bundle-Version: ${normversion}
+Bundle-SymbolicName: org.lwjgl.doc;singleton:=true
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.help;bundle-version="3.2.0"
+Eclipse-LazyStart: true
+</echo>
+
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.source
+ *
+ * Build manifest files, not using manifest task, since manifest wraps
+ * at the wrong positions (at least ant 1.7)
+ *
+ ******************************************************************** -->
+ <unzip src="${archives.dir}/${lwjgl_source.zip}" dest="${build.temp}" />
+ <!-- Build src zips for plugin org.lwjgl -->
+ <property name="org.lwjgl.src.dir" value="${build.plugins}/org.lwjgl.source/src/org.lwjgl_${normversion}" />
+ <mkdir dir="${org.lwjgl.src.dir}" />
+ <zip destfile="${org.lwjgl.src.dir}/lwjglsrc.zip">
+ <fileset dir="${lwjgl_source.dir}/generated" />
+ <fileset dir="${lwjgl_source.dir}/java">
+ <exclude name="org/lwjgl/util/**" />
+ </fileset>
+ </zip>
+ <zip destfile="${org.lwjgl.src.dir}/lwjgl_utilsrc.zip">
+ <fileset dir="${lwjgl_source.dir}/java">
+ <include name="org/lwjgl/util/**" />
+ <exclude name="org/lwjgl/util/applet/**" />
+ </fileset>
+ </zip>
+ <!--
+ <zip destfile="${org.lwjgl.src.dir}/lwjgl_util_applet.zip">
+ <fileset dir="${lwjgl_source.dir}/java">
+ <include name="org/lwjgl/util/applet/**" />
+ </fileset>
+ </zip>
+ -->
+ <zip destfile="${org.lwjgl.src.dir}/lwjgl_eclipse.zip">
+ <fileset dir="${skeletons.dir}/org.lwjgl/src/java" casesensitive="yes">
+ <include name="org/lwjgl/**" />
+ </fileset>
+ </zip>
+ <zip destfile="${org.lwjgl.src.dir}/lwjgl_tools.zip">
+ <fileset dir="${skeletons.dir}/org.lwjgl.tools/src/java" casesensitive="yes">
+ <include name="org/lwjgl/**" />
+ </fileset>
+ </zip>
+ <zip destfile="${org.lwjgl.src.dir}/lwjgl_info.zip">
+ <fileset dir="${skeletons.dir}/org.lwjgl.info/src/java" casesensitive="yes">
+ <include name="org/lwjgl/**" />
+ </fileset>
+ </zip>
+
+ <!-- Build manfest -->
+ <!-- not using manifest task, since manifest wraps at the wrong positions -->
+ <echo file="${build.plugins}/org.lwjgl.source/META-INF/MANIFEST.MF" encoding="UTF-8">Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Sources
+Bundle-Vendor: ${bundle.vendor}
+Bundle-Version: ${normversion}
+Bundle-SymbolicName: org.lwjgl.source;singleton:=true
+Bundle-Localization: plugin
+</echo>
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.info
+ *
+ * Build manifest files, not using manifest task, since manifest wraps
+ * at the wrong positions (at least ant 1.7)
+ *
+ ******************************************************************** -->
+ <echo file="${build.plugins}/org.lwjgl.info/META-INF/MANIFEST.MF" encoding="UTF-8">Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Test and Info View
+Bundle-Vendor: ${bundle.vendor}
+Bundle-Version: ${normversion}
+Bundle-SymbolicName: org.lwjgl.info;singleton:=true
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.ui.views,
+ org.eclipse.core.resources,
+ org.lwjgl
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+</echo>
+ <!-- Files are already in place -->
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.tools
+ *
+ * Build manifest files, not using manifest task, since manifest wraps
+ * at the wrong positions (at least ant 1.7)
+ *
+ ******************************************************************** -->
+ <!-- Build plugin org.lwjgl.tools -->
+ <echo file="${build.plugins}/org.lwjgl.tools/META-INF/MANIFEST.MF" encoding="UTF-8">Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: LWJGL Tools Plug-in
+Bundle-SymbolicName: org.lwjgl.tools;singleton:=true
+Bundle-Version: ${normversion}
+Bundle-Vendor: ${bundle.vendor}
+Bundle-Activator: org.lwjgl.tools.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources;bundle-version="3.4.0",
+ org.eclipse.jdt.core;bundle-version="3.4.0",
+ org.eclipse.jdt.ui;bundle-version="3.4.0",
+ org.lwjgl;bundle-version="${normversion}",
+ org.eclipse.jdt.launching;bundle-version="3.4.0"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+</echo>
+ <!-- Files are already in place -->
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.feature
+ *
+ ******************************************************************** -->
+ <!-- Build org.lwjgl.feature -->
+ <copy file="${skeletons.dir}/org.lwjgl.feature/feature.xml.template" tofile="${build.plugins}/org.lwjgl.feature/feature.xml" encoding="UTF-8" overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${normversion}" />
+ <filter token="PROVIDERNAME" value="${bundle.vendor}" />
+ <filter token="UPDATEURL" value="${eclipse.updatesite}" />
+ </filterset>
+ </copy>
+
+
+
+ <!-- *******************************************************************
+ *
+ * org.lwjgl.feature.sdk
+ *
+ *
+ ******************************************************************** -->
+ <!-- Build org.lwjgl.feature -->
+ <copy file="${skeletons.dir}/org.lwjgl.feature.sdk/feature.xml.template" tofile="${build.plugins}/org.lwjgl.feature.sdk/feature.xml" encoding="UTF-8" overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${normversion}" />
+ <filter token="PROVIDERNAME" value="${bundle.vendor}" />
+ <filter token="UPDATEURL" value="${eclipse.updatesite}" />
+ </filterset>
+ </copy>
+
+ <!-- *******************************************************************
+ *
+ * Build update site, i.e. zip all plugins and feature with version
+ * number to appropriate place
+ *
+ ******************************************************************** -->
+ <!-- Build update site -->
+ <copy file="${skeletons.dir}/org.lwjgl.updatesite/site.xml.template" tofile="${build.plugins}/org.lwjgl.updatesite/site.xml" encoding="UTF-8" overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${normversion}" />
+ <filter token="PROVIDERNAME" value="${bundle.vendor}" />
+ <filter token="UPDATEURL" value="${eclipse.updatesite}" />
+ </filterset>
+ </copy>
+ <mkdir dir="${build.plugins}/org.lwjgl.updatesite/plugins" />
+ <mkdir dir="${build.plugins}/org.lwjgl.updatesite/features" />
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl_${normversion}.jar" manifest="${build.plugins}/org.lwjgl/META-INF/MANIFEST.MF">
+ <fileset dir="${build.plugins}/org.lwjgl" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.doc_${normversion}.jar" manifest="${build.plugins}/org.lwjgl.doc/META-INF/MANIFEST.MF">
+ <fileset dir="${build.plugins}/org.lwjgl.doc" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.source_${normversion}.jar" manifest="${build.plugins}/org.lwjgl.source/META-INF/MANIFEST.MF">
+ <fileset dir="${build.plugins}/org.lwjgl.source" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.info_${normversion}.jar" manifest="${build.plugins}/org.lwjgl.info/META-INF/MANIFEST.MF">
+ <fileset dir="${build.plugins}/org.lwjgl.info" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.tools_${normversion}.jar" manifest="${build.plugins}/org.lwjgl.tools/META-INF/MANIFEST.MF">
+ <fileset dir="${build.plugins}/org.lwjgl.tools" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/features/org.lwjgl_${normversion}.jar">
+ <fileset dir="${build.plugins}/org.lwjgl.feature" casesensitive="yes" />
+ </jar>
+ <jar destfile="${build.plugins}/org.lwjgl.updatesite/features/org.lwjgl.sdk_${normversion}.jar">
+ <fileset dir="${build.plugins}/org.lwjgl.feature.sdk" casesensitive="yes" />
+ </jar>
+
+ <!-- *******************************************************************
+ *
+ * Sign plugins and feature
+ *
+ ******************************************************************** -->
+
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/features/org.lwjgl_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/features/org.lwjgl.sdk_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.doc_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.source_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl.info_${normversion}.jar" keystore="${keystore}" alias="${alias}" storepass="${storepass}" keypass="${keypass}" />
+ <signjar jar="${build.plugins}/org.lwjgl.updatesite/plugins/org.lwjgl....
[truncated message content] |