aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml84
-rw-r--r--release-info/src-release/j3d/README.txt26
-rw-r--r--release-info/src-release/vecmath/README.txt13
3 files changed, 122 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 7ce6f03..791ab81 100644
--- a/build.xml
+++ b/build.xml
@@ -480,7 +480,7 @@
<ant dir="src/classes" target="docs"/>
</target>
- <target name="dist" depends="jar-opt,docs-public">
+ <target name="dist" depends="jar-opt,docs-public,src">
<ant dir="src/classes" target="dist"/>
<ant dir="src/native" target="dist"/>
</target>
@@ -681,6 +681,86 @@
</zip>
</target>
+ <target name="initSrc" depends="setupPlatform">
+ <property name="platformSrc" location="${dist}/${platform}/src"/>
+ <property name="j3dZip" value="j3d-${version_base_file}-src.zip"/>
+ <property name="vecmathZip" value="vecmath-${version_base_file}-src.zip"/>
+
+ <property name="j3dZipFile" location="${platformSrc}/${j3dZip}"/>
+ <property name="vecmathZipFile" location="${platformSrc}/${vecmathZip}"/>
+ <property name="cvsRootDir" location=".."/>
+
+ <mkdir dir="${platformSrc}"/>
+ </target>
+
+ <target name="echoSrc">
+ <echo message="j3dZipFile = ${j3dZipFile}"/>
+ <echo message="vecmathZipFile = ${vecmathZipFile}"/>
+ <echo message="cvsRootDir = ${cvsRootDir}"/>
+ </target>
+
+ <target name="src" depends="initSrc, echoSrc, j3dSrc, vecmathSrc">
+ </target>
+
+ <target name="j3dSrc" depends="j3dSrcClean">
+ <zip destfile="${j3dZipFile}">
+
+ <fileset dir="${cvsRootDir}/j3d-core/release-info/src-release/j3d"
+ includes="README.txt"/>
+
+ <zipfileset dir="${cvsRootDir}/j3d-core" prefix="javax"
+ includes="COPYRIGHT.txt *LICENSE*.*"/>
+
+ <fileset dir="${cvsRootDir}/j3d-core/src/classes/share"
+ includes="*/**"
+ excludes="**/doc-files/** **/package.html"/>
+
+ <fileset dir="${cvsRootDir}/j3d-core/src/classes/jogl"
+ includes="*/**"
+ excludes="**/doc-files/** **/package.html"/>
+
+<!-- We will not include platform specific source files in this release
+
+ <fileset dir="${cvsRootDir}/j3d-core/src/classes/win32"
+ includes="*/**"
+ excludes="**/doc-files/** **/package.html"/>
+ <fileset dir="${cvsRootDir}/j3d-core/src/classes/x11"
+ includes="*/**"
+ excludes="**/doc-files/** **/package.html"/>
+-->
+
+ <zipfileset dir="${cvsRootDir}/j3d-core-utils" prefix="com"
+ includes="COPYRIGHT.txt *LICENSE*.*"/>
+
+ <fileset dir="${cvsRootDir}/j3d-core-utils/src/classes/share"
+ includes="*/**"
+ excludes="**/doc-files/** **/package.html"/>
+ </zip>
+ </target>
+
+ <target name="vecmathSrc" depends="vecmathSrcClean">
+ <zip destfile="${vecmathZipFile}">
+
+ <fileset dir="${cvsRootDir}/j3d-core/release-info/src-release/vecmath"
+ includes="README.txt"/>
+
+ <zipfileset dir="${cvsRootDir}/vecmath" prefix="javax"
+ includes="COPYRIGHT.txt *LICENSE*.*"/>
+
+ <fileset dir="${cvsRootDir}/vecmath/src"
+ includes="*/**"
+ excludes="*/doc-files/** **/package.html VECMATH.MF"/>
+ </zip>
+ </target>
+
+ <target name="j3dSrcClean" depends="initSrc">
+ <delete file="${j3dZipFile}"/>
+ </target>
+
+ <target name="vecmathSrcClean" depends="initSrc">
+ <delete file="${vecmathZipFile}"/>
+ </target>
+
<target name="clean-dist">
<!-- Delete the ${dist} directory tree -->
<delete dir="${dist}"/>
@@ -781,6 +861,8 @@ The following ant targets are available ("jar-opt" is the default):
install-debug - installs the debug build into the JDK pointed to by JAVA_HOME
+ src - generate a zip file Java 3D project source code.
+
uninstall - uninstalls Java 3D from the JDK pointed to by JAVA_HOME
</description>
</project>
diff --git a/release-info/src-release/j3d/README.txt b/release-info/src-release/j3d/README.txt
new file mode 100644
index 0000000..0691105
--- /dev/null
+++ b/release-info/src-release/j3d/README.txt
@@ -0,0 +1,26 @@
+The source code in this directory is copyrighted code that is licensed
+to individuals or companies who download or otherwise access the code.
+
+The javax subdirectory contains the source code for the j3d-core
+project. The com subdirectory contains the source code for the
+j3d-core-utils project.
+
+The copyright notice for the j3d-core source code is in the
+javax/COPYRIGHT.txt file. The copyright notice for the j3d-core-utils
+source code is in the com/COPYRIGHT.txt file.
+
+The license terms for the j3d-core and j3d-core-utils projects are
+different. A separate source code license is used for each project.
+The license for the j3d-core source code is in the javax/LICENSE.txt
+file. The license for the j3d-core-utils source code is in the
+com/LICENSE.txt file.
+
+Additional information and license restrictions for third party source
+code are found in the javax/THIRDPARTY-LICENSE-*.txt and
+com/THIRDPARTY-LICENSE-*.txt files.
+
+
+Note that the source files in this directory are not sufficient to
+build Java 3D. If you want to build Java 3D, you can use CVS to get a
+complete source tree. See
+https://j3d-core.dev.java.net/build-instr.html for more information.
diff --git a/release-info/src-release/vecmath/README.txt b/release-info/src-release/vecmath/README.txt
new file mode 100644
index 0000000..ab5e522
--- /dev/null
+++ b/release-info/src-release/vecmath/README.txt
@@ -0,0 +1,13 @@
+The source code in this directory is copyrighted code that is licensed
+to individuals or companies who download or otherwise access the code.
+
+The copyright notice for the vecmath source code is in the
+javax/COPYRIGHT.txt file.
+
+The license for the vecmath source code is in the javax/LICENSE.txt
+file.
+
+Note that the source files in this directory are not sufficient to
+build vecmath. If you want to build vecmath, you can use CVS to get a
+complete source tree. See
+https://vecmath.dev.java.net/build-instr.html for more information.