diff --git a/mozilla/java/plugins/build.xml b/mozilla/java/plugins/build.xml index 6f5f4838dd2..709776e75e5 100644 --- a/mozilla/java/plugins/build.xml +++ b/mozilla/java/plugins/build.xml @@ -81,7 +81,7 @@ + depends="prepare,compile.classes,compile.src,compile.jni,compile.mozilla"/> diff --git a/mozilla/java/plugins/classes/org/mozilla/pluglet/overview.html b/mozilla/java/plugins/classes/org/mozilla/pluglet/overview.html new file mode 100644 index 00000000000..640bf1018a3 --- /dev/null +++ b/mozilla/java/plugins/classes/org/mozilla/pluglet/overview.html @@ -0,0 +1,42 @@ + + + + + + + Pluglet + + + +

The API Javadocs for the Pluglet specification.

+ +
+ + +Last modified: Mon Sep 10 15:32:14 W. Europe Daylight Time 2007 + + + diff --git a/mozilla/java/plugins/dist/build.xml b/mozilla/java/plugins/dist/build.xml new file mode 100644 index 00000000000..bd125529f4f --- /dev/null +++ b/mozilla/java/plugins/dist/build.xml @@ -0,0 +1,358 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/dist/javadoc.css b/mozilla/java/plugins/dist/javadoc.css new file mode 100644 index 00000000000..fc265122f29 --- /dev/null +++ b/mozilla/java/plugins/dist/javadoc.css @@ -0,0 +1,19 @@ +/* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */ +.java .de1, .java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} +.java {font-family: monospace;} +.java .imp {font-weight: bold; color: red;} +.java li {background: #ffffff;} +.java li.li2 {background: #f4f4f4;} +.java .kw1 {color: #b1b100;} +.java .kw2 {color: #000000; font-weight: bold;} +.java .kw3 {color: #aaaadd; font-weight: bold;} +.java .kw4 {color: #993333;} +.java .co1 {color: #808080; font-style: italic;} +.java .co2 {color: #a1a100;} +.java .coMULTI {color: #808080; font-style: italic;} +.java .es0 {color: #000099; font-weight: bold;} +.java .br0 {color: #66cc66;} +.java .st0 {color: #ff0000;} +.java .nu0 {color: #cc66cc;} +.java .me1 {color: #006600;} +.java .me2 {color: #006600;} diff --git a/mozilla/java/plugins/dist/netbeans/build.xml b/mozilla/java/plugins/dist/netbeans/build.xml new file mode 100644 index 00000000000..f6070085ad2 --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/build.xml @@ -0,0 +1,277 @@ + + + + + + Builds, tests, and runs the project pluglet. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Conditions for compilation have not been met. + +Have you verified that the property browser.bin.dir has been set +to the binary directory of the host browser in the pluglet.properties +file? The current value of this property is: +${browser.bin.dir} and this directory must contain the file +${so.prefix}xpcom.${so.extension}. + +Have you verified that the property jdkhome.nospaces has been set +to the installation of the JDK, in the pluglet.properties file, +and that the path to this directory +has no spaces? The current value of this property is: +${jdkhome.nospaces}. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/dist/netbeans/nbproject/build-impl.xml b/mozilla/java/plugins/dist/netbeans/nbproject/build-impl.xml new file mode 100644 index 00000000000..3f886f147d4 --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/nbproject/build-impl.xml @@ -0,0 +1,577 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set platform.home + Must set platform.bootcp + Must set platform.java + Must set platform.javac + Platform is not correctly set up + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.EmptyMainClass.dir + Must set src.java.dir + Must set src.java2.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + + + + + + ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + ${platform.java} -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/dist/netbeans/nbproject/genfiles.properties b/mozilla/java/plugins/dist/netbeans/nbproject/genfiles.properties new file mode 100644 index 00000000000..ae114ba4d0a --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=8df37aff +build.xml.script.CRC32=4cc13411 +build.xml.stylesheet.CRC32=240b97a2 +# 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=c09404ce +nbproject/build-impl.xml.script.CRC32=d63e7ed7 +nbproject/build-impl.xml.stylesheet.CRC32=20b9345e diff --git a/mozilla/java/plugins/dist/netbeans/nbproject/project.properties b/mozilla/java/plugins/dist/netbeans/nbproject/project.properties new file mode 100644 index 00000000000..ba8acad7dc2 --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/nbproject/project.properties @@ -0,0 +1,63 @@ +application.args= +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 +# 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 +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}/pluglet.jar +dist.javadoc.dir=${dist.dir}/javadoc +file.reference.examples-EmptyMainClass=../examples/EmptyMainClass +file.reference.main-java=../examples/simple/src/main/java +file.reference.main-java-1=../examples/jmf-player/src/main/java +file.reference.main-java-2=../examples/jmfplayer/src/main/java +jar.compress=false +javac.classpath=\ + ${libs.JMF.classpath}:\ + ${file.reference.pluglet-1_1_a2.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.source=1.5 +javac.target=1.5 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir}:\ + ${libs.junit.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding= +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=EmptyMainClass +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +platform.active=Java_HotSpot_TM__Client_VM_1.5.0_11-b03 +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value +# or test-sys-prop.name=value to set system properties for unit tests): +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +src.EmptyMainClass.dir=${file.reference.examples-EmptyMainClass} +src.java.dir=${file.reference.main-java} +src.java2.dir=${file.reference.main-java-2} diff --git a/mozilla/java/plugins/dist/netbeans/nbproject/project.xml b/mozilla/java/plugins/dist/netbeans/nbproject/project.xml new file mode 100644 index 00000000000..4950959195f --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/nbproject/project.xml @@ -0,0 +1,17 @@ + + + org.netbeans.modules.java.j2seproject + + + pluglet + 1.6.5 + + + + + + + + + + diff --git a/mozilla/java/plugins/dist/netbeans/pluglet.properties b/mozilla/java/plugins/dist/netbeans/pluglet.properties new file mode 100644 index 00000000000..6cc9955a1a6 --- /dev/null +++ b/mozilla/java/plugins/dist/netbeans/pluglet.properties @@ -0,0 +1,7 @@ +bin.artifacts.pattern=${so.prefix}plugletjni.${so.extension},components/${so.prefix}pluglet.${so.extension},components/pluglet.xpt,plugins/np${so.prefix}pluglet.${so.extension},plugins/SimplePluglet.jar,plugins/jmfplayer.jar +#debug.jvm.args=-Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=y + +#Make this point to the bin directory of your XULRUNNER installation +browser.bin.dir=C:\\Projects\\chaff\\pluglet-1-1-alpha-1\\ff1509 +#Make this point at your JDKHOME without spaces +jdkhome.nospaces=C:\\PROGRA~1\\Java\\jdk1.6.0 diff --git a/mozilla/java/plugins/dist/pluglet-pom.xml b/mozilla/java/plugins/dist/pluglet-pom.xml new file mode 100644 index 00000000000..a9aa9db71f5 --- /dev/null +++ b/mozilla/java/plugins/dist/pluglet-pom.xml @@ -0,0 +1,60 @@ + + 4.0.0 + org.mozilla.pluglet + pluglet + pom + Mozilla Pluglets + 1.1-SNAPSHOT + + Artifacts for non-native portion of Mozilla Pluglet + spec and implementation. + + http://www.mozilla.org/projects/blackwood/java-plugins/ + + bugzilla + https://bugzilla.mozilla.org/ + + + + Mozilla Java Pluglet Newsgroup + http://groups.google.com/group/mozilla.dev.tech.plugins/post + http://groups.google.com/group/mozilla.dev.tech.plugins/ + + + + + edburns + Ed Burns + edburns@acm.org + Sun Microsystems, Inc. + + project-owner + + -6 + + + + + + + Mozilla Public License 1.1 + http://www.mozilla.org/MPL/MPL-1.1.html + manual + + Due to Pluglet's current dependency on native code, it + is not possible to distribute Webclient entirely via Maven. The + Jar portion of Pluglet can be distributed via Maven, + however. + + + + + scm:cvs:pserver:anonymous:@cvs-mirror.mozilla.org:/cvsroot:Blackwood + scm:cvs:ext:username:@cvs.mozilla.org:/cvsroot:Blackwood + http://bonsai.mozilla.org/rview.cgi?dir=mozilla/java&cvsroot=/cvsroot&module=default + + + Mozilla Organization + http://www.mozilla.org/ + +