git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@11111 75d07b2b-3a1a-0410-a2c5-0572b91ccdcaexperimental
commit
30c2ee580b
@ -1,89 +0,0 @@ |
|||||||
import org.gradle.api.artifacts.* |
|
||||||
|
|
||||||
apply plugin: 'base' // To add "clean" task to the root project. |
|
||||||
//apply plugin: 'java-library-distribution' |
|
||||||
|
|
||||||
// This is applied to all sub projects |
|
||||||
subprojects { |
|
||||||
// Don't add to native builds |
|
||||||
// if(!project.name.endsWith('native')){ |
|
||||||
apply from: rootProject.file('common.gradle') |
|
||||||
// } |
|
||||||
} |
|
||||||
|
|
||||||
task(run, dependsOn: ':jme3-examples:build', type: JavaExec) { |
|
||||||
main = 'jme3test.TestChooser' |
|
||||||
classpath = files(subprojects.collect {project -> |
|
||||||
project.sourceSets*.compileClasspath}) |
|
||||||
// classpath = sourceSets.main.runtimeClasspath |
|
||||||
// args 'mrhaki' |
|
||||||
// systemProperty 'simple.message', 'Hello ' |
|
||||||
} |
|
||||||
|
|
||||||
defaultTasks 'run' |
|
||||||
|
|
||||||
task libDist(dependsOn: subprojects.build) << { |
|
||||||
// description 'Builds and copies the engine binaries, sources and javadoc to build/libDist' |
|
||||||
File libFolder = mkdir("$buildDir/libDist/lib") |
|
||||||
File sourceFolder = mkdir("$buildDir/libDist/sources") |
|
||||||
File javadocFolder = mkdir("$buildDir/libDist/javadoc") |
|
||||||
subprojects.each {project -> |
|
||||||
if(project.ext.mainClass == ''){ |
|
||||||
project.tasks.withType(Jar).each {archiveTask -> |
|
||||||
if(archiveTask.classifier == "sources"){ |
|
||||||
copy { |
|
||||||
from archiveTask.archivePath |
|
||||||
into sourceFolder |
|
||||||
} |
|
||||||
} else if(archiveTask.classifier == "javadoc"){ |
|
||||||
copy { |
|
||||||
from archiveTask.archivePath |
|
||||||
into javadocFolder |
|
||||||
} |
|
||||||
} else{ |
|
||||||
copy { |
|
||||||
from archiveTask.archivePath |
|
||||||
into libFolder |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
task copyLibs(type: Copy){ |
|
||||||
// description 'Copies the engine dependencies to build/libDist' |
|
||||||
from { |
|
||||||
subprojects*.configurations*.compile*.copyRecursive({ !(it instanceof ProjectDependency); })*.resolve() |
|
||||||
} |
|
||||||
|
|
||||||
into "$buildDir/libDist/lib-ext" //buildDir.path + '/' + libsDirName + '/lib' |
|
||||||
} |
|
||||||
|
|
||||||
task dist{ |
|
||||||
description 'Creates a distribution of all jme3 binaries, sources, javadoc and external libraries under build/libDist' |
|
||||||
} |
|
||||||
dist.dependsOn libDist |
|
||||||
dist.dependsOn copyLibs |
|
||||||
|
|
||||||
task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') { |
|
||||||
title = 'All modules' |
|
||||||
destinationDir = new File(project.buildDir, 'merged-javadoc') |
|
||||||
|
|
||||||
// Note: The closures below are executed lazily. |
|
||||||
source subprojects.collect {project -> |
|
||||||
project.sourceSets*.allJava |
|
||||||
} |
|
||||||
classpath = files(subprojects.collect {project -> |
|
||||||
project.sourceSets*.compileClasspath}) |
|
||||||
// source { |
|
||||||
// subprojects*.sourceSets*.main*.allSource |
|
||||||
// } |
|
||||||
// classpath.from { |
|
||||||
// subprojects*.configurations*.compile*.copyRecursive({ !(it instanceof ProjectDependency); })*.resolve() |
|
||||||
// } |
|
||||||
} |
|
||||||
|
|
||||||
task wrapper(type: Wrapper, description: 'Creates and deploys the Gradle wrapper to the current directory.') { |
|
||||||
gradleVersion = '1.10' |
|
||||||
} |
|
@ -0,0 +1,147 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
|
||||||
|
<project name="jME3-SDK" default="default" basedir="."> |
||||||
|
<description>Builds, tests, and runs the jMonkeyEngine3 SDK.</description> |
||||||
|
<fail message="Please build using Ant 1.7.1 or higher."> |
||||||
|
<condition> |
||||||
|
<not> |
||||||
|
<antversion atleast="1.7.1"/> |
||||||
|
</not> |
||||||
|
</condition> |
||||||
|
</fail> |
||||||
|
|
||||||
|
<target name="default" depends="zip"/> |
||||||
|
|
||||||
|
<target name="build" description="Builds the complete SDK, copies over engine libraries." depends="-check-platform, -update-sdk-platform-config"> |
||||||
|
<ant dir="engine" target="update-sdk"/> |
||||||
|
<ant dir="sdk" target="build"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="build-engine" description="Builds the engine libraries only"> |
||||||
|
<ant dir="engine" target="clean"/> |
||||||
|
<ant dir="engine" target="jar"/> |
||||||
|
<ant dir="engine" target="javadoc"/> |
||||||
|
<ant dir="engine" target="create-zip-distribution"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="clean" description="Clean all build products" depends="-check-platform, -update-sdk-platform-config"> |
||||||
|
<ant dir="engine" target="clean"/> |
||||||
|
<ant dir="sdk" target="clean"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="run" description="Runs the SDK" depends="-check-platform, -update-sdk-platform-config"> |
||||||
|
<ant dir="engine" target="update-sdk"/> |
||||||
|
<ant dir="sdk" target="run"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="zip" description="Builds the complete SDK and packs it as a ZIP file"> |
||||||
|
<ant dir="engine" target="update-sdk"/> |
||||||
|
<ant dir="sdk" target="build-zip"/> |
||||||
|
<property file="sdk/nbproject/project.properties"/> |
||||||
|
<move file="sdk/dist/${app.name}.zip" tofile="./jMonkeyEngine-SDK-${app.version}-NoBundles.zip"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="update-platform" description="Updates the base platform to the latest available build" depends="-remove-platform,-check-platform"/> |
||||||
|
|
||||||
|
<target name="-check-platform" depends="-check-platform-present" unless="platform.present"> |
||||||
|
<property file="sdk/nbproject/project.properties"/> |
||||||
|
<echo message="Downloading base platform, this only has to be done once."/> |
||||||
|
<get src="${netbeans.platform.url}" dest="./platform-base.zip" skipexisting="false"/> |
||||||
|
<unzip src="platform-base.zip" dest="./"/> |
||||||
|
<antcall target="-update-sdk-platform-config"/> |
||||||
|
<delete file="platform-base.zip"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-check-platform-present"> |
||||||
|
<available file="sdk/nbproject/private/platform-private.properties" property="platform.present"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-remove-platform"> |
||||||
|
<delete dir="netbeans" failonerror="false"/> |
||||||
|
<delete file="sdk/nbproject/private/platform-private.properties" failonerror="false"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="create-platform-config" depends="-update-sdk-platform-config"> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-update-sdk-platform-config"> |
||||||
|
<property name="nbplatform.dir" location="netbeans"/> |
||||||
|
<mkdir dir="sdk/nbproject/private"/> |
||||||
|
<echo file="sdk/nbproject/private/platform-private.properties" |
||||||
|
message="nbplatform.default.netbeans.dest.dir=${nbplatform.dir}
"/> |
||||||
|
<echo file="sdk/nbproject/private/platform-private.properties" |
||||||
|
message="nbplatform.default.harness.dir=${nbplatform.dir}${file.separator}harness
" append="true"/> |
||||||
|
<replace file="sdk/nbproject/private/platform-private.properties" token="\" value="\\"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<!-- |
||||||
|
**************************************************************** |
||||||
|
Only Relevant for building nightly on Hudson server from here on |
||||||
|
**************************************************************** |
||||||
|
--> |
||||||
|
|
||||||
|
<target name="hudson-nightly" depends="-hudson-revert-changes, -check-platform, -update-sdk-platform-config, -hudson-build-engine"> |
||||||
|
<!--ant dir="engine" target="copy-javadoc"/--> |
||||||
|
<ant dir="engine" target="create-zip-distribution"/> |
||||||
|
<ant dir="sdk" target="hudson-nightly"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="hudson-stable" depends="-hudson-revert-changes, -check-platform, -update-sdk-platform-config, -hudson-build-engine"> |
||||||
|
<!--ant dir="engine" target="dist"/--> |
||||||
|
<ant dir="engine" target="create-zip-distribution"/> |
||||||
|
<ant dir="sdk" target="hudson-stable"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="hudson-release" depends="-hudson-revert-changes, -check-platform, -update-sdk-platform-config, -hudson-build-engine"> |
||||||
|
<ant dir="sdk" target="hudson-release"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-hudson-revert-changes"> |
||||||
|
<exec executable="svn" dir="engine" failonerror="true"> |
||||||
|
<arg value="cleanup" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="engine"> |
||||||
|
<arg value="revert" /> |
||||||
|
<arg value="-R" /> |
||||||
|
<arg value="." /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="engine"> |
||||||
|
<arg value="cleanup" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="engine"> |
||||||
|
<arg value="update" /> |
||||||
|
</exec> |
||||||
|
|
||||||
|
<exec executable="svn" dir="sdk"> |
||||||
|
<arg value="cleanup" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="sdk"> |
||||||
|
<arg value="revert" /> |
||||||
|
<arg value="." /> |
||||||
|
<arg value="-R" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="sdk"> |
||||||
|
<arg value="cleanup" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="sdk"> |
||||||
|
<arg value="update" /> |
||||||
|
</exec> |
||||||
|
|
||||||
|
<exec executable="svn" dir="."> |
||||||
|
<arg value="unlock" /> |
||||||
|
<arg value="engine" /> |
||||||
|
</exec> |
||||||
|
<exec executable="svn" dir="."> |
||||||
|
<arg value="unlock" /> |
||||||
|
<arg value="sdk" /> |
||||||
|
</exec> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-hudson-build-engine"> |
||||||
|
<!--ant dir="engine" target="build-bullet-natives"/--> |
||||||
|
<ant dir="engine" target="jar"/> |
||||||
|
<ant dir="engine" target="javadoc"/> |
||||||
|
<ant dir="engine" target="update-sdk-nobuild"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
</project> |
@ -1,84 +0,0 @@ |
|||||||
// |
|
||||||
// This file is to be applied to every subproject. |
|
||||||
// |
|
||||||
|
|
||||||
apply plugin: 'java' |
|
||||||
apply plugin: 'maven' |
|
||||||
|
|
||||||
//String jmeVersion = '3.0.10' |
|
||||||
//String jmeVersion = rootProject.version; |
|
||||||
|
|
||||||
String mavenGroupId = 'com.jme3' |
|
||||||
String mavenVersion = jmeVersion + '-SNAPSHOT' |
|
||||||
|
|
||||||
sourceCompatibility = '1.5' |
|
||||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
|
||||||
|
|
||||||
repositories { |
|
||||||
mavenCentral(); |
|
||||||
maven{ |
|
||||||
url "http://nifty-gui.sourceforge.net/nifty-maven-repo" |
|
||||||
} |
|
||||||
// You may define additional repositories, or even remove "mavenCentral()". |
|
||||||
// Read more about repositories here: |
|
||||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:repositories |
|
||||||
} |
|
||||||
|
|
||||||
dependencies { |
|
||||||
// Adding dependencies here will add the dependencies to each subproject. |
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.10' |
|
||||||
} |
|
||||||
|
|
||||||
String mavenArtifactId = name |
|
||||||
|
|
||||||
group = mavenGroupId |
|
||||||
version = mavenVersion |
|
||||||
|
|
||||||
//jar.doFirst{ |
|
||||||
// manifest { |
|
||||||
// attributes('Manifest-Version' : '1.0', |
|
||||||
// 'Created-By' : vendor, |
|
||||||
// 'Specification-Title' : appName, |
|
||||||
// 'Specification-Version' : version, |
|
||||||
// 'Specification-Vendor' : vendor, |
|
||||||
// 'Implementation-Title' : appName, |
|
||||||
// 'Implementation-Version' : version, |
|
||||||
// 'Implementation-Vendor' : vendor, |
|
||||||
// 'Main-Class' : getProperty('mainClass'), |
|
||||||
// 'Class-Path' : configurations.compile.collect { 'lib/' + it.getName() }.join(' ') |
|
||||||
// ) |
|
||||||
// } |
|
||||||
//} |
|
||||||
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes, description: 'Creates a jar from the source files.') { |
|
||||||
classifier = 'sources' |
|
||||||
from sourceSets*.allSource |
|
||||||
} |
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc, description: 'Creates a jar from the javadoc files.') { |
|
||||||
classifier = 'javadoc' |
|
||||||
from javadoc.destinationDir |
|
||||||
} |
|
||||||
|
|
||||||
artifacts { |
|
||||||
archives jar |
|
||||||
archives sourcesJar |
|
||||||
// archives javadocJar |
|
||||||
} |
|
||||||
|
|
||||||
configure(install.repositories.mavenInstaller) { |
|
||||||
pom.project { |
|
||||||
groupId = mavenGroupId |
|
||||||
artifactId = mavenArtifactId |
|
||||||
version = mavenVersion |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
task createFolders(description: 'Creates the source folders if they do not exist.') doLast { |
|
||||||
// sourceSets*.allSource*.srcDirs*.each { File srcDir -> |
|
||||||
// if (!srcDir.isDirectory()) { |
|
||||||
// println "Creating source folder: ${srcDir}" |
|
||||||
// srcDir.mkdirs() |
|
||||||
// } |
|
||||||
// } |
|
||||||
} |
|
@ -0,0 +1 @@ |
|||||||
|
X-Comment: jMonkeyEngine 3.0 |
Binary file not shown.
@ -0,0 +1,669 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
|
||||||
|
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" name="jMonkeyEngine3" default="default" basedir="."> |
||||||
|
<description>Builds, tests, and runs the jMonkeyEngine3 core engine.</description> |
||||||
|
<import file="nbproject/build-impl.xml"/> |
||||||
|
|
||||||
|
<target depends="jar,javadoc" description="Build and test whole project." name="default"/> |
||||||
|
|
||||||
|
<target name="build-bullet-natives" description="uses native build tools to build the bulletjme binary (read bullet-native-build.txt for more info)" depends="jar"> |
||||||
|
<ant antfile="nbproject/build-bullet-natives.xml" target="build-bullet-natives"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="run-bullet-native" description="runs the jMonkeyEngine3 demos using native bullet" depends="init"> |
||||||
|
<copy file="${dist.dir}/opt/native-bullet/jME3-bullet-natives.jar" todir="${dist.dir}/lib" failonerror="false"/> |
||||||
|
<copy file="${dist.dir}/opt/native-bullet/jME3-bullet.jar" todir="${dist.dir}/lib" failonerror="false"/> |
||||||
|
<delete file="${dist.dir}/lib/jME3-jbullet.jar" failonerror="false"/> |
||||||
|
<exec executable="java" dir="dist"> |
||||||
|
<arg line="${run.jvmargs} -jar jMonkeyEngine3.jar"/> |
||||||
|
</exec> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="build-openal-soft-natives" description="uses native build tools to build the openalsoftjme shared library for Android" depends="jar"> |
||||||
|
<ant antfile="nbproject/build-openal-soft-natives.xml" target="build-openal-soft-natives"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-do-compile" description="Overrides default compile target to separate the build into folders" depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources"> |
||||||
|
<mkdir dir="${build.dir}/core"/> |
||||||
|
<mkdir dir="${build.dir}/effects"/> |
||||||
|
<mkdir dir="${build.dir}/networking"/> |
||||||
|
<mkdir dir="${build.dir}/plugins"/> |
||||||
|
<mkdir dir="${build.dir}/jogg"/> |
||||||
|
<mkdir dir="${build.dir}/blender"/> |
||||||
|
<mkdir dir="${build.dir}/desktop"/> |
||||||
|
<mkdir dir="${build.dir}/terrain"/> |
||||||
|
<mkdir dir="${build.dir}/jbullet"/> |
||||||
|
<mkdir dir="${build.dir}/bullet"/> |
||||||
|
<mkdir dir="${build.dir}/niftygui"/> |
||||||
|
<mkdir dir="${build.dir}/jogl"/> |
||||||
|
<mkdir dir="${build.dir}/lwjgl"/> |
||||||
|
<mkdir dir="${build.dir}/android"/> |
||||||
|
<mkdir dir="${build.dir}/ios"/> |
||||||
|
|
||||||
|
<echo>Compile Core</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/core" |
||||||
|
srcdir="${src.core.dir}:${src.core-data.dir}:${src.core-plugins.dir}:${src.tools.dir}" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/core"> |
||||||
|
<fileset dir="${src.core.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.core-data.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.core-plugins.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.tools.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Effects</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/effects" |
||||||
|
srcdir="${src.core-effects.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/effects"> |
||||||
|
<fileset dir="${src.core-effects.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Networking</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/networking" |
||||||
|
srcdir="${src.networking.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/networking"> |
||||||
|
<fileset dir="${src.networking.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Plugins</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/plugins" |
||||||
|
srcdir="${src.ogre.dir}:${src.xml.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/plugins"> |
||||||
|
<fileset dir="${src.ogre.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.xml.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Jogg</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/jogg" |
||||||
|
srcdir="${src.jogg.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/jogg"> |
||||||
|
<fileset dir="${src.jogg.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Desktop</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/desktop" |
||||||
|
srcdir="${src.desktop.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/desktop"> |
||||||
|
<fileset dir="${src.desktop.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Blender Loader</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/blender" |
||||||
|
srcdir="${src.blender.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/plugins:${build.dir}/desktop:${build.dir}/effects" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/blender"> |
||||||
|
<fileset dir="${src.blender.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Terrain</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/terrain" |
||||||
|
srcdir="${src.terrain.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/desktop" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/terrain"> |
||||||
|
<fileset dir="${src.terrain.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile jBullet</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/jbullet" |
||||||
|
srcdir="${src.jbullet.dir}:${src.bullet-common.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/terrain" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/jbullet"> |
||||||
|
<fileset dir="${src.jbullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.bullet-common.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Bullet</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/bullet" |
||||||
|
srcdir="${src.bullet.dir}:${src.bullet-common.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/terrain" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/bullet"> |
||||||
|
<fileset dir="${src.bullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
<fileset dir="${src.bullet-common.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Nifty</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/niftygui" |
||||||
|
srcdir="${src.niftygui.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/niftygui"> |
||||||
|
<fileset dir="${src.niftygui.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Lwjgl</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/lwjgl" |
||||||
|
srcdir="${src.lwjgl.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/desktop" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/lwjgl"> |
||||||
|
<fileset dir="${src.lwjgl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile JOGL</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/jogl" |
||||||
|
srcdir="${src.jogl.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/desktop" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/jogl"> |
||||||
|
<fileset dir="${src.jogl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Android</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/android" |
||||||
|
srcdir="${src.android.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/plugins" |
||||||
|
gensrcdir="${build.generated.sources.dir}" |
||||||
|
excludes="${excludes},**/jme3test/**" |
||||||
|
/> |
||||||
|
<copy todir="${build.dir}/android"> |
||||||
|
<fileset dir="${src.android.dir}" excludes="${build.classes.excludes},${excludes},**/jme3test/**,**/res/**" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile iOS</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.dir}/ios" |
||||||
|
srcdir="${src.ios.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/plugins" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.dir}/ios"> |
||||||
|
<fileset dir="${src.ios.dir}" excludes="${build.classes.excludes},${excludes},**/jme3test/**,**/res/**" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Compile Tests</echo> |
||||||
|
<j2seproject3:javac |
||||||
|
destdir="${build.classes.dir}" |
||||||
|
srcdir="${src.test.dir}" |
||||||
|
classpath="${javac.classpath}:${build.dir}/core:${build.dir}/effects:${build.dir}/networking:${build.dir}/plugins:${build.dir}/jogg:${build.dir}/desktop:${build.dir}/blender:${build.dir}/terrain:${build.dir}/jbullet:${build.dir}/niftygui" |
||||||
|
gensrcdir="${build.generated.sources.dir}"/> |
||||||
|
<copy todir="${build.classes.dir}"> |
||||||
|
<fileset dir="${src.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> |
||||||
|
</copy> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-pre-jar" description="Prepares the separate jME3-xxx.jar files and modifies properties for libraries to be used for lib/ folder, Manifest etc."> |
||||||
|
<echo>Building Engine JAR files..</echo> |
||||||
|
<jar jarfile="${build.dir}/jME3-core.jar" basedir="${build.dir}/core" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-effects.jar" basedir="${build.dir}/effects" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-networking.jar" basedir="${build.dir}/networking" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-plugins.jar" basedir="${build.dir}/plugins" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-jogg.jar" basedir="${build.dir}/jogg" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-desktop.jar" basedir="${build.dir}/desktop" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-blender.jar" basedir="${build.dir}/blender" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-terrain.jar" basedir="${build.dir}/terrain" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-jbullet.jar" basedir="${build.dir}/jbullet" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-bullet.jar" basedir="${build.dir}/bullet" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-niftygui.jar" basedir="${build.dir}/niftygui" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-lwjgl.jar" basedir="${build.dir}/lwjgl" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-jogl.jar" basedir="${build.dir}/jogl" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-android.jar" basedir="${build.dir}/android" compress="true"/> |
||||||
|
<jar jarfile="${build.dir}/jME3-ios.jar" basedir="${build.dir}/ios" compress="true"/> |
||||||
|
|
||||||
|
<echo>Building TestData JAR file..</echo> |
||||||
|
<jar jarfile="${build.dir}/jME3-testdata.jar" basedir="test-data" compress="true"/> |
||||||
|
|
||||||
|
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/> |
||||||
|
<property location="${build.dir}" name="build.dir.resolved"/> |
||||||
|
|
||||||
|
<property location="test-data" name="testdata.dir.resolved"/> |
||||||
|
<property location="lib/android/android.jar" name="android.jar.resolved"/> |
||||||
|
<property location="lib/openal-soft/jME3-openal-soft-natives-android.jar" name="openal-soft.jar.resolved"/> |
||||||
|
|
||||||
|
<pathconvert property="run.classpath.without.build.classes.dir"> |
||||||
|
<path path="${run.classpath}"/> |
||||||
|
|
||||||
|
<map from="${build.classes.dir.resolved}" to=""/> |
||||||
|
<map from="${build.dir.resolved}/core" to="${build.dir}/jME3-core.jar"/> |
||||||
|
<map from="${build.dir.resolved}/effects" to="${build.dir}/jME3-effects.jar"/> |
||||||
|
<map from="${build.dir.resolved}/networking" to="${build.dir}/jME3-networking.jar"/> |
||||||
|
<map from="${build.dir.resolved}/plugins" to="${build.dir}/jME3-plugins.jar"/> |
||||||
|
<map from="${build.dir.resolved}/jogg" to="${build.dir}/jME3-jogg.jar"/> |
||||||
|
<map from="${build.dir.resolved}/desktop" to="${build.dir}/jME3-desktop.jar"/> |
||||||
|
<map from="${build.dir.resolved}/blender" to="${build.dir}/jME3-blender.jar"/> |
||||||
|
<map from="${build.dir.resolved}/terrain" to="${build.dir}/jME3-terrain.jar"/> |
||||||
|
<map from="${build.dir.resolved}/jbullet" to="${build.dir}/jME3-jbullet.jar"/> |
||||||
|
<map from="${build.dir.resolved}/bullet" to="${build.dir}/jME3-bullet.jar"/> |
||||||
|
<map from="${build.dir.resolved}/niftygui" to="${build.dir}/jME3-niftygui.jar"/> |
||||||
|
<map from="${build.dir.resolved}/lwjgl" to="${build.dir}/jME3-lwjgl.jar"/> |
||||||
|
<map from="${build.dir.resolved}/jogl" to="${build.dir}/jME3-jogl.jar"/> |
||||||
|
<map from="${build.dir.resolved}/android" to=""/> |
||||||
|
<map from="${build.dir.resolved}/openal-soft" to=""/> |
||||||
|
<map from="${build.dir.resolved}/ios" to=""/> |
||||||
|
<map from="${testdata.dir.resolved}" to="${build.dir.resolved}/jME3-testdata.jar"/> |
||||||
|
<map from="${android.jar.resolved}" to=""/> |
||||||
|
|
||||||
|
</pathconvert> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-post-jar"> |
||||||
|
<echo>Moving optional packages</echo> |
||||||
|
<mkdir dir="${dist.dir}/opt"/> |
||||||
|
<mkdir dir="${dist.dir}/opt/native-bullet"/> |
||||||
|
<mkdir dir="${dist.dir}/opt/jogl"/> |
||||||
|
<!--ant antfile="nbproject/build-bullet-natives.xml" target="bullet-api-diff"/--> |
||||||
|
<!--move file="bullet-api-diff.html" todir="${dist.dir}/opt/native-bullet" overwrite="true"/--> |
||||||
|
<move file="${dist.dir}/lib/jME3-bullet.jar" todir="${dist.dir}/opt/native-bullet" overwrite="true"/> |
||||||
|
<move file="${dist.dir}/lib/jME3-bullet-natives.jar" todir="${dist.dir}/opt/native-bullet" overwrite="true"/> |
||||||
|
<copy file="lib/bullet/jME3-bullet-natives-android.jar" todir="${dist.dir}/opt/native-bullet" overwrite="true"/> |
||||||
|
|
||||||
|
<move file="${dist.dir}/lib/jME3-jogl.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-linux-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-linux-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-linux-armv6.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-linux-armv6hf.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-solaris-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-solaris-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-macosx-universal.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-windows-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/joal-natives-windows-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-linux-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-linux-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-linux-armv6.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-linux-armv6hf.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-solaris-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-solaris-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-macosx-universal.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-windows-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/gluegen-rt-natives-windows-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-linux-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-linux-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-linux-armv6.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-linux-armv6hf.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-solaris-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-solaris-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-macosx-universal.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-windows-i586.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
<copy file="${dist.dir}/../lib/jogl/jogl-all-natives-windows-amd64.jar" todir="${dist.dir}/opt/jogl" overwrite="true"/> |
||||||
|
|
||||||
|
<mkdir dir="${dist.dir}/opt/android"/> |
||||||
|
<copy file="${build.dir}/jME3-android.jar" todir="${dist.dir}/opt/android" overwrite="true"/> |
||||||
|
<mkdir dir="${dist.dir}/opt/native-openal-soft"/> |
||||||
|
<copy file="lib/openal-soft/jME3-openal-soft-natives-android.jar" todir="${dist.dir}/opt/native-openal-soft" overwrite="true"/> |
||||||
|
<mkdir dir="${dist.dir}/opt/ios"/> |
||||||
|
<copy file="${build.dir}/jME3-ios.jar" todir="${dist.dir}/opt/ios" overwrite="true"/> |
||||||
|
</target> |
||||||
|
|
||||||
|
<!-- |
||||||
|
**************************************************************** |
||||||
|
Only Relevant for building the SDK from here on |
||||||
|
**************************************************************** |
||||||
|
--> |
||||||
|
|
||||||
|
<target name="update-sdk" depends="jar, javadoc" description="convenience target to transfer jme3 libraries to sdk (jMonkeyPlatform)"> |
||||||
|
<antcall target="-do-update-sdk" inheritall="true"> |
||||||
|
<param name="jmp_dir" value="../sdk/"/> |
||||||
|
</antcall> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-do-update-sdk"> |
||||||
|
<fileset id="jme3-jars" dir="build"> |
||||||
|
<include name="**/jME3**.jar"/> |
||||||
|
<exclude name="**/jME3-testdata.jar"/> |
||||||
|
<exclude name="**/jME3-bullet-natives.jar"/> |
||||||
|
<exclude name="**/jME3-bullet-natives-android.jar"/> |
||||||
|
<exclude name="**/jME3-openal-soft-natives-android.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-sdk-jars" dir="build"> |
||||||
|
<include name="**/jME3**.jar"/> |
||||||
|
<exclude name="**/jME3-android.jar"/> |
||||||
|
<exclude name="**/jME3-testdata.jar"/> |
||||||
|
<exclude name="**/jME3-bullet.jar"/> |
||||||
|
<exclude name="**/jME3-bullet-natives.jar"/> |
||||||
|
<exclude name="**/jME3-bullet-natives-android.jar"/> |
||||||
|
<exclude name="**/jME3-openal-soft-natives-android.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-bullet-native-jars" dir="${dist.dir}/opt/native-bullet"> |
||||||
|
<include name="**/jME3-bullet-native**.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-openal-soft-natives-jars" dir="${dist.dir}/opt/native-openal-soft"> |
||||||
|
<include name="**/jME3-openal-soft-natives-android.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-testdata-jars" dir="build"> |
||||||
|
<include name="**/jME3-testdata.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-lwjgl-native-jars" dir="${dist.dir}/lib"> |
||||||
|
<include name="**/jME3-lwjgl-natives.jar"/> |
||||||
|
</fileset> |
||||||
|
<fileset id="jme3-external-libraries" dir="${dist.dir}/lib/"> |
||||||
|
<exclude name="jME3-**"/> |
||||||
|
<exclude name="**/nifty-examples.jar"/> |
||||||
|
</fileset> |
||||||
|
<echo>Clearing old files</echo> |
||||||
|
<delete dir="${jmp_dir}/JME3TestsTemplate/src/"/> |
||||||
|
<delete dir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/"/> |
||||||
|
<delete dir="${jmp_dir}/jme3-core-libraries/release/modules/ext/"/> |
||||||
|
<delete dir="${jmp_dir}/jme3-project-libraries/release/libs/"/> |
||||||
|
<delete dir="${jmp_dir}/jme3-project-baselibs/release/libs/"/> |
||||||
|
<delete dir="${jmp_dir}/jme3-project-testdata/release/libs/"/> |
||||||
|
|
||||||
|
<echo>Copying jMonkeyPlatform jME3 libs</echo> |
||||||
|
<copy toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
||||||
|
<fileset refid="jme3-sdk-jars"/> |
||||||
|
<!--natives need to be in jme3 package for jme to work in jMP--> |
||||||
|
<fileset refid="jme3-lwjgl-native-jars"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying jMonkeyPlatform external libraries</echo> |
||||||
|
<copy todir="${jmp_dir}/jme3-core-libraries/release/modules/ext/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
||||||
|
<fileset refid="jme3-external-libraries"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying Project jME3 libs</echo> |
||||||
|
<copy toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
||||||
|
<fileset refid="jme3-jars"/> |
||||||
|
<fileset refid="jme3-openal-soft-natives-jars"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying Project external libraries</echo> |
||||||
|
<copy todir="${jmp_dir}/jme3-project-libraries/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
||||||
|
<fileset refid="jme3-external-libraries"/> |
||||||
|
<fileset refid="jme3-lwjgl-native-jars"/> |
||||||
|
<fileset refid="jme3-bullet-native-jars"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying Test Project Data</echo> |
||||||
|
<copy toDir="${jmp_dir}/jme3-project-testdata/release/libs/" overwrite="true" failonerror="true" verbose="false"> |
||||||
|
<fileset refid="jme3-testdata-jars"/> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying Javadoc</echo> |
||||||
|
<zip destfile="${dist.dir}/jMonkeyEngine3-javadoc.zip"> |
||||||
|
<zipfileset dir="${dist.dir}/javadoc/"/> |
||||||
|
</zip> |
||||||
|
<copy file="${dist.dir}/jMonkeyEngine3-javadoc.zip" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false"/> |
||||||
|
|
||||||
|
<zip destfile="${dist.dir}/jMonkeyEngine3-sources.zip"> |
||||||
|
<zipfileset dir="${src.core.dir}"/> |
||||||
|
<zipfileset dir="${src.core-data.dir}"/> |
||||||
|
<zipfileset dir="${src.core-effects.dir}"/> |
||||||
|
<zipfileset dir="${src.core-plugins.dir}"/> |
||||||
|
<zipfileset dir="${src.desktop.dir}"/> |
||||||
|
<zipfileset dir="${src.jbullet.dir}"/> |
||||||
|
<zipfileset dir="${src.niftygui.dir}"/> |
||||||
|
<zipfileset dir="${src.jogg.dir}"/> |
||||||
|
<zipfileset dir="${src.lwjgl.dir}"/> |
||||||
|
<zipfileset dir="${src.ogre.dir}"/> |
||||||
|
<zipfileset dir="${src.test.dir}"/> |
||||||
|
<zipfileset dir="${src.tools.dir}"/> |
||||||
|
<zipfileset dir="${src.xml.dir}"/> |
||||||
|
<zipfileset dir="${src.terrain.dir}"/> |
||||||
|
<zipfileset dir="${src.networking.dir}"/> |
||||||
|
</zip> |
||||||
|
<copy file="${dist.dir}/jMonkeyEngine3-sources.zip" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="false"/> |
||||||
|
|
||||||
|
<copy todir="${jmp_dir}/jme3-project-libraries/release/libs/" overwrite="true" failonerror="true" verbose="false" flatten="true"> |
||||||
|
<fileset refid="jme3-external-libraries"/> |
||||||
|
<fileset refid="jme3-lwjgl-native-jars"/> |
||||||
|
<fileset refid="jme3-bullet-native-jars"/> |
||||||
|
<fileset refid="jme3-openal-soft-natives-jars"/> |
||||||
|
<fileset dir="lib/niftygui/"> |
||||||
|
<include name="nifty-javadoc.jar"/> |
||||||
|
<include name="nifty-default-controls-javadoc.jar"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
|
||||||
|
<echo>Copying Test Examples</echo> |
||||||
|
<copy todir="${jmp_dir}/JME3TestsTemplate/src/" overwrite="true" failonerror="true" verbose="false"> |
||||||
|
<fileset dir="src/test/"> |
||||||
|
<exclude name=".svn"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
<copy todir="${jmp_dir}/JME3TestsTemplateAndroid/src/" overwrite="true" failonerror="true" verbose="false"> |
||||||
|
<fileset dir="src/test/"> |
||||||
|
<exclude name=".svn"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target name="-javadoc-build" depends="init" if="have.sources" description="Overrides default javadoc target to exclude test javadoc"> |
||||||
|
<mkdir dir="${dist.javadoc.dir}"/> |
||||||
|
<javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}"> |
||||||
|
<classpath> |
||||||
|
<path path="${javac.classpath}"/> |
||||||
|
</classpath> |
||||||
|
<fileset dir="${src.core.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-data.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-effects.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-plugins.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.desktop.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.terrain.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<!--fileset dir="${src.jbullet.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset--> |
||||||
|
<fileset dir="${src.bullet.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.bullet-native.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.bullet-common.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.networking.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.niftygui.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.jogg.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.ogre.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.blender.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.xml.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.tools.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<!--fileset dir="${src.test.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset--> |
||||||
|
<fileset dir="${src.lwjgl.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.android.dir}" excludes="*.java,${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/*.java"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
||||||
|
<include name="**/*.java"/> |
||||||
|
<exclude name="*.java"/> |
||||||
|
</fileset> |
||||||
|
</javadoc> |
||||||
|
<copy todir="${dist.javadoc.dir}"> |
||||||
|
<fileset dir="${src.core.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-data.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-effects.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.core-plugins.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.desktop.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.terrain.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.jbullet.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<!--fileset dir="${src.bullet.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset--> |
||||||
|
<fileset dir="${src.bullet-native.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.bullet-common.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.networking.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.niftygui.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.jogg.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.ogre.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.blender.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.xml.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.tools.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<!--fileset dir="${src.test.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset--> |
||||||
|
<fileset dir="${src.lwjgl.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${src.android.dir}" excludes="${excludes}" includes="${includes}"> |
||||||
|
<filename name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false"> |
||||||
|
<include name="**/doc-files/**"/> |
||||||
|
</fileset> |
||||||
|
</copy> |
||||||
|
</target> |
||||||
|
|
||||||
|
<!-- example of value for an archived post build: http://jogamp.org/deployment/archive/master/gluegen_737-joal_492-jogl_1120-jocl_867/jar --> |
||||||
|
<!-- example of value for the current release or release candidate: http://jogamp.org/deployment/jogamp-current/jar/orig --> |
||||||
|
<!-- example of value for a released version: http://jogamp.org/deployment/v2.1.1 --> |
||||||
|
<property name="jogamp-unsigned-jars-url" value="http://jogamp.org/deployment/archive/master/gluegen_760-joal_510-jogl_1198-jocl_902/jar" /> |
||||||
|
<target name="update-jogamp"> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-linux-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-linux-armv6.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-linux-armv6hf.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-linux-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-macosx-universal.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-solaris-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-solaris-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-windows-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/gluegen-rt-natives-windows-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-linux-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-linux-armv6.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-linux-armv6hf.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-linux-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-macosx-universal.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-solaris-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-solaris-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-windows-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/joal-natives-windows-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-linux-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-linux-armv6.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-linux-armv6hf.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-linux-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-macosx-universal.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-solaris-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-solaris-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-windows-amd64.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
<get src="${jogamp-unsigned-jars-url}/jogl-all-natives-windows-i586.jar" dest="lib/jogl" verbose="true" usetimestamp="true" skipexisting="false" /> |
||||||
|
</target> |
||||||
|
|
||||||
|
<!-- |
||||||
|
**************************************************************** |
||||||
|
Only Relevant for building nightly on Hudson server from here on |
||||||
|
**************************************************************** |
||||||
|
--> |
||||||
|
|
||||||
|
<target depends="init" name="create-zip-distribution" description="puts jme3 jars, libs, source and javadoc in a dated zip file"> |
||||||
|
<tstamp> |
||||||
|
<format property="date" pattern="yyyy-MM-dd" locale="en,US"/> |
||||||
|
</tstamp> |
||||||
|
<property name="jme3zip" value="jME3_${date}.zip"/> |
||||||
|
<zip destfile="${jme3zip}"> |
||||||
|
<fileset dir="."> |
||||||
|
<include name="TestChooser.exe"/> |
||||||
|
<include name="README.TXT"/> |
||||||
|
</fileset> |
||||||
|
<fileset dir="${dist.dir}/"> |
||||||
|
<include name="jMonkeyEngine3.jar"/> |
||||||
|
</fileset> |
||||||
|
<zipfileset dir="${dist.dir}/lib" prefix="lib"/> |
||||||
|
<zipfileset dir="${dist.dir}/opt" prefix="opt"/> |
||||||
|
<zipfileset dir="${dist.dir}/javadoc" prefix="javadoc"/> |
||||||
|
<zipfileset dir="${src.core.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.core-data.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.core-effects.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.core-plugins.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.desktop.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.jbullet.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.niftygui.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.jogg.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.lwjgl.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.ogre.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.test.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.tools.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.xml.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.terrain.dir}" prefix="source"/> |
||||||
|
<zipfileset dir="${src.networking.dir}" prefix="source"/> |
||||||
|
</zip> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target depends="init" name="update-sdk-nobuild"> |
||||||
|
<antcall target="-do-update-sdk" inheritall="true"> |
||||||
|
<param name="jmp_dir" value="../sdk/"/> |
||||||
|
</antcall> |
||||||
|
</target> |
||||||
|
|
||||||
|
</project> |
@ -0,0 +1,180 @@ |
|||||||
|
*********************************** |
||||||
|
* Build info for bulletjme * |
||||||
|
* (c) 2011 Normen Hansen * |
||||||
|
*********************************** |
||||||
|
|
||||||
|
This document outlines the process of building bullet-jme on different platforms. |
||||||
|
Since bulletjme is a native java library and bullet gets included statically, |
||||||
|
building requires downloading and building the bullet sources. |
||||||
|
|
||||||
|
Note that you do need to have CMake and a GCC compiler installed as well as |
||||||
|
the Android NDK in case you want to build for android too. |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Requirements |
||||||
|
----------------------------------- |
||||||
|
ALL PLATFORMS |
||||||
|
- Java SDK 1.5+: http://java.sun.com |
||||||
|
- Apache ANT: http://ant.apache.org (included in most Java IDEs) |
||||||
|
- Android NDK (optional): http://developer.android.com/sdk/ndk/index.html |
||||||
|
|
||||||
|
WINDOWS |
||||||
|
- Install mingw-w64 GNU C++ Compiler: http://mingw-w64.sourceforge.net/ |
||||||
|
- Install CMake: http://www.cmake.org/ |
||||||
|
|
||||||
|
Mac OSX |
||||||
|
- Install XCode: http://developer.apple.com/ (or via the App Store) |
||||||
|
- Install the "Command Line Tools" from inside XCode |
||||||
|
- Install http://www.macports.org |
||||||
|
- Install cmake via macports, in the Terminal type: |
||||||
|
> sudo port install cmake |
||||||
|
|
||||||
|
LINUX |
||||||
|
- Install cmake (and gcc if not available) via your package manager of choice, e.g. |
||||||
|
> sudo apt-get install cmake |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Building |
||||||
|
----------------------------------- |
||||||
|
The build script in this directory does everything needed to download and compile |
||||||
|
bullet and the jme-bullet library, you only need to call the appropriate ant target, |
||||||
|
via your IDE or command line: |
||||||
|
|
||||||
|
> ant build-bullet-natives |
||||||
|
|
||||||
|
..and all of the steps below are executed automatically, including the download. |
||||||
|
|
||||||
|
You can alter options in the "nbproject/bullet.properties" file, such as the used |
||||||
|
bullet version, native compilation options (see below), path to Android NDK etc. |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Running |
||||||
|
----------------------------------- |
||||||
|
The resulting jMonkeyEngine3.jar containing the tests will automatically use the |
||||||
|
jME3-jbullet.jar or jME3-bullet.jar, depending on which is available in the libs directory. |
||||||
|
|
||||||
|
A convenience target exists to run the engine tests using the native bullet library: |
||||||
|
|
||||||
|
> ant run-bullet-native |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Altering the native build process |
||||||
|
----------------------------------- |
||||||
|
bullet-jme uses cpptasks to compile native code as well as the Android NDK. |
||||||
|
|
||||||
|
If you get compilation errors, try setting "native.java.include" in the build.properties file to your |
||||||
|
JDK include directory, e.g. /opt/java/include or "c:\Program Files\Java\jdk1.6.0_20\include". |
||||||
|
|
||||||
|
To change the used compiler, edit the "native.platform.compiler" entry in the |
||||||
|
"build.properties" file. The following c++ compilers work with cpptasks: |
||||||
|
|
||||||
|
gcc GCC C++ compiler |
||||||
|
g++ GCC C++ compiler |
||||||
|
c++ GCC C++ compiler |
||||||
|
msvc Microsoft Visual C++ |
||||||
|
bcc Borland C++ Compiler |
||||||
|
icl Intel C++ compiler for Windows (IA-32) |
||||||
|
ecl Intel C++ compiler for Windows (IA-64) |
||||||
|
icc Intel C++ compiler for Linux (IA-32) |
||||||
|
ecc Intel C++ compiler for Linux (IA-64) |
||||||
|
CC Sun ONE C++ compiler |
||||||
|
aCC HP aC++ C++ Compiler |
||||||
|
wcl OpenWatcom C/C++ compiler |
||||||
|
|
||||||
|
In the "nbproject" folder you can find "build-native-platform.xml" files containing the commands |
||||||
|
to compile bullet-jme on different platforms. If you want to alter the process, |
||||||
|
you can copy and modify one of the files and import it in the "build.xml" file instead |
||||||
|
of the old one. |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Netbeans Project |
||||||
|
----------------------------------- |
||||||
|
The engine NetBeans project also includes the native sources and a build configuration |
||||||
|
entry to build the binary and run the tests with it. |
||||||
|
|
||||||
|
To have correct syntax highlighting in .cpp/.h files: |
||||||
|
|
||||||
|
- in Netbeans Settings -> C/C++ -> Code Assistance -> C++ |
||||||
|
- add bullet-2.79/src as include directories for C++ |
||||||
|
- add JAVA_HOME/include as include directories for C |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*********************************** |
||||||
|
* Building bullet (optional) * |
||||||
|
*********************************** |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
General info |
||||||
|
----------------------------------- |
||||||
|
Note that the compilation of bullet should not produce dll / so / dylib files |
||||||
|
but static *.a libraries which can later be compiled into the binary of bullet-jme. |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Downloading and extracting bullet |
||||||
|
----------------------------------- |
||||||
|
Requirements: |
||||||
|
- Bullet source: http://bullet.googlecode.com/ |
||||||
|
|
||||||
|
Extract bullet source and build bullet (see below) |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Building on Mac OSX |
||||||
|
----------------------------------- |
||||||
|
Requirements: |
||||||
|
- Apple Developer tools: http://developer.apple.com/ |
||||||
|
- CMake: http://www.cmake.org/ (or via http://www.macports.org) |
||||||
|
|
||||||
|
Commands: |
||||||
|
> cd bullet-trunk |
||||||
|
> cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON \ |
||||||
|
-DCMAKE_OSX_ARCHITECTURES='ppc;i386;x86_64' \ |
||||||
|
-DBUILD_EXTRAS=off -DBUILD_DEMOS=off -DCMAKE_BUILD_TYPE=Release |
||||||
|
> make |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Building on WINDOWS (MinGW/GCC, Recommended) |
||||||
|
----------------------------------- |
||||||
|
Requirements: |
||||||
|
- GNU C++ Compiler: http://mingw-w64.sourceforge.net/ |
||||||
|
http://sourceforge.net/projects/mingwbuilds/ |
||||||
|
- CMake: http://www.cmake.org/ |
||||||
|
|
||||||
|
NOTE: At this time compiling with GCC 4.8.1 fails with a segmentation fault. |
||||||
|
You must use an older GCC version like 4.7.3. |
||||||
|
The second link above (mingwbuilds) offers snapshots of MinGW for GCC 4.7.3. |
||||||
|
|
||||||
|
Commands: |
||||||
|
> cd bullet-trunk |
||||||
|
> cmake . -DBUILD_SHARED_LIBS=OFF -DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release . -G "MinGW Makefiles" |
||||||
|
> mingw32-make |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Building on WINDOWS (VisualStudio, untested) |
||||||
|
----------------------------------- |
||||||
|
Requirements: |
||||||
|
- Microsoft Visual Studio http://msdn.microsoft.com/ |
||||||
|
|
||||||
|
Bullet comes with autogenerated Project Files for Microsoft Visual Studio 6, 7, 7.1 and 8. |
||||||
|
The main Workspace/Solution is located in Bullet/msvc/8/wksbullet.sln (replace 8 with your version). |
||||||
|
|
||||||
|
Build the project to create static libraries. |
||||||
|
|
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
Building bullet on LINUX |
||||||
|
----------------------------------- |
||||||
|
Requirements: |
||||||
|
- Gnu C++ Compiler: http://gcc.gnu.org/ |
||||||
|
- CMake: http://www.cmake.org/ (or via your package manager of choice) |
||||||
|
|
||||||
|
Commands: |
||||||
|
> cd bullet-trunk |
||||||
|
> cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC"\ |
||||||
|
-DBUILD_EXTRAS=off -DBUILD_DEMOS=off -DCMAKE_BUILD_TYPE=Release |
||||||
|
> make |
||||||
|
|
||||||
|
----------------------------------- |
||||||
|
More info on building bullet |
||||||
|
----------------------------------- |
||||||
|
http://www.bulletphysics.org/mediawiki-1.5.8/index.php?title=Installation |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@ |
|||||||
|
classmetrics=com.jeantessier.dependencyfinder.ant.ClassMetrics |
||||||
|
dependencycycles=com.jeantessier.dependencyfinder.ant.DependencyCycles |
||||||
|
dependencyclosure=com.jeantessier.dependencyfinder.ant.DependencyClosure |
||||||
|
dependencyextractor=com.jeantessier.dependencyfinder.ant.DependencyExtractor |
||||||
|
dependencymetrics=com.jeantessier.dependencyfinder.ant.DependencyMetrics |
||||||
|
dependencyreporter=com.jeantessier.dependencyfinder.ant.DependencyReporter |
||||||
|
jarjardiff=com.jeantessier.dependencyfinder.ant.JarJarDiff |
||||||
|
listdeprecatedelements=com.jeantessier.dependencyfinder.ant.ListDeprecatedElements |
||||||
|
listdiff=com.jeantessier.dependencyfinder.ant.ListDiff |
||||||
|
listsymbols=com.jeantessier.dependencyfinder.ant.ListSymbols |
||||||
|
oometrics=com.jeantessier.dependencyfinder.ant.OOMetrics |
@ -0,0 +1,20 @@ |
|||||||
|
# Default logging settings for Dependency Finder applications |
||||||
|
log4j.rootLogger=ERROR, CONSOLE |
||||||
|
|
||||||
|
# log4j.logger.com.jeantessier.dependency=DEBUG, CHAINSAW |
||||||
|
# log4j.logger.com.jeantessier.dependency.PackageNode=DEBUG, CHAINSAW |
||||||
|
# log4j.logger.com.jeantessier.metrics.MetricsGatherer=DEBUG, CHAINSAW |
||||||
|
|
||||||
|
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender |
||||||
|
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout |
||||||
|
log4j.appender.CONSOLE.layout.ConversionPattern=[%d{yyyy/MM/dd HH:mm:ss.SSS}] %c{2} %m%n |
||||||
|
|
||||||
|
log4j.appender.FILE=org.apache.log4j.FileAppender |
||||||
|
log4j.appender.FILE.File=C:\\language\\Java\\myprojects\\DependencyFinder\\logs\\default.log |
||||||
|
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout |
||||||
|
log4j.appender.FILE.layout.ConversionPattern=[%d{yyyy/MM/dd HH:mm:ss.SSS}] %c{2} %m%n |
||||||
|
|
||||||
|
log4j.appender.CHAINSAW=org.apache.log4j.net.SocketAppender |
||||||
|
log4j.appender.CHAINSAW.RemoteHost=localhost |
||||||
|
log4j.appender.CHAINSAW.Port=4445 |
||||||
|
log4j.appender.CHAINSAW.LocationInfo=true |
@ -0,0 +1,304 @@ |
|||||||
|
<?xml version="1.0"?> |
||||||
|
|
||||||
|
<!-- |
||||||
|
Copyright (c) 2001-2009, Jean Tessier |
||||||
|
All rights reserved. |
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without |
||||||
|
modification, are permitted provided that the following conditions |
||||||
|
are met: |
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer. |
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer in the |
||||||
|
documentation and/or other materials provided with the distribution. |
||||||
|
|
||||||
|
* Neither the name of Jean Tessier nor the names of his contributors |
||||||
|
may be used to endorse or promote products derived from this software |
||||||
|
without specific prior written permission. |
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR |
||||||
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||||
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
||||||
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||||
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||||
|
--> |
||||||
|
|
||||||
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
||||||
|
|
||||||
|
<xsl:strip-space elements="*"/> |
||||||
|
|
||||||
|
<xsl:template match="differences"> |
||||||
|
<html> |
||||||
|
|
||||||
|
<head> |
||||||
|
<title><xsl:if test="name/text()"><xsl:value-of select="name"/> - </xsl:if>API Change History</title> |
||||||
|
</head> |
||||||
|
|
||||||
|
<body bgcolor="#ffffff"> |
||||||
|
|
||||||
|
<h1><xsl:if test="name/text()"><xsl:value-of select="name"/> - </xsl:if>API Change History</h1> |
||||||
|
|
||||||
|
<ul> |
||||||
|
<li><a href="#{new}"><xsl:value-of select="old"/> to <xsl:value-of select="new"/></a></li> |
||||||
|
</ul> |
||||||
|
|
||||||
|
<hr /> |
||||||
|
|
||||||
|
<a name="{new}" /> |
||||||
|
<h2><xsl:value-of select="old"/> to <xsl:value-of select="new"/></h2> |
||||||
|
|
||||||
|
<xsl:apply-templates/> |
||||||
|
|
||||||
|
<hr /> |
||||||
|
|
||||||
|
</body> |
||||||
|
|
||||||
|
</html> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="differences/name | old | new"/> |
||||||
|
|
||||||
|
<xsl:template match="removed-packages"> |
||||||
|
<h3>Removed Packages:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="removed-interfaces"> |
||||||
|
<h3>Removed Interfaces:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="removed-classes"> |
||||||
|
<h3>Removed Classes:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="deprecated-interfaces"> |
||||||
|
<h3>Newly Deprecated Interfaces:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="deprecated-classes"> |
||||||
|
<h3>Newly Deprecated Classes:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-interfaces"> |
||||||
|
<h3>Modified Interfaces:</h3> |
||||||
|
<blockquote> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</blockquote> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-classes"> |
||||||
|
<h3>Modified Classes:</h3> |
||||||
|
<blockquote> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</blockquote> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="undeprecated-interfaces"> |
||||||
|
<h3>Formerly Deprecated Interfaces:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="undeprecated-classes"> |
||||||
|
<h3>Formerly Deprecated Classes:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-packages"> |
||||||
|
<h3>New Packages:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-interfaces"> |
||||||
|
<h3>New Interfaces:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-classes"> |
||||||
|
<h3>New Classes:</h3> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="class"> |
||||||
|
<h4><code><xsl:value-of select="name"/></code></h4> |
||||||
|
<blockquote> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</blockquote> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="removed-fields"> |
||||||
|
<h5>Removed Fields:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="removed-constructors"> |
||||||
|
<h5>Removed Constructors:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="removed-methods"> |
||||||
|
<h5>Removed Methods:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="deprecated-fields"> |
||||||
|
<h5>Newly Deprecated Fields:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="deprecated-constructors"> |
||||||
|
<h5>Newly Deprecated Constructors:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="deprecated-methods"> |
||||||
|
<h5>Newly Deprecated Methods:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-fields"> |
||||||
|
<h5>Field Declaration Changes:</h5> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-constructors"> |
||||||
|
<h5>Constructor Changes:</h5> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-methods"> |
||||||
|
<h5>Method Changes:</h5> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="feature"> |
||||||
|
<blockquote> |
||||||
|
<p><nobr><code> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</code></nobr></p> |
||||||
|
</blockquote> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-code"> |
||||||
|
<b>code:</b> <xsl:value-of select="."/> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="modified-declaration"> |
||||||
|
<b>old:</b> <xsl:value-of select="old-declaration"/> |
||||||
|
<xsl:if test="old-declaration[@deprecated='yes']"> <b>[deprecated]</b></xsl:if> |
||||||
|
<br/> |
||||||
|
<b>new:</b> <xsl:value-of select="new-declaration"/> |
||||||
|
<xsl:if test="new-declaration[@deprecated='yes']"> <b>[deprecated]</b></xsl:if> |
||||||
|
<xsl:if test="../modified-code"><br/></xsl:if> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="undeprecated-fields"> |
||||||
|
<h5>Formerly Deprecated Fields:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="undeprecated-constructors"> |
||||||
|
<h5>Formerly Deprecated Constructors:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="undeprecated-methods"> |
||||||
|
<h5>Formerly Deprecated Methods:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-fields"> |
||||||
|
<h5>New Fields:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-constructors"> |
||||||
|
<h5>New Constructors:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-methods"> |
||||||
|
<h5>New Methods:</h5> |
||||||
|
<ul> |
||||||
|
<xsl:apply-templates/> |
||||||
|
</ul> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="class/name | feature/name"/> |
||||||
|
|
||||||
|
<xsl:template match="class/modified-declaration"> |
||||||
|
<h5>Declaration Changes:</h5> |
||||||
|
<blockquote> |
||||||
|
<p><nobr><code> |
||||||
|
<b>old:</b> <xsl:value-of select="old-declaration"/> |
||||||
|
<xsl:if test="old-declaration[@deprecated='yes']"> <b>[deprecated]</b></xsl:if> |
||||||
|
<br/> |
||||||
|
<b>new:</b> <xsl:value-of select="new-declaration"/> |
||||||
|
<xsl:if test="new-declaration[@deprecated='yes']"> <b>[deprecated]</b></xsl:if> |
||||||
|
</code></nobr></p> |
||||||
|
</blockquote> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="new-packages/name[@deprecated='yes'] | new-interfaces/name[@deprecated='yes'] | new-classes/name[@deprecated='yes'] | new-fields/declaration[@deprecated='yes'] | new-constructors/declaration[@deprecated='yes'] | new-methods/declaration[@deprecated='yes']"> |
||||||
|
<li><nobr><code><xsl:value-of select="."/> <b>[deprecated]</b></code></nobr></li> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
<xsl:template match="name | declaration"> |
||||||
|
<li><nobr><code><xsl:value-of select="."/></code></nobr></li> |
||||||
|
</xsl:template> |
||||||
|
|
||||||
|
</xsl:stylesheet> |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,202 @@ |
|||||||
|
|
||||||
|
Apache License |
||||||
|
Version 2.0, January 2004 |
||||||
|
http://www.apache.org/licenses/ |
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
||||||
|
|
||||||
|
1. Definitions. |
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction, |
||||||
|
and distribution as defined by Sections 1 through 9 of this document. |
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by |
||||||
|
the copyright owner that is granting the License. |
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all |
||||||
|
other entities that control, are controlled by, or are under common |
||||||
|
control with that entity. For the purposes of this definition, |
||||||
|
"control" means (i) the power, direct or indirect, to cause the |
||||||
|
direction or management of such entity, whether by contract or |
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the |
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity. |
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity |
||||||
|
exercising permissions granted by this License. |
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications, |
||||||
|
including but not limited to software source code, documentation |
||||||
|
source, and configuration files. |
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical |
||||||
|
transformation or translation of a Source form, including but |
||||||
|
not limited to compiled object code, generated documentation, |
||||||
|
and conversions to other media types. |
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or |
||||||
|
Object form, made available under the License, as indicated by a |
||||||
|
copyright notice that is included in or attached to the work |
||||||
|
(an example is provided in the Appendix below). |
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object |
||||||
|
form, that is based on (or derived from) the Work and for which the |
||||||
|
editorial revisions, annotations, elaborations, or other modifications |
||||||
|
represent, as a whole, an original work of authorship. For the purposes |
||||||
|
of this License, Derivative Works shall not include works that remain |
||||||
|
separable from, or merely link (or bind by name) to the interfaces of, |
||||||
|
the Work and Derivative Works thereof. |
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including |
||||||
|
the original version of the Work and any modifications or additions |
||||||
|
to that Work or Derivative Works thereof, that is intentionally |
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner |
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of |
||||||
|
the copyright owner. For the purposes of this definition, "submitted" |
||||||
|
means any form of electronic, verbal, or written communication sent |
||||||
|
to the Licensor or its representatives, including but not limited to |
||||||
|
communication on electronic mailing lists, source code control systems, |
||||||
|
and issue tracking systems that are managed by, or on behalf of, the |
||||||
|
Licensor for the purpose of discussing and improving the Work, but |
||||||
|
excluding communication that is conspicuously marked or otherwise |
||||||
|
designated in writing by the copyright owner as "Not a Contribution." |
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity |
||||||
|
on behalf of whom a Contribution has been received by Licensor and |
||||||
|
subsequently incorporated within the Work. |
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of |
||||||
|
this License, each Contributor hereby grants to You a perpetual, |
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||||
|
copyright license to reproduce, prepare Derivative Works of, |
||||||
|
publicly display, publicly perform, sublicense, and distribute the |
||||||
|
Work and such Derivative Works in Source or Object form. |
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of |
||||||
|
this License, each Contributor hereby grants to You a perpetual, |
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||||
|
(except as stated in this section) patent license to make, have made, |
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work, |
||||||
|
where such license applies only to those patent claims licensable |
||||||
|
by such Contributor that are necessarily infringed by their |
||||||
|
Contribution(s) alone or by combination of their Contribution(s) |
||||||
|
with the Work to which such Contribution(s) was submitted. If You |
||||||
|
institute patent litigation against any entity (including a |
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work |
||||||
|
or a Contribution incorporated within the Work constitutes direct |
||||||
|
or contributory patent infringement, then any patent licenses |
||||||
|
granted to You under this License for that Work shall terminate |
||||||
|
as of the date such litigation is filed. |
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the |
||||||
|
Work or Derivative Works thereof in any medium, with or without |
||||||
|
modifications, and in Source or Object form, provided that You |
||||||
|
meet the following conditions: |
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or |
||||||
|
Derivative Works a copy of this License; and |
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices |
||||||
|
stating that You changed the files; and |
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works |
||||||
|
that You distribute, all copyright, patent, trademark, and |
||||||
|
attribution notices from the Source form of the Work, |
||||||
|
excluding those notices that do not pertain to any part of |
||||||
|
the Derivative Works; and |
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its |
||||||
|
distribution, then any Derivative Works that You distribute must |
||||||
|
include a readable copy of the attribution notices contained |
||||||
|
within such NOTICE file, excluding those notices that do not |
||||||
|
pertain to any part of the Derivative Works, in at least one |
||||||
|
of the following places: within a NOTICE text file distributed |
||||||
|
as part of the Derivative Works; within the Source form or |
||||||
|
documentation, if provided along with the Derivative Works; or, |
||||||
|
within a display generated by the Derivative Works, if and |
||||||
|
wherever such third-party notices normally appear. The contents |
||||||
|
of the NOTICE file are for informational purposes only and |
||||||
|
do not modify the License. You may add Your own attribution |
||||||
|
notices within Derivative Works that You distribute, alongside |
||||||
|
or as an addendum to the NOTICE text from the Work, provided |
||||||
|
that such additional attribution notices cannot be construed |
||||||
|
as modifying the License. |
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and |
||||||
|
may provide additional or different license terms and conditions |
||||||
|
for use, reproduction, or distribution of Your modifications, or |
||||||
|
for any such Derivative Works as a whole, provided Your use, |
||||||
|
reproduction, and distribution of the Work otherwise complies with |
||||||
|
the conditions stated in this License. |
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise, |
||||||
|
any Contribution intentionally submitted for inclusion in the Work |
||||||
|
by You to the Licensor shall be under the terms and conditions of |
||||||
|
this License, without any additional terms or conditions. |
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify |
||||||
|
the terms of any separate license agreement you may have executed |
||||||
|
with Licensor regarding such Contributions. |
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade |
||||||
|
names, trademarks, service marks, or product names of the Licensor, |
||||||
|
except as required for reasonable and customary use in describing the |
||||||
|
origin of the Work and reproducing the content of the NOTICE file. |
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or |
||||||
|
agreed to in writing, Licensor provides the Work (and each |
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
||||||
|
implied, including, without limitation, any warranties or conditions |
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the |
||||||
|
appropriateness of using or redistributing the Work and assume any |
||||||
|
risks associated with Your exercise of permissions under this License. |
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory, |
||||||
|
whether in tort (including negligence), contract, or otherwise, |
||||||
|
unless required by applicable law (such as deliberate and grossly |
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be |
||||||
|
liable to You for damages, including any direct, indirect, special, |
||||||
|
incidental, or consequential damages of any character arising as a |
||||||
|
result of this License or out of the use or inability to use the |
||||||
|
Work (including but not limited to damages for loss of goodwill, |
||||||
|
work stoppage, computer failure or malfunction, or any and all |
||||||
|
other commercial damages or losses), even if such Contributor |
||||||
|
has been advised of the possibility of such damages. |
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing |
||||||
|
the Work or Derivative Works thereof, You may choose to offer, |
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity, |
||||||
|
or other liability obligations and/or rights consistent with this |
||||||
|
License. However, in accepting such obligations, You may act only |
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf |
||||||
|
of any other Contributor, and only if You agree to indemnify, |
||||||
|
defend, and hold each Contributor harmless for any liability |
||||||
|
incurred by, or claims asserted against, such Contributor by reason |
||||||
|
of your accepting any such warranty or additional liability. |
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS |
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work. |
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following |
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]" |
||||||
|
replaced with your own identifying information. (Don't include |
||||||
|
the brackets!) The text should be enclosed in the appropriate |
||||||
|
comment syntax for the file format. We also recommend that a |
||||||
|
file or class name and description of purpose be included on the |
||||||
|
same "printed page" as the copyright notice for easier |
||||||
|
identification within third-party archives. |
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner] |
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
you may not use this file except in compliance with the License. |
||||||
|
You may obtain a copy of the License at |
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software |
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
See the License for the specific language governing permissions and |
||||||
|
limitations under the License. |
Binary file not shown.
@ -0,0 +1,53 @@ |
|||||||
|
/* ==================================================================== |
||||||
|
* The Apache Software License, Version 1.1 |
||||||
|
* |
||||||
|
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights |
||||||
|
* reserved. |
||||||
|
* |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions |
||||||
|
* are met: |
||||||
|
* |
||||||
|
* 1. Redistributions of source code must retain the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer. |
||||||
|
* |
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer in |
||||||
|
* the documentation and/or other materials provided with the |
||||||
|
* distribution. |
||||||
|
* |
||||||
|
* 3. The end-user documentation included with the redistribution, |
||||||
|
* if any, must include the following acknowledgment: |
||||||
|
* "This product includes software developed by the |
||||||
|
* Apache Software Foundation (http://www.apache.org/)." |
||||||
|
* Alternately, this acknowledgment may appear in the software itself, |
||||||
|
* if and wherever such third-party acknowledgments normally appear. |
||||||
|
* |
||||||
|
* 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro" |
||||||
|
* must not be used to endorse or promote products derived from this |
||||||
|
* software without prior written permission. For written |
||||||
|
* permission, please contact apache@apache.org. |
||||||
|
* |
||||||
|
* 5. Products derived from this software may not be called "Apache" |
||||||
|
* or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their |
||||||
|
* name, without prior written permission of the Apache Software Foundation. |
||||||
|
* |
||||||
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
||||||
|
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
||||||
|
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR |
||||||
|
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
||||||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
||||||
|
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
||||||
|
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
||||||
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
||||||
|
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
||||||
|
* SUCH DAMAGE. |
||||||
|
* ==================================================================== |
||||||
|
* |
||||||
|
* This software consists of voluntary contributions made by many |
||||||
|
* individuals on behalf of the Apache Software Foundation. For more |
||||||
|
* information on the Apache Software Foundation, please see |
||||||
|
* <http://www.apache.org/>. |
||||||
|
*/ |
Binary file not shown.
@ -0,0 +1,202 @@ |
|||||||
|
|
||||||
|
Apache License |
||||||
|
Version 2.0, January 2004 |
||||||
|
http://www.apache.org/licenses/ |
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
||||||
|
|
||||||
|
1. Definitions. |
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction, |
||||||
|
and distribution as defined by Sections 1 through 9 of this document. |
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by |
||||||
|
the copyright owner that is granting the License. |
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all |
||||||
|
other entities that control, are controlled by, or are under common |
||||||
|
control with that entity. For the purposes of this definition, |
||||||
|
"control" means (i) the power, direct or indirect, to cause the |
||||||
|
direction or management of such entity, whether by contract or |
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the |
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity. |
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity |
||||||
|
exercising permissions granted by this License. |
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications, |
||||||
|
including but not limited to software source code, documentation |
||||||
|
source, and configuration files. |
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical |
||||||
|
transformation or translation of a Source form, including but |
||||||
|
not limited to compiled object code, generated documentation, |
||||||
|
and conversions to other media types. |
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or |
||||||
|
Object form, made available under the License, as indicated by a |
||||||
|
copyright notice that is included in or attached to the work |
||||||
|
(an example is provided in the Appendix below). |
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object |
||||||
|
form, that is based on (or derived from) the Work and for which the |
||||||
|
editorial revisions, annotations, elaborations, or other modifications |
||||||
|
represent, as a whole, an original work of authorship. For the purposes |
||||||
|
of this License, Derivative Works shall not include works that remain |
||||||
|
separable from, or merely link (or bind by name) to the interfaces of, |
||||||
|
the Work and Derivative Works thereof. |
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including |
||||||
|
the original version of the Work and any modifications or additions |
||||||
|
to that Work or Derivative Works thereof, that is intentionally |
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner |
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of |
||||||
|
the copyright owner. For the purposes of this definition, "submitted" |
||||||
|
means any form of electronic, verbal, or written communication sent |
||||||
|
to the Licensor or its representatives, including but not limited to |
||||||
|
communication on electronic mailing lists, source code control systems, |
||||||
|
and issue tracking systems that are managed by, or on behalf of, the |
||||||
|
Licensor for the purpose of discussing and improving the Work, but |
||||||
|
excluding communication that is conspicuously marked or otherwise |
||||||
|
designated in writing by the copyright owner as "Not a Contribution." |
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity |
||||||
|
on behalf of whom a Contribution has been received by Licensor and |
||||||
|
subsequently incorporated within the Work. |
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of |
||||||
|
this License, each Contributor hereby grants to You a perpetual, |
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||||
|
copyright license to reproduce, prepare Derivative Works of, |
||||||
|
publicly display, publicly perform, sublicense, and distribute the |
||||||
|
Work and such Derivative Works in Source or Object form. |
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of |
||||||
|
this License, each Contributor hereby grants to You a perpetual, |
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||||
|
(except as stated in this section) patent license to make, have made, |
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work, |
||||||
|
where such license applies only to those patent claims licensable |
||||||
|
by such Contributor that are necessarily infringed by their |
||||||
|
Contribution(s) alone or by combination of their Contribution(s) |
||||||
|
with the Work to which such Contribution(s) was submitted. If You |
||||||
|
institute patent litigation against any entity (including a |
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work |
||||||
|
or a Contribution incorporated within the Work constitutes direct |
||||||
|
or contributory patent infringement, then any patent licenses |
||||||
|
granted to You under this License for that Work shall terminate |
||||||
|
as of the date such litigation is filed. |
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the |
||||||
|
Work or Derivative Works thereof in any medium, with or without |
||||||
|
modifications, and in Source or Object form, provided that You |
||||||
|
meet the following conditions: |
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or |
||||||
|
Derivative Works a copy of this License; and |
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices |
||||||
|
stating that You changed the files; and |
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works |
||||||
|
that You distribute, all copyright, patent, trademark, and |
||||||
|
attribution notices from the Source form of the Work, |
||||||
|
excluding those notices that do not pertain to any part of |
||||||
|
the Derivative Works; and |
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its |
||||||
|
distribution, then any Derivative Works that You distribute must |
||||||
|
include a readable copy of the attribution notices contained |
||||||
|
within such NOTICE file, excluding those notices that do not |
||||||
|
pertain to any part of the Derivative Works, in at least one |
||||||
|
of the following places: within a NOTICE text file distributed |
||||||
|
as part of the Derivative Works; within the Source form or |
||||||
|
documentation, if provided along with the Derivative Works; or, |
||||||
|
within a display generated by the Derivative Works, if and |
||||||
|
wherever such third-party notices normally appear. The contents |
||||||
|
of the NOTICE file are for informational purposes only and |
||||||
|
do not modify the License. You may add Your own attribution |
||||||
|
notices within Derivative Works that You distribute, alongside |
||||||
|
or as an addendum to the NOTICE text from the Work, provided |
||||||
|
that such additional attribution notices cannot be construed |
||||||
|
as modifying the License. |
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and |
||||||
|
may provide additional or different license terms and conditions |
||||||
|
for use, reproduction, or distribution of Your modifications, or |
||||||
|
for any such Derivative Works as a whole, provided Your use, |
||||||
|
reproduction, and distribution of the Work otherwise complies with |
||||||
|
the conditions stated in this License. |
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise, |
||||||
|
any Contribution intentionally submitted for inclusion in the Work |
||||||
|
by You to the Licensor shall be under the terms and conditions of |
||||||
|
this License, without any additional terms or conditions. |
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify |
||||||
|
the terms of any separate license agreement you may have executed |
||||||
|
with Licensor regarding such Contributions. |
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade |
||||||
|
names, trademarks, service marks, or product names of the Licensor, |
||||||
|
except as required for reasonable and customary use in describing the |
||||||
|
origin of the Work and reproducing the content of the NOTICE file. |
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or |
||||||
|
agreed to in writing, Licensor provides the Work (and each |
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
||||||
|
implied, including, without limitation, any warranties or conditions |
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the |
||||||
|
appropriateness of using or redistributing the Work and assume any |
||||||
|
risks associated with Your exercise of permissions under this License. |
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory, |
||||||
|
whether in tort (including negligence), contract, or otherwise, |
||||||
|
unless required by applicable law (such as deliberate and grossly |
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be |
||||||
|
liable to You for damages, including any direct, indirect, special, |
||||||
|
incidental, or consequential damages of any character arising as a |
||||||
|
result of this License or out of the use or inability to use the |
||||||
|
Work (including but not limited to damages for loss of goodwill, |
||||||
|
work stoppage, computer failure or malfunction, or any and all |
||||||
|
other commercial damages or losses), even if such Contributor |
||||||
|
has been advised of the possibility of such damages. |
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing |
||||||
|
the Work or Derivative Works thereof, You may choose to offer, |
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity, |
||||||
|
or other liability obligations and/or rights consistent with this |
||||||
|
License. However, in accepting such obligations, You may act only |
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf |
||||||
|
of any other Contributor, and only if You agree to indemnify, |
||||||
|
defend, and hold each Contributor harmless for any liability |
||||||
|
incurred by, or claims asserted against, such Contributor by reason |
||||||
|
of your accepting any such warranty or additional liability. |
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS |
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work. |
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following |
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]" |
||||||
|
replaced with your own identifying information. (Don't include |
||||||
|
the brackets!) The text should be enclosed in the appropriate |
||||||
|
comment syntax for the file format. We also recommend that a |
||||||
|
file or class name and description of purpose be included on the |
||||||
|
same "printed page" as the copyright notice for easier |
||||||
|
identification within third-party archives. |
||||||
|
|
||||||
|
Copyright 1999-2005 The Apache Software Foundation |
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
you may not use this file except in compliance with the License. |
||||||
|
You may obtain a copy of the License at |
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software |
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
See the License for the specific language governing permissions and |
||||||
|
limitations under the License. |
@ -0,0 +1,31 @@ |
|||||||
|
/* |
||||||
|
* Copyright (c) 2001-2009, Jean Tessier |
||||||
|
* All rights reserved. |
||||||
|
* |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions |
||||||
|
* are met: |
||||||
|
* |
||||||
|
* * Redistributions of source code must retain the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer. |
||||||
|
* |
||||||
|
* * Redistributions in binary form must reproduce the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer in the |
||||||
|
* documentation and/or other materials provided with the distribution. |
||||||
|
* |
||||||
|
* * Neither the name of Jean Tessier nor the names of his contributors |
||||||
|
* may be used to endorse or promote products derived from this software |
||||||
|
* without specific prior written permission. |
||||||
|
* |
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
||||||
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR |
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||||
|
*/ |
@ -0,0 +1,28 @@ |
|||||||
|
Content |
||||||
|
------- |
||||||
|
|
||||||
|
This is the Dependency Finder toolkit. It contains a number of |
||||||
|
tools for exploring relationships in (compiled) Java code. |
||||||
|
|
||||||
|
Licensing |
||||||
|
--------- |
||||||
|
|
||||||
|
This software is licensed under the terms of BSD-like license. |
||||||
|
A copy of the licensing terms is in the file license.txt. You |
||||||
|
can get the original BSD License template at opensource.org. |
||||||
|
|
||||||
|
This product includes software developed by the Apache Software |
||||||
|
Foundation (http://www.apache.org/). The terms of the Apache |
||||||
|
Software License are reproduced in the lib/ directory next to |
||||||
|
the relevant binary .jar files. |
||||||
|
|
||||||
|
Installation and Tools |
||||||
|
---------------------- |
||||||
|
|
||||||
|
Installation instructions are included in docs/Manual.html. |
||||||
|
|
||||||
|
A list of the tools and their usage is in docs/Tools.html. |
||||||
|
|
||||||
|
These documents are also available online at: |
||||||
|
|
||||||
|
http://depfind.sourceforge.net/ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,32 @@ |
|||||||
|
/***************************************************************************** |
||||||
|
* Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions are met: |
||||||
|
* |
||||||
|
* - Redistribution of source code must retain the above copyright notice, |
||||||
|
* this list of conditions and the following disclaimer. |
||||||
|
* |
||||||
|
* - Redistribution in binary form must reproduce the above copyright notice, |
||||||
|
* this list of conditions and the following disclaimer in the documentation |
||||||
|
* and/or other materails provided with the distribution. |
||||||
|
* |
||||||
|
* Neither the name Sun Microsystems, Inc. or the names of the contributors |
||||||
|
* may be used to endorse or promote products derived from this software |
||||||
|
* without specific prior written permission. |
||||||
|
* |
||||||
|
* This software is provided "AS IS," without a warranty of any kind. |
||||||
|
* ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING |
||||||
|
* ANY IMPLIED WARRANT OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR |
||||||
|
* NON-INFRINGEMEN, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND |
||||||
|
* ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS |
||||||
|
* A RESULT OF USING, MODIFYING OR DESTRIBUTING THIS SOFTWARE OR ITS |
||||||
|
* DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST |
||||||
|
* REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, |
||||||
|
* INCIDENTAL OR PUNITIVE DAMAGES. HOWEVER CAUSED AND REGARDLESS OF THE THEORY |
||||||
|
* OF LIABILITY, ARISING OUT OF THE USE OF OUR INABILITY TO USE THIS SOFTWARE, |
||||||
|
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
||||||
|
* |
||||||
|
* You acknowledge that this software is not designed or intended for us in |
||||||
|
* the design, construction, operation or maintenance of any nuclear facility |
||||||
|
* |
||||||
|
*****************************************************************************/ |
@ -0,0 +1,152 @@ |
|||||||
|
JOGL is released under the BSD license. The full license terms follow: |
||||||
|
|
||||||
|
Copyright (c) 2003-2009 Sun Microsystems, Inc. All Rights Reserved. |
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without |
||||||
|
modification, are permitted provided that the following conditions are |
||||||
|
met: |
||||||
|
|
||||||
|
- Redistribution of source code must retain the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer. |
||||||
|
|
||||||
|
- Redistribution in binary form must reproduce the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer in the |
||||||
|
documentation and/or other materials provided with the distribution. |
||||||
|
|
||||||
|
Neither the name of Sun Microsystems, Inc. or the names of |
||||||
|
contributors may be used to endorse or promote products derived from |
||||||
|
this software without specific prior written permission. |
||||||
|
|
||||||
|
This software is provided "AS IS," without a warranty of any kind. ALL |
||||||
|
EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, |
||||||
|
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A |
||||||
|
PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN |
||||||
|
MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR |
||||||
|
ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR |
||||||
|
DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR |
||||||
|
ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR |
||||||
|
DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE |
||||||
|
DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, |
||||||
|
ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF |
||||||
|
SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
||||||
|
|
||||||
|
You acknowledge that this software is not designed or intended for use |
||||||
|
in the design, construction, operation or maintenance of any nuclear |
||||||
|
facility. |
||||||
|
|
||||||
|
The JOGL source tree contains code ported from the OpenGL sample |
||||||
|
implementation by Silicon Graphics, Inc. This code is licensed under |
||||||
|
the SGI Free Software License B (Sun is redistributing the modified code |
||||||
|
under a slightly modified, alternative license, which is described two |
||||||
|
paragraphs below after "NOTE:"): |
||||||
|
|
||||||
|
License Applicability. Except to the extent portions of this file are |
||||||
|
made subject to an alternative license as permitted in the SGI Free |
||||||
|
Software License B, Version 1.1 (the "License"), the contents of this |
||||||
|
file are subject only to the provisions of the License. You may not use |
||||||
|
this file except in compliance with the License. You may obtain a copy |
||||||
|
of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 |
||||||
|
Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: |
||||||
|
|
||||||
|
http://oss.sgi.com/projects/FreeB |
||||||
|
|
||||||
|
Note that, as provided in the License, the Software is distributed on an |
||||||
|
"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS |
||||||
|
DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND |
||||||
|
CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A |
||||||
|
PARTICULAR PURPOSE, AND NON-INFRINGEMENT. |
||||||
|
|
||||||
|
NOTE: The Original Code (as defined below) has been licensed to Sun |
||||||
|
Microsystems, Inc. ("Sun") under the SGI Free Software License B |
||||||
|
(Version 1.1), shown above ("SGI License"). Pursuant to Section |
||||||
|
3.2(3) of the SGI License, Sun is distributing the Covered Code to |
||||||
|
you under an alternative license ("Alternative License"). This |
||||||
|
Alternative License includes all of the provisions of the SGI License |
||||||
|
except that Section 2.2 and 11 are omitted. Any differences between |
||||||
|
the Alternative License and the SGI License are offered solely by Sun |
||||||
|
and not by SGI. |
||||||
|
|
||||||
|
Original Code. The Original Code is: OpenGL Sample Implementation, |
||||||
|
Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, |
||||||
|
Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. |
||||||
|
Copyright in any portions created by third parties is as indicated |
||||||
|
elsewhere herein. All Rights Reserved. |
||||||
|
|
||||||
|
Additional Notice Provisions: The application programming interfaces |
||||||
|
established by SGI in conjunction with the Original Code are The |
||||||
|
OpenGL(R) Graphics System: A Specification (Version 1.2.1), released |
||||||
|
April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version |
||||||
|
1.3), released November 4, 1998; and OpenGL(R) Graphics with the X |
||||||
|
Window System(R) (Version 1.3), released October 19, 1998. This software |
||||||
|
was created using the OpenGL(R) version 1.2.1 Sample Implementation |
||||||
|
published by SGI, but has not been independently verified as being |
||||||
|
compliant with the OpenGL(R) version 1.2.1 Specification. |
||||||
|
|
||||||
|
|
||||||
|
The JOGL source tree contains code from the LWJGL project which is |
||||||
|
similarly covered by the BSD license: |
||||||
|
|
||||||
|
Copyright (c) 2002-2004 LWJGL Project |
||||||
|
All rights reserved. |
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without |
||||||
|
modification, are permitted provided that the following conditions are |
||||||
|
met: |
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer. |
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer in the |
||||||
|
documentation and/or other materials provided with the distribution. |
||||||
|
|
||||||
|
* Neither the name of 'LWJGL' nor the names of |
||||||
|
its contributors may be used to endorse or promote products derived |
||||||
|
from this software without specific prior written permission. |
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
||||||
|
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
||||||
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
||||||
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||||
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
||||||
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||||
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||||
|
|
||||||
|
The JOGL source tree also contains a Java port of Brian Paul's Tile |
||||||
|
Rendering library, used with permission of the author under the BSD |
||||||
|
license instead of the original LGPL: |
||||||
|
|
||||||
|
Copyright (c) 1997-2005 Brian Paul. All Rights Reserved. |
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without |
||||||
|
modification, are permitted provided that the following conditions are |
||||||
|
met: |
||||||
|
|
||||||
|
- Redistribution of source code must retain the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer. |
||||||
|
|
||||||
|
- Redistribution in binary form must reproduce the above copyright |
||||||
|
notice, this list of conditions and the following disclaimer in the |
||||||
|
documentation and/or other materials provided with the distribution. |
||||||
|
|
||||||
|
Neither the name of Brian Paul or the names of contributors may be |
||||||
|
used to endorse or promote products derived from this software |
||||||
|
without specific prior written permission. |
||||||
|
|
||||||
|
This software is provided "AS IS," without a warranty of any |
||||||
|
kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND |
||||||
|
WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, |
||||||
|
FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY |
||||||
|
EXCLUDED. THE COPYRIGHT HOLDERS AND CONTRIBUTORS SHALL NOT BE |
||||||
|
LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, |
||||||
|
MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO |
||||||
|
EVENT WILL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY |
||||||
|
LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, |
||||||
|
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND |
||||||
|
REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR |
||||||
|
INABILITY TO USE THIS SOFTWARE, EVEN IF THE COPYRIGHT HOLDERS OR |
||||||
|
CONTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
@ -0,0 +1,15 @@ |
|||||||
|
LZMA# SDK is licensed under two licenses: |
||||||
|
|
||||||
|
1) GNU Lesser General Public License (GNU LGPL) |
||||||
|
2) Common Public License (CPL) |
||||||
|
|
||||||
|
It means that you can select one of these two licenses and |
||||||
|
follow rules of that license. |
||||||
|
|
||||||
|
SPECIAL EXCEPTION |
||||||
|
Igor Pavlov, as the author of this code, expressly permits you |
||||||
|
to statically or dynamically link your code (or bind by name) |
||||||
|
to the files from LZMA# SDK without subjecting your linked |
||||||
|
code to the terms of the CPL or GNU LGPL. |
||||||
|
Any modifications or additions to files from LZMA# SDK, however, |
||||||
|
are subject to the GNU LGPL or CPL terms. |
@ -0,0 +1,31 @@ |
|||||||
|
/* |
||||||
|
* Copyright (c) 2002-2008 Lightweight Java Game Library Project |
||||||
|
* All rights reserved. |
||||||
|
* |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions are |
||||||
|
* met: |
||||||
|
* |
||||||
|
* * Redistributions of source code must retain the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer. |
||||||
|
* |
||||||
|
* * Redistributions in binary form must reproduce the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer in the |
||||||
|
* documentation and/or other materials provided with the distribution. |
||||||
|
* |
||||||
|
* * Neither the name of 'Light Weight Java Game Library' nor the names of |
||||||
|
* its contributors may be used to endorse or promote products derived |
||||||
|
* from this software without specific prior written permission. |
||||||
|
* |
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||||
|
*/ |
@ -0,0 +1,50 @@ |
|||||||
|
This is the official readme file for lwjgl. |
||||||
|
|
||||||
|
Unless otherwise stated, all files distributed or in SVN are covered by |
||||||
|
the license as stated in the LICENSE file. If you have not received this |
||||||
|
file, please download it from the cvs server. |
||||||
|
|
||||||
|
To run some of the included tests: |
||||||
|
Extract the archive, and cd into directory |
||||||
|
(please substitute ; and \ according to platform) |
||||||
|
|
||||||
|
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\jinput.jar; -Djava.library.path=native\<windows|linux|macosx|solaris> TEST |
||||||
|
(this specifies that the jvm should locate the lwjgl native libs in 'native' directory) |
||||||
|
|
||||||
|
where TEST is some of the following: |
||||||
|
|
||||||
|
org.lwjgl.test.WindowCreationTest |
||||||
|
org.lwjgl.test.SysTest |
||||||
|
org.lwjgl.test.DisplayTest |
||||||
|
|
||||||
|
org.lwjgl.test.input.MouseCreationTest |
||||||
|
org.lwjgl.test.input.MouseTest |
||||||
|
org.lwjgl.test.input.HWCursorTest |
||||||
|
org.lwjgl.test.input.KeyboardTest |
||||||
|
org.lwjgl.test.input.TestControllers |
||||||
|
|
||||||
|
org.lwjgl.test.openal.ALCTest |
||||||
|
org.lwjgl.test.openal.OpenALCreationTest |
||||||
|
org.lwjgl.test.openal.MovingSoundTest |
||||||
|
org.lwjgl.test.openal.PlayTest |
||||||
|
org.lwjgl.test.openal.PlayTestMemory |
||||||
|
org.lwjgl.test.openal.SourceLimitTest |
||||||
|
org.lwjgl.test.openal.PositionTest |
||||||
|
org.lwjgl.test.openal.StressTest |
||||||
|
org.lwjgl.test.openal.SourceLimitTest |
||||||
|
|
||||||
|
org.lwjgl.test.opengl.FullScreenWindowedTest |
||||||
|
org.lwjgl.test.opengl.PbufferTest |
||||||
|
org.lwjgl.test.opengl.VBOIndexTest |
||||||
|
org.lwjgl.test.opengl.VBOTest |
||||||
|
|
||||||
|
org.lwjgl.test.opengl.pbuffers.PbufferTest |
||||||
|
|
||||||
|
org.lwjgl.test.opengl.shaders.ShadersTest |
||||||
|
|
||||||
|
You may also run the Space invaders demo by executing: |
||||||
|
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar; -Djava.library.path=native\<windows|linux|macosx|solaris> org.lwjgl.examples.spaceinvaders.Game |
||||||
|
|
||||||
|
Project Webpage: www.lwjgl.org |
||||||
|
Project Forum: forum.lwjgl.org |
||||||
|
Project SVN: https://java-game-lib.svn.sourceforge.net/svnroot/java-game-lib |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,25 @@ |
|||||||
|
LWJGL "Hidden" switches: |
||||||
|
|
||||||
|
org.lwjgl.opengl.Display.noinput |
||||||
|
Do not initialize any controls when creating the display |
||||||
|
|
||||||
|
org.lwjgl.opengl.Display.nomouse |
||||||
|
Do not create the mouse when creating the display |
||||||
|
|
||||||
|
org.lwjgl.opengl.Display.nokeyboard |
||||||
|
Do not create the keyboard when creating the display |
||||||
|
|
||||||
|
org.lwjgl.util.Debug |
||||||
|
Whether to output debug info |
||||||
|
|
||||||
|
org.lwjgl.util.NoChecks |
||||||
|
Whether to disable runtime function/buffer checks and state tracking. |
||||||
|
|
||||||
|
org.lwjgl.opengl.Display.allowSoftwareOpenGL |
||||||
|
Whether to allow creation of a software only opengl context |
||||||
|
|
||||||
|
org.lwjgl.opengl.Window.undecorated |
||||||
|
Whether to create an undecorated window (no title bar) |
||||||
|
|
||||||
|
org.lwjgl.input.Mouse.allowNegativeMouseCoords |
||||||
|
Usually mouse is clamped to 0,0 - setting this to true will cause you to get negative values if dragging outside and below or left of window |
@ -0,0 +1,75 @@ |
|||||||
|
libs.android.classpath=\ |
||||||
|
${base}/android/android.jar |
||||||
|
libs.bullet.classpath=\ |
||||||
|
${base}/bullet/jME3-bullet-natives.jar |
||||||
|
libs.CopyLibs.classpath=\ |
||||||
|
${base}/CopyLibs-2/org-netbeans-modules-java-j2seproject-copylibstask.jar |
||||||
|
libs.CopyLibs.displayName=CopyLibs Task |
||||||
|
libs.CopyLibs.prop-version=1.0 |
||||||
|
libs.EasyMock.classpath=\ |
||||||
|
${base}/EasyMock/easymock-3.1.jar:\ |
||||||
|
${base}/EasyMock/objenesis-1.3.jar:\ |
||||||
|
${base}/EasyMock/cglib-nodep-2.2.3.jar |
||||||
|
libs.EasyMock.displayName=EasyMock |
||||||
|
libs.EasyMock.javadoc=\ |
||||||
|
${base}/EasyMock/easymock-3.1-javadoc.jar!//:\ |
||||||
|
${base}/EasyMock/objenesis-1.3-javadoc.jar!// |
||||||
|
libs.EasyMock.src=\ |
||||||
|
${base}/EasyMock/easymock-3.1-sources.jar!//:\ |
||||||
|
${base}/EasyMock/objenesis-1.3-sources.jar!//:\ |
||||||
|
${base}/EasyMock/cglib-src-2.2.3.jar!/src/test/ |
||||||
|
libs.jbullet.classpath=\ |
||||||
|
${base}/jbullet/jbullet.jar:\ |
||||||
|
${base}/jbullet/stack-alloc.jar:\ |
||||||
|
${base}/jbullet/vecmath.jar |
||||||
|
libs.jheora.classpath=\ |
||||||
|
${base}/jheora/jheora-jst-debug-0.6.0.jar |
||||||
|
libs.jme3-test-data.classpath=\ |
||||||
|
${base}/../test-data/ |
||||||
|
libs.jogg.classpath=\ |
||||||
|
${base}/jogg/j-ogg-oggd.jar:\ |
||||||
|
${base}/jogg/j-ogg-vorbisd.jar |
||||||
|
libs.jogl.classpath=\ |
||||||
|
${base}/jogl/gluegen-rt.jar:\ |
||||||
|
${base}/jogl/jME3-jogl-natives.jar:\ |
||||||
|
${base}/jogl/jogl.jar |
||||||
|
libs.jogl2.classpath=\ |
||||||
|
${base}/jogl/gluegen-rt.jar:\ |
||||||
|
${base}/jogl/joal.jar:\ |
||||||
|
${base}/jogl/jogl-all.jar |
||||||
|
libs.junit_4.classpath=\ |
||||||
|
${base}/junit_4/junit-4.5.jar |
||||||
|
libs.junit_4.javadoc=\ |
||||||
|
${base}/junit_4/junit-4.5-api.zip |
||||||
|
libs.junit_4.src=\ |
||||||
|
${base}/junit_4/junit-4.5-src.jar |
||||||
|
libs.JWSAntTasks.classpath=\ |
||||||
|
${base}/JWSAntTasks/org-netbeans-modules-javawebstart-anttasks.jar |
||||||
|
libs.lwjgl.classpath=\ |
||||||
|
${base}/lwjgl/lwjgl.jar;\ |
||||||
|
${base}/lwjgl/jME3-lwjgl-natives.jar;\ |
||||||
|
${base}/lwjgl/jinput.jar |
||||||
|
libs.lwjgl.src=\ |
||||||
|
${base}/../../Libraries/LWJGL2.7.1/src/ |
||||||
|
libs.niftygui1.3.classpath=\ |
||||||
|
${base}/niftygui/eventbus.jar;\ |
||||||
|
${base}/niftygui/nifty-default-controls.jar;\ |
||||||
|
${base}/niftygui/nifty-examples.jar;\ |
||||||
|
${base}/niftygui/nifty-style-black.jar;\ |
||||||
|
${base}/niftygui/nifty.jar;\ |
||||||
|
${base}/niftygui/jglfont-core.jar;\ |
||||||
|
${base}/niftygui/xmlpull-xpp3.jar |
||||||
|
libs.niftygui1.3.javadoc=\ |
||||||
|
${base}/niftygui/nifty-default-controls-javadoc.jar!//;\ |
||||||
|
${base}/niftygui/nifty-examples-javadoc.jar!// |
||||||
|
libs.openalsoft.classpath=\ |
||||||
|
${base}/openal-soft/jME3-openal-soft-natives-android.jar |
||||||
|
libs.swing-layout.classpath=\ |
||||||
|
${base}/swing-layout/swing-layout-1.0.4.jar |
||||||
|
libs.swing-layout.javadoc=\ |
||||||
|
${base}/swing-layout/swing-layout-1.0.4-doc.zip |
||||||
|
libs.swing-layout.src=\ |
||||||
|
${base}/swing-layout/swing-layout-1.0.4-src.zip |
||||||
|
libs.noise.classpath=\ |
||||||
|
${base}/noise/noise-0.0.1-SNAPSHOT.jar |
||||||
|
|
@ -0,0 +1,9 @@ |
|||||||
|
Last Updated 22/6/2013 |
||||||
|
|
||||||
|
Component Version |
||||||
|
--------------------------------------------------------------------- |
||||||
|
nifty 1.3.3 (2013-06-20 23:54:54) |
||||||
|
nifty-default-controls 1.3.3 (2013-06-20 23:54:54) |
||||||
|
nifty-style-black 1.3.3 (2013-06-20 23:54:54) |
||||||
|
nifty-examples 1.3.3 (2013-06-20 23:54:54) |
||||||
|
jglfont-core 1.3 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue