r928 - in lutinjaxx/trunk: jaxx-core/src/site/fr/rst/examples jaxx-core/src/site/fr/rst/examples/images jaxx-example jaxx-example/src jaxx-example/src/site jaxx-example/src/site/fr jaxx-example/src/site/fr/rst maven-jaxx-plugin/src/examples
Author: tchemit Date: 2008-10-15 20:38:51 +0000 (Wed, 15 Oct 2008) New Revision: 928 Added: lutinjaxx/trunk/jaxx-example/src/site/ lutinjaxx/trunk/jaxx-example/src/site/fr/ lutinjaxx/trunk/jaxx-example/src/site/fr/rst/ lutinjaxx/trunk/jaxx-example/src/site/fr/rst/index.rst Removed: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Validation.jaxx.rst lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Calculator-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Components-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Counter-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/LabelStyle-screenshot.gif lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Validation-screenshot.jaxx.png lutinjaxx/trunk/maven-jaxx-plugin/src/examples/Calculator/ lutinjaxx/trunk/maven-jaxx-plugin/src/examples/Components/ lutinjaxx/trunk/maven-jaxx-plugin/src/examples/Counter/ lutinjaxx/trunk/maven-jaxx-plugin/src/examples/LabelStyle/ lutinjaxx/trunk/maven-jaxx-plugin/src/examples/Validation/ Modified: lutinjaxx/trunk/jaxx-example/ lutinjaxx/trunk/jaxx-example/pom.xml Log: each example is a module Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator.jaxx.rst 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Calculator.jaxx.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -1,30 +0,0 @@ -=================== -Examples/Calculator -=================== - -This is an implementation of Challenge #2 from the `XUL Grand Coding Challenge 2004`_ . Because this example program -has been implemented in so many different languages, you can easily compare JAXX's -syntax against the competition and decide for yourself which you prefer. - -Screen shot ------------ - -.. image:: images/Calculator-screenshot.gif - -Set it in action ----------------- - -|webstart| - -To run this example in `Java Web Start`_, click the `following link`_. - -Source code ------------ - -.. _XUL Grand Coding Challenge 2004: http://xul.sourceforge.net/challenge.html - -.. _Java Web Start: http://java.sun.com/products/javawebstart/ - -.. |webstart| image:: images/webstart.gif - -.. _following link: http://buix.labs.libre-entreprise.org/lutinjaxx/maven-jaxx-plugin/examples/l... Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Components.jaxx.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -1,33 +0,0 @@ -=================== -Examples/Components -=================== - -The Components demo displays many different Swing components being used in a variety of ways; it is JAXX's equivalent -of the SwingSet demo. Various pages use advanced features such as data binding, scripting, event handling, and -CSS stylesheets. - -Screen shot ------------ - -.. image:: images/Components-screenshot.gif - -Set it in action ----------------- - -|webstart| - -To run this example in `Java Web Start`_, click the `following link`_. - - -Source code ------------ - -Unlike the other examples, the source code for Components is too big to display here. You can view it yourself by -downloading JAXX, and you can also view the source code for the individual demos by clicking the "Source" tabs. - - -.. _Java Web Start: http://java.sun.com/products/javawebstart/ - -.. |webstart| image:: images/webstart.gif - -.. _following link: http://buix.labs.libre-entreprise.org/lutinjaxx/maven-jaxx-plugin/examples/l... Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter.jaxx.rst 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Counter.jaxx.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -1,28 +0,0 @@ -================ -Examples/Counter -================ - - -Screen shot ------------ - -.. image:: images/Counter-screenshot.gif - -Set it in action ----------------- - - -|webstart| - -To run this example in `Java Web Start`_, click the `following link`_. - - -Source code ------------ - - -.. _Java Web Start: http://java.sun.com/products/javawebstart/ - -.. |webstart| image:: images/webstart.gif - -.. _following link: http://buix.labs.libre-entreprise.org/lutinjaxx/maven-jaxx-plugin/examples/l... \ No newline at end of file Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/LabelStyles.jaxx.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -1,28 +0,0 @@ -==================== -Examples/LabelStyles -==================== - -This example program creates a number of components which are used to control the appearance of a JLabel. -Everything is performed through data binding; there are no script tags or explicit event handlers anywhere. - -Screen shot ------------ - -.. image:: images/LabelStyle-screenshot.gif - -Set it in action ----------------- - -|webstart| - -To run this example in `Java Web Start`_, click the `following link`_. - - -Source code ------------ - -.. _Java Web Start: http://java.sun.com/products/javawebstart/ - -.. |webstart| image:: images/webstart.gif - -.. _following link: http://buix.labs.libre-entreprise.org/lutinjaxx/maven-jaxx-plugin/examples/l... Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Validation.jaxx.rst =================================================================== --- lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Validation.jaxx.rst 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/Validation.jaxx.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -1,28 +0,0 @@ -===================== -Examples/LabelStyles2 -===================== - -This example program creates a number of components which are used to control the appearance of a JLabel. -Everything is performed through data binding; there are no script tags or explicit event handlers anywhere. - -Screen shot ------------ - -.. image:: images/Validation-screenshot.gif - -Set it in action ----------------- - -|webstart| - -To run this example in `Java Web Start`_, click the `following link`_. - - -Source code ------------ - -.. _Java Web Start: http://java.sun.com/products/javawebstart/ - -.. |webstart| image:: images/webstart.png - -.. _following link: http://buix.labs.libre-entreprise.org/lutinjaxx/maven-jaxx-plugin/examples/l... Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Calculator-screenshot.gif =================================================================== (Binary files differ) Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Components-screenshot.gif =================================================================== (Binary files differ) Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Counter-screenshot.gif =================================================================== (Binary files differ) Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/LabelStyle-screenshot.gif =================================================================== (Binary files differ) Deleted: lutinjaxx/trunk/jaxx-core/src/site/fr/rst/examples/images/Validation-screenshot.jaxx.png =================================================================== (Binary files differ) Property changes on: lutinjaxx/trunk/jaxx-example ___________________________________________________________________ Name: svn:ignore + target Modified: lutinjaxx/trunk/jaxx-example/pom.xml =================================================================== --- lutinjaxx/trunk/jaxx-example/pom.xml 2008-10-15 20:36:29 UTC (rev 927) +++ lutinjaxx/trunk/jaxx-example/pom.xml 2008-10-15 20:38:51 UTC (rev 928) @@ -15,7 +15,7 @@ <version>0.5-SNAPSHOT</version> </parent> - <artifactId>jaxx-example-pom</artifactId> + <artifactId>jaxx-example</artifactId> <dependencies> @@ -27,10 +27,17 @@ </dependencies> + <modules> + <module>Calculator</module> + <!--module>Components</module--> + <module>Counter</module> + <module>LabelStyle</module> + <module>Validation</module> + </modules> <!-- ************************************************************* --> <!-- *** Project Information ************************************* --> <!-- ************************************************************* --> - <name>jaxx example pom</name> + <name>jaxx-example</name> <version>0.5-SNAPSHOT</version> <inceptionYear>2008</inceptionYear> <description>Jaxx Example super pom</description> @@ -53,6 +60,21 @@ <keystorealias>CodeLutin</keystorealias> <keystorepass>codelutin</keystorepass> + <!-- override this property to define scm url property --> + <scm.url.example> + http://${labs.host}/plugins/scmsvn/viewcvs.php/lutinjaxx/trunk/jaxx-example/${pom.artifactId}/?root=${labs.project} + </scm.url.example> + + <!-- BEWARE, will be suffixed by /${pom.artifactId} by inheritance --> + <scm.developerConnection.example> + scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/lutinjaxx/trunk/jaxx-example/${pom.artifactId} + </scm.developerConnection.example> + + <!-- BEWARE, will be suffixed by /${pom.artifactId} by inheritance --> + <scm.connection.example> + scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/lutinjaxx/trunk/jaxx-example/${pom.artifactId} + </scm.connection.example> + </properties> <build> @@ -106,10 +128,10 @@ <!-- Ajout des libs signe par Sun dans un fichier jnlp separe --> <execution> <id>JnlpSun</id> - <phase>package</phase> + <phase>pre-site</phase> <configuration> <tasks> - <copy file="${project.basedir}/src/main/jnlp/sun.jnlp" + <copy file="${project.basedir}/../src/main/jnlp/sun.jnlp" todir="${project.basedir}/target/jnlp" failonerror="false"> <filterset> <filter token="help" value="javahelp-2.0.02.jar"/> @@ -119,6 +141,25 @@ <copy file="${project.build.directory}/lib/javahelp-2.0.02.jar" todir="${project.basedir}/target/jnlp/lib" failonerror="false"/> </tasks> + <!--/configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + + <execution> + <id>JnlpToSite</id> + <phase>pre-site</phase> + <configuration--> + <tasks> + <mkdir dir="${maven.site.gen.dir}/resources/bin"/> + <copy todir="${maven.site.gen.dir}/resources/bin" verbose="${maven.verbose}" + failonerror="false" overwrite="false"> + <fileset dir="${project.build.directory}/jnlp"> + <include name="**"/> + </fileset> + </copy> + </tasks> </configuration> <goals> <goal>run</goal> @@ -133,7 +174,7 @@ <version>1.0-alpha-2</version> <executions> <execution> - <phase>package</phase> + <phase>pre-site</phase> <goals> <goal>jnlp</goal> </goals> @@ -146,6 +187,7 @@ </excludes> </dependencies> <libPath>lib</libPath> + <templateDirectory>${project.basedir}/../src/main/jnlp</templateDirectory> <jnlp> <outputFile>launch-${project.artifactId}.jnlp</outputFile> <mainClass>${maven.jar.main.class}</mainClass> @@ -182,4 +224,13 @@ </pluginManagement> </build> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + <scm> + <connection>${scm.connection.son}</connection> + <developerConnection>${scm.developerConnection.son}</developerConnection> + <url>${scm.url.son}</url> + </scm> </project> \ No newline at end of file Copied: lutinjaxx/trunk/jaxx-example/src/site/fr/rst/index.rst (from rev 920, lutinjaxx/trunk/jaxx-core/src/site/fr/rst/exemples.rst) =================================================================== --- lutinjaxx/trunk/jaxx-example/src/site/fr/rst/index.rst (rev 0) +++ lutinjaxx/trunk/jaxx-example/src/site/fr/rst/index.rst 2008-10-15 20:38:51 UTC (rev 928) @@ -0,0 +1,28 @@ +======== +Exemples +======== + +Here are some simple example programs to give you an idea of what JAXX is all about: + + * JAXXEdit - A complete application written using JAXX for the GUI. + + * Components_ + Comprehensive demo which displays most of the Swing components. Demonstrates every major feature of JAXX, including data binding, scripting, and CSS stylesheets. + + * LabelStyles_ - Uses data binding to edit the appearance of a JLabel. Shows off the power and usefulness of data binding well. + + * Calculator_ - Four-function calculator. Based on the XUL Grand Coding Challenge. + + * Counter_ - simple data binding and scripting example. Based on the XUL Grand Coding Challenge. + + * Validation_ - simple data validation with xworks and jxlayer. + +.. _Components: Components/index.html + +.. _LabelStyles: LabelStyle/index.html + +.. _Calculator: Calculator/index.html + +.. _Counter: Counter/index.html + +.. _Validation: Validation/index.html \ No newline at end of file Property changes on: lutinjaxx/trunk/jaxx-example/src/site/fr/rst/index.rst ___________________________________________________________________ Name: svn:mergeinfo +
participants (1)
-
tchemit@users.labs.libre-entreprise.org