summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcr <kcr>2007-06-19 20:00:29 +0000
committerkcr <kcr>2007-06-19 20:00:29 +0000
commit3945300799f49c7c1f615947050c8265c3bd5b3b (patch)
tree821b41d68ff46acf1c5d9bbb044862f7d806e6b3
parenta2517cd6f3caf63592fa3e39f86515f1a3e9ee8e (diff)
Infrastructure for building the project
-rw-r--r--COPYRIGHT.txt77
-rw-r--r--LICENSE.txt35
-rw-r--r--README-FIRST.txt9
-rw-r--r--README-build.html134
-rw-r--r--build.xml97
-rw-r--r--manifest.mf6
-rw-r--r--nbproject/.cvsignore1
-rw-r--r--nbproject/project.xml57
8 files changed, 416 insertions, 0 deletions
diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt
new file mode 100644
index 0000000..b02644e
--- /dev/null
+++ b/COPYRIGHT.txt
@@ -0,0 +1,77 @@
+Copyright (c) 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa
+Clara, California 95054, U.S.A. All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in the product that is described in this
+document. In particular, and without limitation, these intellectual
+property rights may include one or more of the U.S. patents listed at
+http://www.sun.com/patents and one or more additional patents or
+pending patent applications in the U.S. and in other countries.
+
+U.S. Government Rights - Commercial software. Government users are
+subject to the Sun Microsystems, Inc. standard license agreement and
+applicable provisions of the FAR and its supplements.
+
+Use is subject to license terms.
+
+This distribution may include materials developed by third parties.
+
+Parts of the product may be derived from Berkeley BSD systems,
+licensed from the University of California. UNIX is a registered
+trademark in the U.S. and in other countries, exclusively licensed
+through X/Open Company, Ltd.
+
+Sun, Sun Microsystems, the Sun logo, Java, Solaris, Java 3D, the 100%
+Pure Java logo, the Duke logo and the Java Coffee Cup logo are
+trademarks or registered trademarks of Sun Microsystems, Inc. in the
+U.S. and other countries.
+
+This product is covered and controlled by U.S. Export Control laws and
+may be subject to the export or import laws in other countries.
+Nuclear, missile, chemical biological weapons or nuclear maritime end
+uses or end users, whether direct or indirect, are strictly
+prohibited. Export or reexport to countries subject to U.S. embargo or
+to entities identified on U.S. export exclusion lists, including, but
+not limited to, the denied persons and specially designated nationals
+lists is strictly prohibited.
+
+Copyright (c) 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa
+Clara, California 95054, Etats-Unis. Tous droits r�serv�s.
+
+Sun Microsystems, Inc. d�tient les droits de propri�t� intellectuels
+relatifs � la technologie incorpor�e dans le produit qui est d�crit
+dans ce document. En particulier, et ce sans limitation, ces droits de
+propri�t� intellectuelle peuvent inclure un ou plus des brevets
+am�ricains list�s � l'adresse http://www.sun.com/patents et un ou les
+brevets suppl�mentaires ou les applications de brevet en attente aux
+Etats - Unis et dans les autres pays.
+
+L'utilisation est soumise aux termes de la Licence.
+
+Cette distribution peut comprendre des composants d�velopp�s par des
+tierces parties.
+
+Des parties de ce produit pourront �tre d�riv�es des syst�mes Berkeley
+BSD licenci�s par l'Universit� de Californie. UNIX est une marque
+d�pos�e aux Etats-Unis et dans d'autres pays et licenci�e
+exclusivement par X/Open Company, Ltd.
+
+Sun, Sun Microsystems, le logo Sun, Java, Solaris, Java 3D, le logo
+100% Pure Java, le logo Duke et le logo Java Coffee Cup sont des
+marques de fabrique ou des marques d�pos�es de Sun Microsystems,
+Inc. aux Etats-Unis et dans d'autres pays.
+
+Ce produit est soumis � la l�gislation am�ricaine en mati�re de
+contr�le des exportations et peut �tre soumis � la r�glementation en
+vigueur dans d'autres pays dans le domaine des exportations et
+importations. Les utilisations, ou utilisateurs finaux, pour des armes
+nucl�aires,des missiles, des armes biologiques et chimiques ou du
+nucl�aire maritime, directement ou indirectement, sont strictement
+interdites. Les exportations ou r�exportations vers les pays sous
+embargo am�ricain, ou vers des entit�s figurant sur les listes
+d'exclusion d'exportation am�ricaines, y compris, mais de mani�re non
+exhaustive, la liste de personnes qui font objet d'un ordre de ne pas
+participer, d'une fa�on directe ou indirecte, aux exportations des
+produits ou des services qui sont r�gis par la l�gislation am�ricaine
+en mati�re de contr�le des exportations et la liste de ressortissants
+sp�cifiquement d�sign�s, sont rigoureusement interdites.
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..7e18c3c
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,35 @@
+Copyright 2007 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, licensed or
+intended for use in the design, construction, operation or
+maintenance of any nuclear facility.
diff --git a/README-FIRST.txt b/README-FIRST.txt
new file mode 100644
index 0000000..80dcc84
--- /dev/null
+++ b/README-FIRST.txt
@@ -0,0 +1,9 @@
+The source code for the applet-launcher project is copyrighted code
+that is licensed to individuals or companies who download or otherwise
+access the code.
+
+The copyright notice for this project is in COPYRIGHT.txt
+
+The source code license information for this project is in LICENSE.txt
+
+Instructions for building this project are in README-build.html
diff --git a/README-build.html b/README-build.html
new file mode 100644
index 0000000..9919a4f
--- /dev/null
+++ b/README-build.html
@@ -0,0 +1,134 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<!--
+/*
+* $RCSfile: README-build.html,v $
+*
+* Copyright 2007 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, licensed or
+* intended for use in the design, construction, operation or
+* maintenance of any nuclear facility.
+*
+* $Revision: 1.1 $
+* $Date: 2007/06/19 20:00:29 $
+* $State: Exp $
+*/
+-->
+
+
+
+ <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+
+
+ <title>README-build: build instructions for the j3d-examples project</title>
+</head>
+
+
+<body>
+
+<h3><span style="font-weight: bold;"></span>Building the Applet-Launcher Project<br>
+
+</h3>
+
+<p>To build the
+applet-launcher jar file, you must first checkout the applet-launcher
+CVS repository on java.net. For example, run the cvs checkout command
+as follows:</p>
+
+<ul>
+
+ <li>cd &lt;cvs-root-dir&gt;</li>
+
+ <li>cvs checkout applet-launcher</li>
+
+</ul>
+
+<h3>System Requirements<br>
+
+</h3>
+
+<p>The following software must be installed:</p>
+
+<ul>
+
+ <li>JDK 5 or later</li>
+
+ <li>Apache Ant 1.6.5 or later</li>
+
+</ul>
+
+<h3>Building applet-launcher<br>
+
+</h3>
+
+
+<p>Before you start building, please check that your PATH includes the following directories:<br>
+
+</p>
+
+<ul>
+
+ <li>&lt;ant-root-dir&gt;/bin</li>
+
+ <li>&lt;jdk-root_dir&gt;/bin<br>
+
+ </li>
+
+</ul>
+
+<p>To build the applet-launcher jar file:<br>
+
+</p>
+
+<ul>
+
+ <li>cd &lt;cvs-root-dir&gt;/applet-launcher</li>
+
+ <li>ant<br>
+
+ </li>
+
+</ul>
+
+<p>This will build the applet-launcher.jar, placed in the dist directory.</p>
+
+<p><br>
+
+
+</p>
+
+
+</body>
+</html>
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..9f8fd81
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+
+<!--
+/*
+ * $RCSfile: build.xml,v $
+ *
+ * Copyright 2007 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, licensed or
+ * intended for use in the design, construction, operation or
+ * maintenance of any nuclear facility.
+ *
+ * $Revision: 1.1 $
+ * $Date: 2007/06/19 20:00:29 $
+ * $State: Exp $
+ */
+ -->
+
+<project name="applet-launcher" basedir="." default="jar">
+ <target name="init">
+ <!-- Set global properties for this build -->
+ <property name="topdir" location="."/>
+ <property name="src" location="src"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="dist"/>
+ <property name="output.jar" location="dist/applet-launcher.jar"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <!-- Create the build directory -->
+ <mkdir dir="${build}/classes"/>
+
+ <!-- Compile the java code from ${src}/classes into ${build}/classes -->
+ <javac srcdir="${src}"
+ destdir="${build}/classes"
+ source="1.5"
+ target="1.5"
+ debug="true"
+ deprecation="true"/>
+
+ <!-- Copy LICENSE and COPYRIGHT files to build -->
+ <copy todir="${build}/classes/org">
+ <fileset dir="${topdir}"
+ includes ="COPYRIGHT.txt LICENSE*.txt"/>
+ </copy>
+
+ </target>
+
+ <target name="jar" depends="init,compile">
+ <!-- Create the dist directory -->
+ <mkdir dir="${dist}"/>
+
+ <!-- Create the jar file -->
+ <jar jarfile="${output.jar}"
+ manifest="manifest.mf"
+ update="no"
+ compress="false">
+ <fileset dir="${build}/classes" includes="org/**/*"/>
+ </jar>
+ </target>
+
+ <target name="clean" depends="init">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+
+</project>
diff --git a/manifest.mf b/manifest.mf
new file mode 100644
index 0000000..3e1374b
--- /dev/null
+++ b/manifest.mf
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Implementation-Title: Applet Launcher Utility
+Implementation-Version: 0.9
+Implementation-Vendor: Sun Microsystems, Inc.
+Implementation-Vendor-Id: com.sun
+Extension-Name: org.jdesktop.applet.util
diff --git a/nbproject/.cvsignore b/nbproject/.cvsignore
new file mode 100644
index 0000000..3e18ebf
--- /dev/null
+++ b/nbproject/.cvsignore
@@ -0,0 +1 @@
+private
diff --git a/nbproject/project.xml b/nbproject/project.xml
new file mode 100644
index 0000000..761bf05
--- /dev/null
+++ b/nbproject/project.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.ant.freeform</type>
+ <configuration>
+ <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
+ <name>applet-launcher</name>
+ </general-data>
+ <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
+ <!-- Do not use Project Properties customizer when editing this file manually. -->
+ <name>applet-launcher</name>
+ <properties/>
+ <folders>
+ <source-folder>
+ <label>src</label>
+ <type>java</type>
+ <location>src</location>
+ <encoding>UTF-8</encoding>
+ </source-folder>
+ </folders>
+ <ide-actions>
+ <action name="build">
+ <target>jar</target>
+ </action>
+ <action name="clean">
+ <target>clean</target>
+ </action>
+ <action name="rebuild">
+ <target>clean</target>
+ <target>jar</target>
+ </action>
+ </ide-actions>
+ <view>
+ <items>
+ <source-folder style="packages">
+ <label>src</label>
+ <location>src</location>
+ </source-folder>
+ <source-file>
+ <location>build.xml</location>
+ </source-file>
+ </items>
+ <context-menu>
+ <ide-action name="build"/>
+ <ide-action name="clean"/>
+ <ide-action name="rebuild"/>
+ </context-menu>
+ </view>
+ <subprojects/>
+ </general-data>
+ <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
+ <compilation-unit>
+ <package-root>src</package-root>
+ <source-level>1.5</source-level>
+ </compilation-unit>
+ </java-data>
+ </configuration>
+</project>