You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/01/20 12:14:02 UTC
svn commit: r1233866 - in /pivot/skunk/pivot-archetype-quickstart: BUILD
RELEASE-NOTES pom.xml src/main/resources/archetype-resources/BUILD
src/main/resources/archetype-resources/pom.xml
Author: smartini
Date: Fri Jan 20 11:14:01 2012
New Revision: 1233866
URL: http://svn.apache.org/viewvc?rev=1233866&view=rev
Log:
update to use Pivot-2.0.1
Modified:
pivot/skunk/pivot-archetype-quickstart/BUILD
pivot/skunk/pivot-archetype-quickstart/RELEASE-NOTES
pivot/skunk/pivot-archetype-quickstart/pom.xml
pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/BUILD
pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/pom.xml
Modified: pivot/skunk/pivot-archetype-quickstart/BUILD
URL: http://svn.apache.org/viewvc/pivot/skunk/pivot-archetype-quickstart/BUILD?rev=1233866&r1=1233865&r2=1233866&view=diff
==============================================================================
--- pivot/skunk/pivot-archetype-quickstart/BUILD (original)
+++ pivot/skunk/pivot-archetype-quickstart/BUILD Fri Jan 20 11:14:01 2012
@@ -2,7 +2,7 @@ System Requirements
===================
* JDK 1.6 or greater (http://java.sun.com/)
-* JUnit 4.8 or greater (http://www.junit.org/)
+* JUnit 4.8.2 or greater (http://www.junit.org/)
* Maven 2.2.1 or greater (http://maven.apache.org/), recommended the latest 3.0.x
Project Set-Up
@@ -22,7 +22,7 @@ Building Apache Pivot Quickstart Archety
* To Test, generate a Pivot Project (called "myapp") with it
(and give to it the desired package name when requested, like "com.mycompany.myapp",
note that usually the ".myapp" part in the package is written only if overridden here):
- $ mvn archetype:generate -U -DarchetypeGroupId=org.apache.pivot -DarchetypeArtifactId=pivot-archetype-quickstart -DarchetypeVersion=1.0 -DgroupId=com.mycompany -DartifactId=myapp -Dversion=1.0
+ $ mvn archetype:generate -U -DarchetypeGroupId=org.apache.pivot -DarchetypeArtifactId=pivot-archetype-quickstart -DarchetypeVersion=1.0.1 -DgroupId=com.mycompany -DartifactId=myapp -Dversion=1.0
then, compile the project and run it.
* Note that all maven -U flags shown here are optional, but useful to ensure that latest versions will be used.
Modified: pivot/skunk/pivot-archetype-quickstart/RELEASE-NOTES
URL: http://svn.apache.org/viewvc/pivot/skunk/pivot-archetype-quickstart/RELEASE-NOTES?rev=1233866&r1=1233865&r2=1233866&view=diff
==============================================================================
--- pivot/skunk/pivot-archetype-quickstart/RELEASE-NOTES (original)
+++ pivot/skunk/pivot-archetype-quickstart/RELEASE-NOTES Fri Jan 20 11:14:01 2012
@@ -15,10 +15,11 @@
limitations under the License.
================================================================================
-Release Notes for Apache Pivot Quickstart Archetype 1.0:
+Release Notes for Apache Pivot Quickstart Archetype 1.0.1:
** New Feature
* [PIVOT-397] - Initial version, using (consuming) Pivot 2.0 jars
+ * [PIVOT-397] - Updated for Pivot 2.0.1
** Improvement
Modified: pivot/skunk/pivot-archetype-quickstart/pom.xml
URL: http://svn.apache.org/viewvc/pivot/skunk/pivot-archetype-quickstart/pom.xml?rev=1233866&r1=1233865&r2=1233866&view=diff
==============================================================================
--- pivot/skunk/pivot-archetype-quickstart/pom.xml (original)
+++ pivot/skunk/pivot-archetype-quickstart/pom.xml Fri Jan 20 11:14:01 2012
@@ -22,7 +22,7 @@ limitations under the License.
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pivot</groupId>
<artifactId>pivot-archetype-quickstart</artifactId>
- <version>1.0</version>
+ <version>1.0.1</version>
<name>Apache Pivot Quickstart Archetype</name>
<url>http://pivot.apache.org</url>
<organization>
@@ -40,7 +40,7 @@ limitations under the License.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <application.version>1.0</application.version>
+ <application.version>1.0.1</application.version>
</properties>
<build>
Modified: pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/BUILD
URL: http://svn.apache.org/viewvc/pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/BUILD?rev=1233866&r1=1233865&r2=1233866&view=diff
==============================================================================
--- pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/BUILD (original)
+++ pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/BUILD Fri Jan 20 11:14:01 2012
@@ -2,7 +2,7 @@ System Requirements
===================
* JDK 1.6 or greater (http://java.sun.com/)
-* JUnit 4.8 or greater (http://www.junit.org/)
+* JUnit 4.8.2 or greater (http://www.junit.org/)
* Maven 2.2.1 or greater (http://maven.apache.org/), recommended the latest 3.0.x
Project Set-Up
@@ -29,8 +29,16 @@ Building/Using the Apache Pivot Quicksta
$ mvn -U clean package
$ mvn -U exec:java
-* Note that all maven -U flags shown here are optional, but useful to ensure that latest versions will be used.
+* All maven -U flags shown here are optional, but useful to ensure that latest versions will be used.
+* Note that now Pivot does a check on Thread running GUI methods, so when running the generated app via maven
+the exec plugin raise the following error (and the maven process is blocked but running, you'll have to kill by hand):
+[WARNING]
+java.lang.reflect.InvocationTargetException
+...
+Caused by: java.lang.IllegalStateException: this method can only be called from the AWT event dispatch thread,
+and not from "org.apache.pivot.wtk.DesktopApplicationContext.main()"
+so at the moment (until a workaround will be found) run it in the usual way, as a Standalone Java Application (without Maven).
* Run the application standalone (without Maven):
for convenience there is a main method inside the PivotApplication class), so you can even run
Modified: pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/pom.xml?rev=1233866&r1=1233865&r2=1233866&view=diff
==============================================================================
--- pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/pom.xml (original)
+++ pivot/skunk/pivot-archetype-quickstart/src/main/resources/archetype-resources/pom.xml Fri Jan 20 11:14:01 2012
@@ -34,7 +34,7 @@ limitations under the License.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <pivot.version>2.0</pivot.version>
+ <pivot.version>2.0.1</pivot.version>
</properties>
<dependencies>