Author: pete.muir(a)jboss.org
Date: 2009-10-14 10:32:23 -0400 (Wed, 14 Oct 2009)
New Revision: 4045
Added:
examples/trunk/se/hello-world/readme.txt
Modified:
examples/trunk/se/hello-world/pom.xml
Log:
Forgot plugin version in parent, workaround, add readme
Modified: examples/trunk/se/hello-world/pom.xml
===================================================================
--- examples/trunk/se/hello-world/pom.xml 2009-10-14 14:31:03 UTC (rev 4044)
+++ examples/trunk/se/hello-world/pom.xml 2009-10-14 14:32:23 UTC (rev 4045)
@@ -35,8 +35,12 @@
</executions>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
<configuration>
<mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
+ <arguments>
+ <argument>${name}</argument>
+ </arguments>
</configuration>
</plugin>
<plugin>
Added: examples/trunk/se/hello-world/readme.txt
===================================================================
--- examples/trunk/se/hello-world/readme.txt (rev 0)
+++ examples/trunk/se/hello-world/readme.txt 2009-10-14 14:32:23 UTC (rev 4045)
@@ -0,0 +1,35 @@
+====
+ JBoss, Home of Professional Open Source
+ Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ contributors by the @authors tag. See the copyright.txt in the
+ distribution for a full listing of individual contributors.
+
+ Licensed 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.
+====
+
+-------------------
+Running the Example
+-------------------
+
+As with all Web Beans SE applications, this example is executed
+by starting Java with org.jboss.weld.environment.se.StartMain
+as the main class. Of course you will need all of the relevant jar dependencies
+on your classpath, which is most easily done by loading the project into your
+favourite Maven-capable IDE and running it from there..
+
+To run this example using Maven directly:
+
+- Open a command line/terminal window in the examples/se/numberguess directory
+- Ensure that Maven 2 is installed and in your PATH
+- Ensure that the JAVA_HOME environment variable is pointing to your JDK installation
+- execute the following command
+
+mvn -Drun -Dname=Pete
Property changes on: examples/trunk/se/hello-world/readme.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain