You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2010/03/12 12:36:46 UTC
svn commit: r922222 - in /myfaces/extensions/scripting/trunk: pom.xml
src/site/apt/download.apt src/site/site.xml src/site/xdoc/download.xml
src/site/xdoc/install_alpha_1.xml
Author: werpu
Date: Fri Mar 12 11:36:45 2010
New Revision: 922222
URL: http://svn.apache.org/viewvc?rev=922222&view=rev
Log:
https://issues.apache.org/jira/browse/EXTSCRIPT-41
ongoing works in the docs
Added:
myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml (with props)
Removed:
myfaces/extensions/scripting/trunk/src/site/xdoc/download.xml
Modified:
myfaces/extensions/scripting/trunk/pom.xml
myfaces/extensions/scripting/trunk/src/site/apt/download.apt
myfaces/extensions/scripting/trunk/src/site/site.xml
Modified: myfaces/extensions/scripting/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/pom.xml?rev=922222&r1=922221&r2=922222&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/pom.xml (original)
+++ myfaces/extensions/scripting/trunk/pom.xml Fri Mar 12 11:36:45 2010
@@ -28,7 +28,8 @@
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/</developerConnection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/
+ </developerConnection>
<url>http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/</url>
</scm>
@@ -179,6 +180,16 @@
<artifactId>surefire-report-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
+
+
</plugins>
</reporting>
Modified: myfaces/extensions/scripting/trunk/src/site/apt/download.apt
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/src/site/apt/download.apt?rev=922222&r1=922221&r2=922222&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/src/site/apt/download.apt (original)
+++ myfaces/extensions/scripting/trunk/src/site/apt/download.apt Fri Mar 12 11:36:45 2010
@@ -26,60 +26,16 @@ Download Apache MyFaces Extension Script
For Binary Builds from maven you can use the Alpha Repository or the trunk
(see {{{installation.html} the Ext-Scripting Installation Page }} for further information)
- The Binary Alpha 1 Release Maven packages can be found in {{{http://people.apache.org/~lu4242/extscript100alpha}}}
-
+ The Binary Alpha 1 "Release" Maven packages can be found in {{{http://people.apache.org/~lu4242/extscript100alpha} http://people.apache.org/~lu4242/extscript100alpha}}
+
+ Note since the codebase is alpha currently there is no official release or distributions.
+ Distribution packages will follow in the upcoming weeks during the beta phase.
+ It is recommended to checkout and use the latest sources.
+
+ For manual download instructions of the Ext-Scripting Alpha 1 release follow the link to the {{{install_alpha_1.html}Ext-Scripting Alpha 1 installation page}}
Latest source code from SVN repository
If you want to use the latest Apache MyFaces Ext-Scripting features, the source code is under
version control with SVN. Click {{{source-repository.html} here }}
for information on how to use the ASF MyFaces Ext-Scripting SVN Repository.
-
-
-Verifying checksums
-
- It is essential that you verify the integrity of the downloaded
- files using the PGP and MD5 signatures. MD5 verification ensures the
- file was not corrupted during the download process. PGP verification
- ensures that the file came from a certain person.
-
- To verify the MD5 signature on the files, you need to use a program
- called <<<md5>>> or <<<md5sum>>>, which is
- included in many UNIX distributions. It is also available as part of
- {{{http://www.gnu.org/software/textutils/textutils.html}GNU Textutils}}.
- Windows users can get binary md5 programs from {{{http://www.fourmilab.ch/md5/}here}},
- {{{http://www.pc-tools.net/win32/freeware/console/}here}}, or
- {{{http://www.slavasoft.com/fsum/}here}}.
-
-
-Verifying signatures
-
- PGP verification ensures that the file came from a certain person. We strongly recommend
- you verify your downloads with both PGP and MD5.
-
- The PGP signatures can be verified using {{{http://www.pgpi.org/}PGP}} or
- {{{http://www.gnupg.org/}GPG}}. First download the Apache MyFaces Trinidad
- {{http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/KEYS/}KEYS}} as well as the <<<asc>>> signature file
- for the particular distribution. It is important that you get these files from the ultimate
- trusted source - the main ASF distribution site, rather than from a mirror.
- Then verify the signatures using ...
-
- <<<
- % pgpk -a KEYS
- % pgpv trinidad-1.0.12-dist.tar.gz.asc trinidad-1.0.12-dist.tar.gz
- >>>
-
- <or>
-
- <<<
- % pgp -ka KEYS
- % pgp trinidad-1.0.12-dist.tar.gz.asc trinidad-1.0.12-dist.tar.gz
- >>>
-
- <or>
-
- <<<
- % gpg --import KEYS
- % gpg --verify trinidad-1.0.12-dist.tar.gz.asc trinidad-1.0.12-dist.tar.gz
- >>>
-
\ No newline at end of file
Modified: myfaces/extensions/scripting/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/src/site/site.xml?rev=922222&r1=922221&r2=922222&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/src/site/site.xml (original)
+++ myfaces/extensions/scripting/trunk/src/site/site.xml Fri Mar 12 11:36:45 2010
@@ -48,7 +48,9 @@
</menu>
<menu name="Documentation">
<item name="Introduction" href="index.html" />
- <item name="Installation" href="installation.html" />
+ <item name="Latest Version Installation" href="installation.html" />
+ <item name="Installation Alpha 1" href="install_alpha_1.html" />
+
<item name="Users Guide" href="usersguide.html"/>
<item name="Appendix A: Configuration Entries" href="configentries.html" />
<item name="Appendix B: Example Configurations" href="exampleconfig.html" />
Added: myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml?rev=922222&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml (added)
+++ myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml Fri Mar 12 11:36:45 2010
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+
+-->
+<document>
+ <properties>
+ <title>Installation of the MyFaces Ext-Scripting Alpha 1 "Release"</title>
+ </properties>
+
+ <section name="General Information">
+ <p>
+ Ext-Scripting is currently still in Alpha stage so no official release has been done.
+ Only a semi official 1.0-Alpha release. Since then a lot of simplification work on the
+ dependency side has been done.
+ </p>
+ This page gives detailed instructions on how to use the Alpha-1.
+ <p>
+ However we would recommend to use the latest codebase or one of the upcoming beta releases
+ since lots of bugfixes have went into the codebase.
+ </p>
+ </section>
+ <section name="Setup using Apache Maven2">
+ <subsction name="Download Location">
+ <p>
+ The release build is hosted and signed in an inofficial repository hosted under
+ http://people.apache.org/~lu4242/extscript100alpha
+ </p>
+ <p>
+ You simply have to add following code to your maven pom.xml to be able to use the alpha
+ jars:
+ <source><![CDATA[
+<repositories>
+ <repository>
+ <id>ext-scripting.alpha1</id>
+ <name>Maven Repository for myfaces Ext-Scripting Alpha 1</name>
+ <url>http://people.apache.org/~lu4242/extscript100alpha/</url>
+ <layout>default</layout>
+ </repository>
+<repositories>
+ ]]></source>
+ </p>
+ </subsction>
+ <subsction name="Maven Dependencies">
+ <p>
+ If you want to use Ext-Scripting Alpha 1 in your own project,
+ then you have to add several dependencies to your pom.xml
+ (note a lot of simplification has been done in this area post Alpha-1)
+
+ </p>
+ <p>
+ Depending on your working environment the configuration can vary!
+ </p>
+
+ <h4>Core</h4>
+ <p>All Configurations definitely need our core jar</p>
+ <source><![CDATA[
+<dependency>
+ <groupId>org.apache.myfaces.extension-scripting</groupId>
+ <artifactId>core</artifactId>
+ <version>1.0-ALPHA-1</version>
+</dependency>
+ ]]></source>
+
+
+ <h4>Java6</h4>
+ <p>If you are in a java6 environment you will definitely have to add following section to your pom.xml.</p>
+ <source><![CDATA[
+<dependency>
+ <groupId>org.apache.myfaces.extension-scripting</groupId>
+ <artifactId>core-java6</artifactId>
+ <version>1.0-ALPHA-1</version>
+</dependency>
+ ]]></source>
+ <h4>MyFaces Version</h4>
+ <p>Depending on your MyFaces version, you either have to add the 1.2 extension or the 2.0 extension to your
+ pom.xml.
+ </p>
+
+ <p>
+ <b>For Myfaces 1.2.8+</b>
+ </p>
+
+ <source><![CDATA[
+<dependency>
+ <groupId>org.apache.myfaces.extension-scripting</groupId>
+ <artifactId>myfaces12-extensions</artifactId>
+ <version>1.0-ALPHA-1</version>
+</dependency>
+ ]]></source>
+
+ <p>
+ <b>For Myfaces 2.0</b>
+ </p>
+
+
+ <source><![CDATA[
+<dependency>
+ <groupId>org.apache.myfaces.extension-scripting</groupId>
+ <artifactId>myfaces2-extensions</artifactId>
+ <version>1.0-ALPHA-1</version>
+</dependency>
+ ]]></source>
+
+ <p>
+ <b>For Myfaces 2.0</b>
+ </p>
+ <p>Following Image gives a quick overview over which modules you can use for your respective configuration
+ </p>
+
+ <img src="images/alpha_1_depgraph.jpg" width="511px" height="434px" />
+ </subsction>
+ <section name="Setup by hand">
+ <p>As of writing there is no bundle for manual install available, but the installation itself
+ is almost identical to the maven installation</p>
+ <p>Since Ext-Scripting uses almost the same dependencies as MyFaces you only just have to add
+ the ext-scripting jars + a valid groovy-all.jar (1.7.x or higher) + objectwebs ASM 3.2</p>
+
+ <p>Following download Links are available to download all dependencies</p>
+
+ <ul>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/core/1.0-ALPHA-1/core-1.0-ALPHA-1.jar">Ext Scripting Alpha 1 Core</a></li>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/core-java6/1.0-ALPHA-1/core-java6-1.0-ALPHA-1.jar">Ext Scripting Alpha 1 Core Java6</a></li>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/myfaces12-extensions/1.0-ALPHA-1/myfaces12-extensions-1.0-ALPHA-1.jar">Ext Scripting MyFaces 1.2 Extensions</a></li>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/myfaces20-extensions/1.0-ALPHA-1/myfaces20-extensions-1.0-ALPHA-1.jar">Ext Scripting MyFaces 2.0 Extensions</a></li>
+ <li><a href="http://repository.codehaus.org/org/codehaus/groovy/groovy-all/1.7.1/groovy-all-1.7.1.jar">Groovy-All.jar</a></li>
+ <li><a href="http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.jar">ASM.jar</a></li>
+ </ul>
+
+ <p>Note some of the dependencies will be included directly in your bundle jar in later builds</p>
+
+ </section>
+ <section name="Kickstarting via an example Web Application">
+ <p>Ext-Scripting provides two sample web applications for testing and kickstarting an application</p>
+ <p>Both can be found under following links and can be dropped into a servlet container (note that the MyFaces 2.0 example requires a servlet 2.5+ container)</p>
+ <ul>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/myfaces12-example/1.0-ALPHA-1/myfaces12-example-1.0-ALPHA-1.war">Ext Scripting Alpha 1 Example for MyFaces 1.2</a></li>
+ <li><a href="http://people.apache.org/~lu4242/extscript100alpha/org/apache/myfaces/extension-scripting/myfaces20-example/1.0-ALPHA-1/myfaces20-example-1.0-ALPHA-1.war">Ext Scripting Alpha 1 Example for MyFaces 2.0</a></li>
+ </ul>
+ </section>
+
+
+ </section>
+
+</document>
\ No newline at end of file
Propchange: myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/src/site/xdoc/install_alpha_1.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL