Permalink
Browse files

added in eclipse project structure

  • Loading branch information...
1 parent 05fec6a commit e2bccf038e09b1a661cddc0a64d572236532d8af @alihelmy committed Apr 22, 2012
View
@@ -0,0 +1,10 @@
+!SESSION 2012-04-22 16:28:49.157 -----------------------------------------------
+eclipse.buildId=I20120315-1300
+java.version=1.6.0_26
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
+Framework arguments: -product org.eclipse.epp.package.java.product
+Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
+
+!ENTRY org.eclipse.core.resources 2 10035 2012-04-22 16:28:51.949
+!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
Binary file not shown.
@@ -1,2 +1,3 @@
+ENABLE_ANIMATIONS=false
eclipse.preferences.version=1
showIntro=false
@@ -1,2 +1,2 @@
eclipse.preferences.version=1
-task-tag-projects-already-scanned=LessonOne
+task-tag-projects-already-scanned=LessonOne,libs
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,13 @@
INDEX VERSION 1.126+C:\Users\ali\Dropbox\work\lwjglTutorial\.metadata\.plugins\org.eclipse.jdt.core
-2382864401.index
+1195944079.index
+1789169078.index
+3730526690.index
3452083210.index
+4251467834.index
+3585733931.index
+3277441100.index
+2877109961.index
+3270002986.index
+3000053649.index
4088397835.index
+2481996896.index
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1335103885651_0" label="Window Working Set" name="Aggregate for window 1335103885650"/>
+<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1335104942720_1" label="Window Working Set" name="Aggregate for window 1335104942720"/>
</workingSetManager>
View
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- WARNING: Eclipse auto-generated file.
+ Any modifications will be overwritten.
+ To include a user specific buildfile here, simply create one in the same
+ directory with the processing instruction <?eclipse.ant.import?>
+ as the first entry and export the buildfile again. -->
+<project basedir="." default="build" name="LessonOne">
+ <property environment="env"/>
+ <property name="libs.location" value="../libs"/>
+ <property name="debuglevel" value="source,lines,vars"/>
+ <property name="target" value="1.6"/>
+ <property name="source" value="1.6"/>
+ <path id="LessonOne.classpath">
+ <pathelement location="bin"/>
+ <pathelement location="${libs.location}/lwjgl_util.jar"/>
+ <pathelement location="${libs.location}/lwjgl.jar"/>
+ </path>
+ <target name="init">
+ <mkdir dir="bin"/>
+ <copy includeemptydirs="false" todir="bin">
+ <fileset dir="src">
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
+ </target>
+ <target name="clean">
+ <delete dir="bin"/>
+ </target>
+ <target depends="clean" name="cleanall"/>
+ <target depends="build-subprojects,build-project" name="build"/>
+ <target name="build-subprojects"/>
+ <target depends="init" name="build-project">
+ <echo message="${ant.project.name}: ${ant.file}"/>
+ <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
+ <src path="src"/>
+ <classpath refid="LessonOne.classpath"/>
+ </javac>
+ </target>
+ <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
+ <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
+ <copy todir="${ant.library.dir}">
+ <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
+ </copy>
+ <unzip dest="${ant.library.dir}">
+ <patternset includes="jdtCompilerAdapter.jar"/>
+ <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
+ </unzip>
+ </target>
+ <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
+ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+ <antcall target="build"/>
+ </target>
+ <target name="LessonOne">
+ <java classname="lwjglTutorial.lessonOne.LessonOne" failonerror="true" fork="yes">
+ <classpath refid="LessonOne.classpath"/>
+ </java>
+ </target>
+</project>

0 comments on commit e2bccf0

Please sign in to comment.