- cleanup build process
- unify jME3 jar file names - build optional libraries - build android jar as opt library - build native bullet as opt library - cleanup Natives.java - add bullet native extraction to Natives.java - add better macosx Java7 recgnition to JmeSystem.java - add dependency finder ant lib for comparing native and java bullet API git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7403 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
862540833b
commit
ba365cf8f3
@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
-
|
||||
- ant build file for jMonkeyEngine Android Renderer
|
||||
-
|
||||
- author: Anton Yudin
|
||||
- created: Sun Nov 7 22:38:27 EST 2010
|
||||
-
|
||||
-->
|
||||
|
||||
<project name="jMonkeyEngine Android Renderer" default="dist" basedir=".">
|
||||
|
||||
|
||||
<path id="classpath">
|
||||
<pathelement path="lib/android/android.jar"/>
|
||||
<pathelement path="dist/jMonkeyEngine3.jar"/>
|
||||
</path>
|
||||
|
||||
<target name="initialize">
|
||||
<mkdir dir="build/android"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="initialize">
|
||||
<javac
|
||||
target="1.6"
|
||||
encoding="UTF-8"
|
||||
debug="true"
|
||||
deprecation="on"
|
||||
srcdir="src/android"
|
||||
destdir="build/android"
|
||||
classpathref="classpath"
|
||||
excludes="**/OGLESRenderer.java,**/TestsActivity.java,**/AboutActivity.java"
|
||||
/>
|
||||
</target>
|
||||
|
||||
<target name="dist" depends="compile">
|
||||
<jar
|
||||
jarfile="build/jmonkeyengine3-android-renderer.jar"
|
||||
basedir="build/android"
|
||||
/>
|
||||
<jar
|
||||
jarfile="build/jmonkeyengine3-android-tests.jar"
|
||||
basedir="build/testclasses"
|
||||
/>
|
||||
<jar
|
||||
jarfile="build/jmonkeyengine3-android-dist.jar"
|
||||
basedir="build/classes"
|
||||
excludes="com/jme3/system/JmeSystem*"
|
||||
/>
|
||||
</target>
|
||||
|
||||
</project>
|
156
engine/build.xml
156
engine/build.xml
@ -5,34 +5,103 @@
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!-- <import file="nbproject/profiler-build-impl.xml"/> -->
|
||||
|
||||
<target name="-post-compile" depends="-compile-bullet, -compile-android">
|
||||
</target>
|
||||
|
||||
<target name="-pre-jar" depends="-prepare-separate-jar-files">
|
||||
</target>
|
||||
|
||||
<target name="-post-jar" depends="-create-optional-packages">
|
||||
</target>
|
||||
|
||||
<!--this target creates the assets jar file and modifies the classpath to include it-->
|
||||
<target name="-pre-jar">
|
||||
<!-- compiles the java classes of the native bullet version (works on all systems) -->
|
||||
<target name="-compile-bullet">
|
||||
<mkdir dir="build/bullet"/>
|
||||
<javac classpath="${javac.classpath}${path.separator}${build.classes.dir}" destdir="build/bullet" srcdir="src/bullet"/>
|
||||
<jar jarfile="build/jME3-bullet.jar" basedir="build/bullet/" compress="true"/>
|
||||
</target>
|
||||
|
||||
<!--this target creates the separate jar files for jme3 and modifies the classpath to include them-->
|
||||
<target name="-prepare-separate-jar-files">
|
||||
<!--separate test classes-->
|
||||
<mkdir dir="build/testclasses/"/>
|
||||
<move file="build/classes/jme3test" todir="build/testclasses/" failonerror="false"/>
|
||||
<move file="build/classes/jme3game" todir="build/testclasses/" failonerror="false"/>
|
||||
<jar jarfile="build/jme3test.jar" basedir="build/testclasses/" compress="true"/>
|
||||
<jar jarfile="build/jME3-test.jar" basedir="build/testclasses/" compress="true"/>
|
||||
|
||||
<!--create jar from assets-->
|
||||
<jar jarfile="build/jme3testdata.jar" basedir="src/test-data" compress="true"/>
|
||||
<!--resolve assets and assets jar location-->
|
||||
<!--separate jbullet physics classes-->
|
||||
<mkdir dir="build/jbullet/com/jme3/"/>
|
||||
<move file="build/classes/com/jme3/bullet" todir="build/jbullet/com/jme3/" failonerror="false"/>
|
||||
<jar jarfile="build/jME3-jbullet.jar" basedir="build/jbullet/" compress="true"/>
|
||||
|
||||
<!--separate assets-->
|
||||
<jar jarfile="build/jME3-testdata.jar" basedir="src/test-data" compress="true"/>
|
||||
<property location="src/test-data" name="testdata.dir.resolved"/>
|
||||
<property location="build/jme3testdata.jar" name="testdata.jar.resolved"/>
|
||||
<property location="build/jME3-testdata.jar" name="testdata.jar.resolved"/>
|
||||
|
||||
<!--this sets properties that would normally later be created in the build-impl.xml-->
|
||||
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
|
||||
<pathconvert property="run.classpath.without.build.classes.dir">
|
||||
<path path="${run.classpath}"/>
|
||||
<map from="${build.classes.dir.resolved}" to=""/>
|
||||
|
||||
<!--replace assets folder in dist classpath-->
|
||||
<map from="${testdata.dir.resolved}" to="${testdata.jar.resolved}"/>
|
||||
<!--add tests jar to dist classpath-->
|
||||
<path path="build/jme3test.jar"/>
|
||||
|
||||
<!--add both bullet jar files to dist classpath, will both be in manifest-->
|
||||
<path path="build/jME3-jbullet.jar"/>
|
||||
<path path="build/jME3-bullet.jar"/>
|
||||
<path path="build/jME3-test.jar"/>
|
||||
</pathconvert>
|
||||
</target>
|
||||
|
||||
<!-- compiles the android jar for jME3 -->
|
||||
<target name="-compile-android" description="builds the jMonkeyEngine3 distribution for android">
|
||||
<path id="android-classpath">
|
||||
<pathelement path="lib/android/android.jar"/>
|
||||
<pathelement path="build/classes"/>
|
||||
</path>
|
||||
<mkdir dir="build/android"/>
|
||||
<javac target="1.6"
|
||||
encoding="UTF-8"
|
||||
debug="true"
|
||||
deprecation="on"
|
||||
srcdir="src/android"
|
||||
destdir="build/android"
|
||||
classpathref="android-classpath"
|
||||
excludes="**/OGLESRenderer.java,**/TestsActivity.java,**/AboutActivity.java"/>
|
||||
</target>
|
||||
|
||||
<!--separates and packs the o ptional packages-->
|
||||
<target name="-create-optional-packages">
|
||||
<!--native bullet-->
|
||||
<mkdir dir="dist/opt/native-bullet"/>
|
||||
<mkdir dir="dist/opt/native-bullet/lib"/>
|
||||
<ant antfile="src/bullet/native/build.xml" target="bullet-api-diff"/>
|
||||
<move file="bullet-api-diff.html" todir="dist/opt/native-bullet" overwrite="true"/>
|
||||
<move file="dist/lib/jME3-bullet.jar" todir="dist/opt/native-bullet/lib" overwrite="true"/>
|
||||
<move file="dist/lib/jME3-bullet-natives.jar" todir="dist/opt/native-bullet/lib" overwrite="true"/>
|
||||
|
||||
<!--android-->
|
||||
<mkdir dir="dist/opt/android"/>
|
||||
<jar jarfile="dist/opt/android/jMonkeyEngine3.jar"
|
||||
basedir="build/android"
|
||||
/>
|
||||
<jar jarfile="dist/opt/android/jMonkeyEngine3.jar"
|
||||
basedir="build/classes"
|
||||
excludes="com/jme3/system/JmeSystem*"
|
||||
update="true"/>
|
||||
<!--<jar jarfile="dist/opt/jME3-android-tests.jar"
|
||||
basedir="build/testclasses"/>-->
|
||||
</target>
|
||||
|
||||
<!-- compiles the *native binary* of the native bullet version (read bullet-native-build.txt for more info) -->
|
||||
<target name="build-bullet-natives" description="uses native build tools to build the bulletjme binary (read bullet-native-build.txt for more info)">
|
||||
<ant antfile="src/bullet/native/build.xml" target="build-bullet-natives"/>
|
||||
</target>
|
||||
|
||||
<!-- puts jme3 jars, libs, source and javadoc in a dated zip file -->
|
||||
<target name="dist" depends="clean, jar, javadoc">
|
||||
<target name="dist" depends="clean, jar, javadoc" description="puts jme3 jars, libs, source and javadoc in a dated zip file">
|
||||
<!-- create date in the format MM-dd-yyyy -->
|
||||
<tstamp>
|
||||
<format property="date" pattern="yyyy-MM-dd" locale="en,US"/>
|
||||
@ -72,38 +141,12 @@
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
<target name="dist-android" depends="jar" description="builds the jMonkeyEngine3 distribution for android">
|
||||
<path id="android-classpath">
|
||||
<pathelement path="lib/android/android.jar"/>
|
||||
<pathelement path="dist/jMonkeyEngine3.jar"/>
|
||||
</path>
|
||||
<mkdir dir="build/android"/>
|
||||
<javac target="1.6"
|
||||
encoding="UTF-8"
|
||||
debug="true"
|
||||
deprecation="on"
|
||||
srcdir="src/android"
|
||||
destdir="build/android"
|
||||
classpathref="android-classpath"
|
||||
excludes="**/OGLESRenderer.java,**/TestsActivity.java,**/AboutActivity.java"/>
|
||||
<jar jarfile="dist/jMonkeyEngine3-Android.jar"
|
||||
basedir="build/android"/>
|
||||
<jar jarfile="dist/jMonkeyEngine3-Android.jar"
|
||||
basedir="build/classes"
|
||||
excludes="com/jme3/system/JmeSystem*"
|
||||
update="true"/>
|
||||
<!--<jar jarfile="dist/jmonkeyengine3-android-tests.jar"
|
||||
basedir="build/testclasses"/>-->
|
||||
</target>
|
||||
|
||||
<!--target name="-post-jar" depends="build-bullet-natives">
|
||||
</target-->
|
||||
|
||||
<target name="build-bullet-natives">
|
||||
<ant antfile="src/jbullet/native/build.xml" target="build-bullet-natives"/>
|
||||
<copy file="lib/bullet/libbulletjme.jnilib" todir="./" overwrite="true"/>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
****************************************************************
|
||||
Only Relevant for building on hudson nightly server from here on
|
||||
****************************************************************
|
||||
-->
|
||||
|
||||
<!-- convenience target to transfer jme3 libraries to sdk (jMonkeyPlatform) -->
|
||||
<target name="update-sdk" depends="jar, javadoc">
|
||||
<antcall target="-do-update-sdk" inheritall="true">
|
||||
@ -135,35 +178,42 @@
|
||||
<delete dir="${jmp_dir}/jme3-project-baselibs/release/libs/"/>
|
||||
<delete dir="${jmp_dir}/jme3-project-testdata/release/libs/"/>
|
||||
|
||||
<!--jme3 base libs-->
|
||||
<!--jMonkeyPlatform jME3 libs-->
|
||||
<copy file="${dist.jar}" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/opt/native-bullet/lib/jME3-bullet.jar" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<!--natives need to be in jme3 package fro jme to work in jMP-->
|
||||
<copy file="dist/lib/jME3-lwjgl-natives.jar" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<!-- <copy file="dist/lib/jME3-jogl-natives.jar" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>-->
|
||||
<!-- <copy file="dist/lib/jME3-natives-joal.jar" toDir="${jmp_dir}/jme3-core-baselibs/release/modules/ext/" overwrite="true" failonerror="true" verbose="true"/>-->
|
||||
|
||||
<!--Project jME3 libs-->
|
||||
<copy file="${dist.jar}" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/opt/native-bullet/lib/jME3-bullet.jar" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/opt/native-bullet/lib/jME3-bullet-natives.jar" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/lib/jME3-jbullet.jar" toDir="${jmp_dir}/jme3-project-baselibs/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
|
||||
<!--jme3 libraries-->
|
||||
<!--jMonkeyPlatform external libraries-->
|
||||
<copy todir="${jmp_dir}/jme3-core-libraries/release/modules/ext/" overwrite="true" failonerror="true" verbose="true">
|
||||
<!--exclude jme3 test data from core-->
|
||||
<fileset dir="dist/lib/">
|
||||
<exclude name="jme3testdata.jar"/>
|
||||
<exclude name="jme3test.jar"/>
|
||||
<exclude name="jME3-testdata.jar"/>
|
||||
<exclude name="jME3-test.jar"/>
|
||||
<exclude name="jME3-lwjgl-natives.jar"/>
|
||||
<exclude name="jME3-jogl-natives.jar"/>
|
||||
<exclude name="jME3-natives-joal.jar"/>
|
||||
<exclude name="jME3-jbullet.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!--Project external libraries-->
|
||||
<copy todir="${jmp_dir}/jme3-project-libraries/release/libs/" overwrite="true" failonerror="true" verbose="true">
|
||||
<!--exclude jme3 test data from libs-->
|
||||
<fileset dir="dist/lib/">
|
||||
<exclude name="jme3testdata.jar"/>
|
||||
<exclude name="jme3test.jar"/>
|
||||
<exclude name="jME3-testdata.jar"/>
|
||||
<exclude name="jME3-test.jar"/>
|
||||
<exclude name="jME3-jbullet.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!--test data-->
|
||||
<copy file="dist/lib/jme3testdata.jar" toDir="${jmp_dir}/jme3-project-testdata/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
<copy file="dist/lib/jME3-testdata.jar" toDir="${jmp_dir}/jme3-project-testdata/release/libs/" overwrite="true" failonerror="true" verbose="true"/>
|
||||
|
||||
<!--javadoc-->
|
||||
<zip destfile="dist/jMonkeyEngine3-javadoc.zip">
|
||||
|
@ -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
|
20
engine/lib/antlibs/depfinder/classes/log4j.properties
Normal file
20
engine/lib/antlibs/depfinder/classes/log4j.properties
Normal file
@ -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
|
304
engine/lib/antlibs/depfinder/etc/DiffToHTML.xsl
Normal file
304
engine/lib/antlibs/depfinder/etc/DiffToHTML.xsl
Normal file
@ -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>
|
BIN
engine/lib/antlibs/depfinder/lib/DependencyFinder.jar
Normal file
BIN
engine/lib/antlibs/depfinder/lib/DependencyFinder.jar
Normal file
Binary file not shown.
BIN
engine/lib/antlibs/depfinder/lib/guava.jar
Normal file
BIN
engine/lib/antlibs/depfinder/lib/guava.jar
Normal file
Binary file not shown.
202
engine/lib/antlibs/depfinder/lib/guava.lic
Normal file
202
engine/lib/antlibs/depfinder/lib/guava.lic
Normal file
@ -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.
|
BIN
engine/lib/antlibs/depfinder/lib/jakarta-oro.jar
Normal file
BIN
engine/lib/antlibs/depfinder/lib/jakarta-oro.jar
Normal file
Binary file not shown.
53
engine/lib/antlibs/depfinder/lib/jakarta-oro.lic
Normal file
53
engine/lib/antlibs/depfinder/lib/jakarta-oro.lic
Normal file
@ -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/>.
|
||||
*/
|
BIN
engine/lib/antlibs/depfinder/lib/log4j.jar
Normal file
BIN
engine/lib/antlibs/depfinder/lib/log4j.jar
Normal file
Binary file not shown.
202
engine/lib/antlibs/depfinder/lib/log4j.lic
Normal file
202
engine/lib/antlibs/depfinder/lib/log4j.lic
Normal file
@ -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.
|
31
engine/lib/antlibs/depfinder/license.txt
Normal file
31
engine/lib/antlibs/depfinder/license.txt
Normal file
@ -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.
|
||||
*/
|
28
engine/lib/antlibs/depfinder/readme.txt
Normal file
28
engine/lib/antlibs/depfinder/readme.txt
Normal file
@ -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/
|
BIN
engine/lib/bullet/jME3-bullet-natives.jar
Normal file
BIN
engine/lib/bullet/jME3-bullet-natives.jar
Normal file
Binary file not shown.
BIN
engine/lib/bullet/jarcontent/native/macosx/libbulletjme.jnilib
Executable file
BIN
engine/lib/bullet/jarcontent/native/macosx/libbulletjme.jnilib
Executable file
Binary file not shown.
@ -1,55 +1,57 @@
|
||||
libs.CopyLibs.classpath=\
|
||||
${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
|
||||
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}/../src/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}/jogl2/jogl.all.jar;\
|
||||
${base}/jogl2/nativewindow.all.jar;\
|
||||
${base}/jogl2/newt.all.jar;\
|
||||
${base}/jogl2/gluegen-rt.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/jME3-lwjgl-natives.jar;\
|
||||
${base}/lwjgl/jinput.jar;\
|
||||
${base}/lwjgl/lwjgl.jar
|
||||
libs.niftygui1.2.classpath=\
|
||||
${base}/niftygui/nifty-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-default-controls-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-black-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/xmlpull-xpp3-1.1.4c.jar;\
|
||||
${base}/niftygui/nifty-examples-1.2_small.jar
|
||||
libs.niftygui1.3.classpath=\
|
||||
${base}/niftygui/nifty-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-default-controls-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-black-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-grey-1.0.jar;\
|
||||
${base}/niftygui/nifty-examples-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/xmlpull-xpp3-1.1.4c.jar;\
|
||||
${base}/niftygui/eventbus-1.4.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.bullet.classpath=\
|
||||
${base}/bullet/jME3-bullet-natives.jar
|
||||
libs.CopyLibs.classpath=\
|
||||
${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
|
||||
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}/../src/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}/jogl2/jogl.all.jar;\
|
||||
${base}/jogl2/nativewindow.all.jar;\
|
||||
${base}/jogl2/newt.all.jar;\
|
||||
${base}/jogl2/gluegen-rt.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/jME3-lwjgl-natives.jar;\
|
||||
${base}/lwjgl/jinput.jar;\
|
||||
${base}/lwjgl/lwjgl.jar
|
||||
libs.niftygui1.2.classpath=\
|
||||
${base}/niftygui/nifty-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-default-controls-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-black-1.2-SNAPSHOT.jar;\
|
||||
${base}/niftygui/xmlpull-xpp3-1.1.4c.jar;\
|
||||
${base}/niftygui/nifty-examples-1.2_small.jar
|
||||
libs.niftygui1.3.classpath=\
|
||||
${base}/niftygui/nifty-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-default-controls-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-black-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/nifty-style-grey-1.0.jar;\
|
||||
${base}/niftygui/nifty-examples-1.3-SNAPSHOT.jar;\
|
||||
${base}/niftygui/xmlpull-xpp3-1.1.4c.jar;\
|
||||
${base}/niftygui/eventbus-1.4.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
|
||||
|
||||
|
@ -13,7 +13,8 @@
|
||||
<!--${JNLP.RESOURCES.RUNTIME}-->
|
||||
<!--${JNLP.RESOURCES.MAIN.JAR}-->
|
||||
<!--${JNLP.RESOURCES.JARS}-->
|
||||
<jar href='lib/jme3testdata.jar'/>
|
||||
<jar href='lib/jME3-testdata.jar'/>
|
||||
<jar href="lib/jME3-test.jar"/>
|
||||
<!--${JNLP.RESOURCES.EXTENSIONS}-->
|
||||
</resources>
|
||||
<application-desc main-class="${jnlp.main.class}">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,11 +1,11 @@
|
||||
build.xml.data.CRC32=52f8cb9e
|
||||
build.xml.script.CRC32=34d4c2f2
|
||||
build.xml.stylesheet.CRC32=958a1d3e
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=759acdca
|
||||
nbproject/build-impl.xml.script.CRC32=53d4e0e0
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.0.45
|
||||
nbproject/profiler-build-impl.xml.data.CRC32=aff514c1
|
||||
nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
|
||||
nbproject/profiler-build-impl.xml.stylesheet.CRC32=f10cf54c@1.11.1
|
||||
build.xml.data.CRC32=52f8cb9e
|
||||
build.xml.script.CRC32=34d4c2f2
|
||||
build.xml.stylesheet.CRC32=958a1d3e
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=759acdca
|
||||
nbproject/build-impl.xml.script.CRC32=c2fd0217
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
|
||||
nbproject/profiler-build-impl.xml.data.CRC32=aff514c1
|
||||
nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
|
||||
nbproject/profiler-build-impl.xml.stylesheet.CRC32=f10cf54c@1.11.1
|
||||
|
@ -1,112 +1,116 @@
|
||||
annotation.processing.enabled=false
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.run.all.processors=true
|
||||
ant.customtasks.libs=JWSAntTasks
|
||||
application.homepage=http://www.jmonkeyengine.com/
|
||||
application.title=jMonkeyEngine 3.0
|
||||
application.vendor=jMonkeyEngine
|
||||
assets.compress=false
|
||||
assets.excludes=
|
||||
assets.folder.name=
|
||||
assets.jar.name=
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/jMonkeyEngine3.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
endorsed.classpath=
|
||||
excludes=
|
||||
file.reference.src-test-data=src/test-data
|
||||
includes=**
|
||||
jar.archive.disabled=${jnlp.enabled}
|
||||
jar.compress=true
|
||||
jar.index=${jnlp.enabled}
|
||||
javac.classpath=\
|
||||
${libs.jogg.classpath}:\
|
||||
${libs.jbullet.classpath}:\
|
||||
${libs.lwjgl.classpath}:\
|
||||
${libs.jheora.classpath}:\
|
||||
${libs.niftygui1.3.classpath}:\
|
||||
${libs.jme3-test-data.classpath}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.deprecation=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.5
|
||||
javac.target=1.5
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}:\
|
||||
${libs.junit_4.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=jMonkeyEngine3
|
||||
jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
|
||||
jnlp.applet.class=jme3test.awt.AppHarness
|
||||
jnlp.applet.height=300
|
||||
jnlp.applet.width=300
|
||||
jnlp.codebase.type=user
|
||||
jnlp.codebase.user=http://jmonkeyengine.com/javawebstart/
|
||||
jnlp.descriptor=application
|
||||
jnlp.enabled=false
|
||||
jnlp.icon=/Users/normenhansen/Pictures/jme/icons/jme-logo48.png
|
||||
jnlp.mixed.code=defaut
|
||||
jnlp.offline-allowed=true
|
||||
jnlp.signed=true
|
||||
main.class=jme3test.TestChooser
|
||||
manifest.file=MANIFEST.MF
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=false
|
||||
platform.active=default_platform
|
||||
run.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
run.jvmargs=-Xms40m -Xmx40m -XX:MaxDirectMemorySize=256M
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
source.encoding=UTF-8
|
||||
src.core-data.dir=src/core-data
|
||||
src.core-plugins.dir=src/core-plugins
|
||||
src.core.dir=src/core
|
||||
src.desktop-fx.dir=src/desktop-fx
|
||||
src.desktop.dir=src/desktop
|
||||
src.games.dir=src/games
|
||||
src.jbullet.dir=src/jbullet
|
||||
src.jheora.dir=src/jheora
|
||||
src.jogg.dir=src/jogg
|
||||
src.lwjgl-oal.dir=src/lwjgl-oal
|
||||
src.lwjgl-ogl.dir=src/lwjgl-ogl
|
||||
src.networking.dir=src\\networking
|
||||
src.niftygui.dir=src/niftygui
|
||||
src.ogre.dir=src/ogre
|
||||
src.pack.dir=src/pack
|
||||
src.terrain.dir=src/terrain
|
||||
src.test.dir=src/test
|
||||
src.tools.dir=src/tools
|
||||
src.xml.dir=src/xml
|
||||
test.test.dir=test
|
||||
annotation.processing.enabled=false
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.run.all.processors=true
|
||||
ant.customtasks.libs=JWSAntTasks
|
||||
application.homepage=http://www.jmonkeyengine.com/
|
||||
application.title=jMonkeyEngine 3.0
|
||||
application.vendor=jMonkeyEngine
|
||||
assets.compress=false
|
||||
assets.excludes=
|
||||
assets.folder.name=
|
||||
assets.jar.name=
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/jMonkeyEngine3.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
endorsed.classpath=
|
||||
excludes=
|
||||
file.reference.src-test-data=src/test-data
|
||||
includes=**
|
||||
jar.archive.disabled=${jnlp.enabled}
|
||||
jar.compress=true
|
||||
jar.index=${jnlp.enabled}
|
||||
javac.classpath=\
|
||||
${libs.jogg.classpath}:\
|
||||
${libs.jbullet.classpath}:\
|
||||
${libs.bullet.classpath}:\
|
||||
${libs.lwjgl.classpath}:\
|
||||
${libs.jheora.classpath}:\
|
||||
${libs.niftygui1.3.classpath}:\
|
||||
${libs.jme3-test-data.classpath}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.deprecation=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.5
|
||||
javac.target=1.5
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}:\
|
||||
${libs.junit_4.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=jMonkeyEngine3
|
||||
jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
|
||||
jnlp.applet.class=jme3test.awt.AppHarness
|
||||
jnlp.applet.height=300
|
||||
jnlp.applet.width=300
|
||||
jnlp.codebase.type=user
|
||||
jnlp.codebase.user=http://jmonkeyengine.com/javawebstart/
|
||||
jnlp.descriptor=application
|
||||
jnlp.enabled=false
|
||||
jnlp.icon=/Users/normenhansen/Pictures/jme/icons/jme-logo48.png
|
||||
jnlp.mixed.code=default
|
||||
jnlp.offline-allowed=true
|
||||
jnlp.signed=true
|
||||
jnlp.signing=generated
|
||||
jnlp.signing.alias=
|
||||
jnlp.signing.keystore=
|
||||
main.class=jme3test.TestChooser
|
||||
manifest.file=MANIFEST.MF
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=false
|
||||
platform.active=default_platform
|
||||
run.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
run.jvmargs=-Xms40m -Xmx40m -XX:MaxDirectMemorySize=256M
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
source.encoding=UTF-8
|
||||
src.core-data.dir=src/core-data
|
||||
src.core-plugins.dir=src/core-plugins
|
||||
src.core.dir=src/core
|
||||
src.desktop-fx.dir=src/desktop-fx
|
||||
src.desktop.dir=src/desktop
|
||||
src.games.dir=src/games
|
||||
src.jbullet.dir=src/jbullet
|
||||
src.jheora.dir=src/jheora
|
||||
src.jogg.dir=src/jogg
|
||||
src.lwjgl-oal.dir=src/lwjgl-oal
|
||||
src.lwjgl-ogl.dir=src/lwjgl-ogl
|
||||
src.networking.dir=src\\networking
|
||||
src.niftygui.dir=src/niftygui
|
||||
src.ogre.dir=src/ogre
|
||||
src.pack.dir=src/pack
|
||||
src.terrain.dir=src/terrain
|
||||
src.test.dir=src/test
|
||||
src.tools.dir=src/tools
|
||||
src.xml.dir=src/xml
|
||||
test.test.dir=test
|
||||
|
@ -178,6 +178,8 @@ public class JmeSystem {
|
||||
return true;
|
||||
else if (arch.equals("i386") || arch.equals("i686"))
|
||||
return false;
|
||||
else if (arch.equals("universal"))
|
||||
return false;
|
||||
else
|
||||
throw new UnsupportedOperationException("Unsupported architecture: "+arch);
|
||||
}
|
||||
@ -190,7 +192,7 @@ public class JmeSystem {
|
||||
return is64 ? Platform.Windows64 : Platform.Windows32;
|
||||
}else if (os.contains("linux") || os.contains("freebsd") || os.contains("sunos")){
|
||||
return is64 ? Platform.Linux64 : Platform.Linux32;
|
||||
}else if (os.contains("mac os x")){
|
||||
}else if (os.contains("mac os x") || os.contains("darwin")){
|
||||
if (arch.startsWith("ppc")){
|
||||
return is64 ? Platform.MacOSX_PPC64 : Platform.MacOSX_PPC32;
|
||||
}else{
|
||||
|
@ -29,7 +29,6 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package com.jme3.system;
|
||||
|
||||
import com.jme3.system.JmeSystem.Platform;
|
||||
@ -54,19 +53,20 @@ public class Natives {
|
||||
private static final byte[] buf = new byte[1024];
|
||||
private static File workingDir = new File("").getAbsoluteFile();
|
||||
|
||||
public static void setExtractionDir(String name){
|
||||
public static void setExtractionDir(String name) {
|
||||
workingDir = new File(name).getAbsoluteFile();
|
||||
}
|
||||
|
||||
protected static void extractNativeLib(String sysName, String name) throws IOException{
|
||||
protected static void extractNativeLib(String sysName, String name) throws IOException {
|
||||
String fullname = System.mapLibraryName(name);
|
||||
|
||||
String path = "native/"+sysName+"/" + fullname;
|
||||
String path = "native/" + sysName + "/" + fullname;
|
||||
InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(path);
|
||||
//InputStream in = Natives.class.getResourceAsStream();
|
||||
if (in == null) {
|
||||
logger.log(Level.WARNING, "Cannot locate native library: {0}/{1}",
|
||||
new String[]{ sysName, fullname} );
|
||||
if(name!="bulletjme")
|
||||
logger.log(Level.WARNING, "Cannot locate native library: {0}/{1}",
|
||||
new String[]{sysName, fullname});
|
||||
return;
|
||||
}
|
||||
File targetFile = new File(workingDir, fullname);
|
||||
@ -78,9 +78,10 @@ public class Natives {
|
||||
}
|
||||
in.close();
|
||||
out.close();
|
||||
} catch (FileNotFoundException ex){
|
||||
if (ex.getMessage().contains("used by another process"))
|
||||
} catch (FileNotFoundException ex) {
|
||||
if (ex.getMessage().contains("used by another process")) {
|
||||
return;
|
||||
}
|
||||
|
||||
throw ex;
|
||||
}
|
||||
@ -88,7 +89,7 @@ public class Natives {
|
||||
logger.log(Level.FINE, "Copied {0} to {1}", new Object[]{fullname, targetFile});
|
||||
}
|
||||
|
||||
private static String getExtractionDir(){
|
||||
private static String getExtractionDir() {
|
||||
URL temp = Natives.class.getResource("");
|
||||
if (temp != null) {
|
||||
StringBuilder sb = new StringBuilder(temp.toString());
|
||||
@ -106,36 +107,27 @@ public class Natives {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected static void extractNativeLibs(Platform platform, AppSettings settings) throws IOException{
|
||||
protected static void extractNativeLibs(Platform platform, AppSettings settings) throws IOException {
|
||||
String renderer = settings.getRenderer();
|
||||
String audioRenderer = settings.getAudioRenderer();
|
||||
boolean needLWJGL = false;
|
||||
boolean needGG = false;
|
||||
boolean needJOGL = false;
|
||||
boolean needJOAL = false;
|
||||
boolean needOAL = false;
|
||||
boolean needJInput = false;
|
||||
if (renderer != null){
|
||||
if (renderer.startsWith("LWJGL")){
|
||||
boolean needNativeBullet = true;
|
||||
if (renderer != null) {
|
||||
if (renderer.startsWith("LWJGL")) {
|
||||
needLWJGL = true;
|
||||
}else if (renderer.startsWith("JOGL")){
|
||||
needGG = true;
|
||||
needJOGL = true;
|
||||
}
|
||||
}
|
||||
if (audioRenderer != null){
|
||||
if (audioRenderer.equals("LWJGL")){
|
||||
if (audioRenderer != null) {
|
||||
if (audioRenderer.equals("LWJGL")) {
|
||||
needLWJGL = true;
|
||||
needOAL = true;
|
||||
}else if (audioRenderer.equals("JOAL")){
|
||||
needJOAL = true;
|
||||
needGG = true;
|
||||
needOAL = true;
|
||||
}
|
||||
}
|
||||
needJInput = settings.useJoysticks();
|
||||
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
logger.log(Level.INFO, "Extraction Directory #1: {0}", getExtractionDir());
|
||||
logger.log(Level.INFO, "Extraction Directory #2: {0}", workingDir.toString());
|
||||
logger.log(Level.INFO, "Extraction Directory #3: {0}", System.getProperty("user.dir"));
|
||||
@ -146,188 +138,81 @@ public class Natives {
|
||||
System.setProperty("org.lwjgl.librarypath", workingDir.toString());
|
||||
}
|
||||
|
||||
switch (platform){
|
||||
switch (platform) {
|
||||
case Windows64:
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
extractNativeLib("windows", "lwjgl64");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("win64", "jogl_awt");
|
||||
extractNativeLib("win64", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
extractNativeLib("win64", "joal_native");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("win64", "gluegen-rt");
|
||||
|
||||
if (needOAL)
|
||||
if (needOAL) {
|
||||
extractNativeLib("windows", "OpenAL64");
|
||||
|
||||
if (needJInput){
|
||||
}
|
||||
if (needJInput) {
|
||||
extractNativeLib("windows", "jinput-dx8_64");
|
||||
extractNativeLib("windows", "jinput-raw_64");
|
||||
}
|
||||
if(needNativeBullet){
|
||||
extractNativeLib("windows", "bulletjme_64");
|
||||
}
|
||||
break;
|
||||
case Windows32:
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
extractNativeLib("windows", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("win32", "jogl_awt");
|
||||
extractNativeLib("win32", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
extractNativeLib("win32", "joal_native");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("win32", "gluegen-rt");
|
||||
|
||||
if (needOAL)
|
||||
if (needOAL) {
|
||||
extractNativeLib("windows", "OpenAL32");
|
||||
|
||||
if (needJInput){
|
||||
}
|
||||
if (needJInput) {
|
||||
extractNativeLib("windows", "jinput-dx8");
|
||||
extractNativeLib("windows", "jinput-raw");
|
||||
}
|
||||
if(needNativeBullet){
|
||||
extractNativeLib("windows", "bulletjme");
|
||||
}
|
||||
break;
|
||||
case Linux64:
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
extractNativeLib("linux", "lwjgl64");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("linux64", "jogl_awt");
|
||||
extractNativeLib("linux64", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
extractNativeLib("linux64", "joal_native");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("linux64", "gluegen-rt");
|
||||
|
||||
if (needJInput)
|
||||
if (needJInput) {
|
||||
extractNativeLib("linux", "jinput-linux64");
|
||||
|
||||
if (needOAL)
|
||||
}
|
||||
if (needOAL) {
|
||||
extractNativeLib("linux", "openal64");
|
||||
|
||||
}
|
||||
if(needNativeBullet){
|
||||
extractNativeLib("linux", "bulletjme64");
|
||||
}
|
||||
break;
|
||||
case Linux32:
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
extractNativeLib("linux", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("linux32", "jogl_awt");
|
||||
extractNativeLib("linux32", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
extractNativeLib("linux32", "joal_native");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("linux32", "gluegen-rt");
|
||||
|
||||
if (needJInput)
|
||||
if (needJInput) {
|
||||
extractNativeLib("linux", "jinput-linux");
|
||||
|
||||
if (needOAL)
|
||||
}
|
||||
if (needOAL) {
|
||||
extractNativeLib("linux", "openal");
|
||||
|
||||
}
|
||||
if(needNativeBullet){
|
||||
extractNativeLib("linux", "bulletjme");
|
||||
}
|
||||
break;
|
||||
case MacOSX_PPC32:
|
||||
if (needLWJGL){
|
||||
extractNativeLib("macosx", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("macosx_ppc", "jogl_awt");
|
||||
extractNativeLib("macosx_ppc", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
throw new UnsupportedOperationException("JOAL not available on Mac OS PPC");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("macosx_ppc", "gluegen-rt");
|
||||
|
||||
// if (needOAL)
|
||||
// extractNativeLib("macosx", "openal");
|
||||
|
||||
if (needJInput)
|
||||
extractNativeLib("macosx", "jinput-osx");
|
||||
|
||||
break;
|
||||
case MacOSX32:
|
||||
if (needLWJGL){
|
||||
extractNativeLib("macosx", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("macosx_universal", "jogl_awt");
|
||||
extractNativeLib("macosx_universal", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
extractNativeLib("macosx_universal", "joal_native");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("macosx_universal", "gluegen-rt");
|
||||
|
||||
// if (needOAL)
|
||||
// extractNativeLib("macosx", "openal");
|
||||
|
||||
if (needJInput)
|
||||
extractNativeLib("macosx", "jinput-osx");
|
||||
|
||||
break;
|
||||
case MacOSX_PPC64:
|
||||
if (needLWJGL){
|
||||
extractNativeLib("macosx", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("macosx_ppc", "jogl_awt");
|
||||
extractNativeLib("macosx_ppc", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
throw new UnsupportedOperationException("JOAL not available on Mac OS 64 bit");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("macosx_ppc", "gluegen-rt");
|
||||
|
||||
// if (needOAL)
|
||||
// extractNativeLib("macosx", "openal");
|
||||
|
||||
if (needJInput)
|
||||
extractNativeLib("macosx", "jinput-osx");
|
||||
|
||||
break;
|
||||
case MacOSX64:
|
||||
if (needLWJGL){
|
||||
if (needLWJGL) {
|
||||
extractNativeLib("macosx", "lwjgl");
|
||||
}
|
||||
if (needJOGL){
|
||||
extractNativeLib("macosx_universal", "jogl_awt");
|
||||
extractNativeLib("macosx_universal", "jogl");
|
||||
}
|
||||
|
||||
if (needJOAL)
|
||||
throw new UnsupportedOperationException("JOAL not available on Mac OS 64 bit");
|
||||
|
||||
if (needGG)
|
||||
extractNativeLib("macosx_universal", "gluegen-rt");
|
||||
|
||||
// if (needOAL)
|
||||
// extractNativeLib("macosx", "openal");
|
||||
|
||||
if (needJInput)
|
||||
if (needJInput) {
|
||||
extractNativeLib("macosx", "jinput-osx");
|
||||
|
||||
}
|
||||
if(needNativeBullet){
|
||||
extractNativeLib("macosx", "bulletjme");
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user