Buix-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- 1440 discussions
r1305 - in jaxx/trunk: . jaxx-compiler-api jaxx-compiler-swing jaxx-compiler-validator jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-validator jaxx-runtime-validator-swing jaxx-swing-action maven-jaxx-plugin
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
09 Apr '09
Author: tchemit
Date: 2009-04-09 10:12:23 +0000 (Thu, 09 Apr 2009)
New Revision: 1305
Modified:
jaxx/trunk/jaxx-compiler-api/pom.xml
jaxx/trunk/jaxx-compiler-swing/pom.xml
jaxx/trunk/jaxx-compiler-validator/pom.xml
jaxx/trunk/jaxx-example/pom.xml
jaxx/trunk/jaxx-runtime-api/pom.xml
jaxx/trunk/jaxx-runtime-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator/pom.xml
jaxx/trunk/jaxx-swing-action/pom.xml
jaxx/trunk/maven-jaxx-plugin/pom.xml
jaxx/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 1.3
Modified: jaxx/trunk/jaxx-compiler-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -50,8 +50,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -62,8 +62,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-example/pom.xml
===================================================================
--- jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -147,9 +147,9 @@
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</developerConnection>
</scm>
<profiles>
Modified: jaxx/trunk/jaxx-runtime-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -57,8 +57,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -68,8 +68,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -66,8 +66,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-swing-action/pom.xml
===================================================================
--- jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -81,9 +81,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -145,9 +145,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/mave…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/m…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</developerConnection>
</scm>
</project>
\ No newline at end of file
Modified: jaxx/trunk/pom.xml
===================================================================
--- jaxx/trunk/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
+++ jaxx/trunk/pom.xml 2009-04-09 10:12:23 UTC (rev 1305)
@@ -14,7 +14,7 @@
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -203,9 +203,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/?roo…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3?r…</url>
</scm>
<!-- Maven Environment : Repositories -->
1
0
r1304 - in jaxx/trunk: . jaxx-compiler-api jaxx-compiler-swing jaxx-compiler-validator jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-validator jaxx-runtime-validator-swing jaxx-swing-action maven-jaxx-plugin
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
09 Apr '09
Author: tchemit
Date: 2009-04-09 10:09:11 +0000 (Thu, 09 Apr 2009)
New Revision: 1304
Modified:
jaxx/trunk/jaxx-compiler-api/pom.xml
jaxx/trunk/jaxx-compiler-swing/pom.xml
jaxx/trunk/jaxx-compiler-validator/pom.xml
jaxx/trunk/jaxx-example/pom.xml
jaxx/trunk/jaxx-runtime-api/pom.xml
jaxx/trunk/jaxx-runtime-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator/pom.xml
jaxx/trunk/jaxx-swing-action/pom.xml
jaxx/trunk/maven-jaxx-plugin/pom.xml
jaxx/trunk/pom.xml
Log:
[maven-release-plugin] rollback the release of 1.3
Modified: jaxx/trunk/jaxx-compiler-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -50,8 +50,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -62,8 +62,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-example/pom.xml
===================================================================
--- jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -147,9 +147,9 @@
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</developerConnection>
</scm>
<profiles>
Modified: jaxx/trunk/jaxx-runtime-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -57,8 +57,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -68,8 +68,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -66,8 +66,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-swing-action/pom.xml
===================================================================
--- jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -81,9 +81,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -145,9 +145,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/m…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/mave…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</developerConnection>
</scm>
</project>
\ No newline at end of file
Modified: jaxx/trunk/pom.xml
===================================================================
--- jaxx/trunk/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
+++ jaxx/trunk/pom.xml 2009-04-09 10:09:11 UTC (rev 1304)
@@ -14,7 +14,7 @@
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3</version>
+ <version>1.3-SNAPSHOT</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -203,9 +203,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3?r…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/?roo…</url>
</scm>
<!-- Maven Environment : Repositories -->
1
0
r1303 - in jaxx/trunk: . jaxx-compiler-api jaxx-compiler-swing jaxx-compiler-validator jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-validator jaxx-runtime-validator-swing jaxx-swing-action maven-jaxx-plugin
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
09 Apr '09
Author: tchemit
Date: 2009-04-09 10:07:52 +0000 (Thu, 09 Apr 2009)
New Revision: 1303
Modified:
jaxx/trunk/jaxx-compiler-api/pom.xml
jaxx/trunk/jaxx-compiler-swing/pom.xml
jaxx/trunk/jaxx-compiler-validator/pom.xml
jaxx/trunk/jaxx-example/pom.xml
jaxx/trunk/jaxx-runtime-api/pom.xml
jaxx/trunk/jaxx-runtime-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
jaxx/trunk/jaxx-runtime-validator/pom.xml
jaxx/trunk/jaxx-swing-action/pom.xml
jaxx/trunk/maven-jaxx-plugin/pom.xml
jaxx/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 1.3
Modified: jaxx/trunk/jaxx-compiler-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-compiler-api/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-compiler-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -50,8 +50,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-compiler-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-compiler-validator/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -62,8 +62,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-compiler-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-example/pom.xml
===================================================================
--- jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-example/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -147,9 +147,9 @@
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-example</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-example</developerConnection>
</scm>
<profiles>
Modified: jaxx/trunk/jaxx-runtime-api/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-runtime-api/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -57,8 +57,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-api</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-api</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-runtime-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -44,8 +44,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-runtime-validator/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -68,8 +68,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-runtime-validator-swing/pom.xml
===================================================================
--- jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-runtime-validator-swing/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -66,8 +66,8 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-runtime-validator-swing</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-runtime-validator-swing</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/jaxx-swing-action/pom.xml
===================================================================
--- jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/jaxx-swing-action/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -81,9 +81,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/jaxx…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-swing-action</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/j…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/jaxx-swing-action</developerConnection>
</scm>
</project>
Modified: jaxx/trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/maven-jaxx-plugin/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -145,9 +145,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/mave…</url>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/maven-jaxx-plugin</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3/m…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3/maven-jaxx-plugin</developerConnection>
</scm>
</project>
\ No newline at end of file
Modified: jaxx/trunk/pom.xml
===================================================================
--- jaxx/trunk/pom.xml 2009-04-09 10:05:28 UTC (rev 1302)
+++ jaxx/trunk/pom.xml 2009-04-09 10:07:52 UTC (rev 1303)
@@ -14,7 +14,7 @@
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.3-SNAPSHOT</version>
+ <version>1.3</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -203,9 +203,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</connection>
- <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/trunk/?roo…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</connection>
+ <developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/tags/1.3</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/1.3?r…</url>
</scm>
<!-- Maven Environment : Repositories -->
1
0
Author: tchemit
Date: 2009-04-09 10:05:28 +0000 (Thu, 09 Apr 2009)
New Revision: 1302
Removed:
jaxx/trunk/jaxx-util/
Log:
Why still here ???
1
0
r1301 - in jaxx/trunk: . jaxx-compiler-api jaxx-compiler-swing jaxx-compiler-validator jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-validator jaxx-runtime-validator-swing jaxx-swing-action maven-jaxx-plugin
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
by tchemit@users.labs.libre-entreprise.org 09 Apr '09
09 Apr '09
Author: tchemit
Date: 2009-04-09 10:00:35 +0000 (Thu, 09 Apr 2009)
New Revision: 1301
Modified:
jaxx/trunk/changelog.txt
jaxx/trunk/jaxx-compiler-api/changelog.txt
jaxx/trunk/jaxx-compiler-swing/changelog.txt
jaxx/trunk/jaxx-compiler-validator/changelog.txt
jaxx/trunk/jaxx-example/changelog.txt
jaxx/trunk/jaxx-runtime-api/changelog.txt
jaxx/trunk/jaxx-runtime-swing/changelog.txt
jaxx/trunk/jaxx-runtime-validator-swing/changelog.txt
jaxx/trunk/jaxx-runtime-validator/changelog.txt
jaxx/trunk/jaxx-swing-action/changelog.txt
jaxx/trunk/maven-jaxx-plugin/changelog.txt
Log:
prepare release 1.3
Modified: jaxx/trunk/changelog.txt
===================================================================
--- jaxx/trunk/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090320
+1.3 chemit 20090409
* 20090329 [chemit] - add java help mojo
* 20090313 [chemit] - use i18n 0.10
Modified: jaxx/trunk/jaxx-compiler-api/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-compiler-api/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-compiler-api/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090327 [chemit] - refactor clientProperties (no more generation in handler but in decorator)
- add javax help mecanism
Modified: jaxx/trunk/jaxx-compiler-swing/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-compiler-swing/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-compiler-swing/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090320
+1.3 chemit 20090409
* 20090327 [chemit] - introduce javax help decorator
1.1 chemit 20090220
Modified: jaxx/trunk/jaxx-compiler-validator/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-compiler-validator/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-compiler-validator/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
1.1 chemit 20090220
* 20090202 [chemit] - refactor validators (this module will soon disappear to jaxx-compiler-swing-validator)
Modified: jaxx/trunk/jaxx-example/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-example/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-example/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090319 [chemit] - refactor Validator : now can deal with scopes, improve design
* 20090313 [chemit] - improve demo
Modified: jaxx/trunk/jaxx-runtime-api/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-runtime-api/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-runtime-api/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090320
+1.3 chemit 20090409
* 20090404 [chemit] - introduce DataContext class
* 20090331 [chemit] - introduce DecoratorUtils class
* 20090302 [chemit] - add pcs in ApplicationContext
Modified: jaxx/trunk/jaxx-runtime-swing/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-runtime-swing/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-runtime-swing/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090404 [chemit] - introduce dimension factory in SwingUtil for min and max dimensions
* 20090327 [chemit] - add javax help mecanism
* 20090318 [chemit] - introduce the BlockingLayerUI2 class (should be merge with BlockingLayerUI)
Modified: jaxx/trunk/jaxx-runtime-validator/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-runtime-validator/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-runtime-validator/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090404 [chemit] - can now use a shared instance of ValueStack (in BeanValidatorUtil)
* 20090401 [chemit] - introduce a extended fieldexpression validator where we can push extra parameters
- improve tests
Modified: jaxx/trunk/jaxx-runtime-validator-swing/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-runtime-validator-swing/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-runtime-validator-swing/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090320 [chemit] - rename and move SwingValidationUtil to jaxx.runtime.SwingValidatorUtil
* 20090319 [chemit] - refactor Validator : now can deal with scopes, improve design
Modified: jaxx/trunk/jaxx-swing-action/changelog.txt
===================================================================
--- jaxx/trunk/jaxx-swing-action/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/jaxx-swing-action/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090320
+1.3 chemit 20090409
1.1 chemit 20090220
* 20090122 [chemit] - refactor poms (sibling dependencies, pluginsManagment,...)
Modified: jaxx/trunk/maven-jaxx-plugin/changelog.txt
===================================================================
--- jaxx/trunk/maven-jaxx-plugin/changelog.txt 2009-04-08 03:26:10 UTC (rev 1300)
+++ jaxx/trunk/maven-jaxx-plugin/changelog.txt 2009-04-09 10:00:35 UTC (rev 1301)
@@ -1,4 +1,4 @@
-1.3 chemit 20090321
+1.3 chemit 20090409
* 20090327 [chemit] - add javax help mecanism
* 20090301 [chemit] - add a profile mode (-Djaxx.profile)
1
0
r1300 - in jaxx/trunk: jaxx-runtime-api/src/main/java/jaxx/runtime jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/wizard jaxx-runtime-swing/src/main/resources/icons
by tchemit@users.labs.libre-entreprise.org 08 Apr '09
by tchemit@users.labs.libre-entreprise.org 08 Apr '09
08 Apr '09
Author: tchemit
Date: 2009-04-08 03:26:10 +0000 (Wed, 08 Apr 2009)
New Revision: 1300
Modified:
jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
jaxx/trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/wizard/WizardOperationModel.java
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-config-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-message-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-next-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-pause-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-previous-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-refresh-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-start-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-canceled-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-failed-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-need_fix-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-pending-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-running-16.png
jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-successed-16.png
Log:
quelques modifications sur le DataContext et le WizardModel
Modified: jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
===================================================================
--- jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-06 10:29:08 UTC (rev 1299)
+++ jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-08 03:26:10 UTC (rev 1300)
@@ -31,7 +31,7 @@
protected DataContextEntry<?>[] entries;
protected final String[] DEFAULT_JAXX_PCS;
- public abstract String getContextPath(Object e);
+ public abstract String getContextPath(Object... e);
public DataContext(String[] DEFAULT_JAXX_PCS, DataContextEntry<?>[] entries) {
this.DEFAULT_JAXX_PCS = DEFAULT_JAXX_PCS;
@@ -67,6 +67,22 @@
protected JAXXContext getParentContext() {
return null;
}
+
+ @Override
+ public <T> void removeContextValue(Class<T> klazz, String name) {
+ if (log.isTraceEnabled()) {
+ log.trace(klazz + " - " + name);
+ }
+ super.removeContextValue(klazz, name);
+ }
+
+ @Override
+ public <T> void setContextValue(T o, String name) {
+ if (log.isTraceEnabled()) {
+ log.trace(name + " - " + o.getClass());
+ }
+ super.setContextValue(o, name);
+ }
};
pcs = new PropertyChangeSupport(this);
}
@@ -129,41 +145,35 @@
}
public <T> T getContextValue(DataContextEntry<T> entry, String key) {
- if (key == null) {
- throw new NullPointerException("key parameter can not be null!");
- }
- String contextKey = entry.hashCode() + "#" + key;
+ String contextKey = getKey(entry, key);
T result = delegate.getContextValue(entry.getKlass(), contextKey);
return result;
}
public void setContextValue(DataContextEntry entry, Object value, String key) {
- if (key == null) {
- throw new NullPointerException("key parameter can not be null!");
- }
- String contextKey = entry.hashCode() + "#" + key;
+ String contextKey = getKey(entry, key);
delegate.setContextValue(value, contextKey);
}
public void removeContextValue(DataContextEntry entry, Object value, String key) {
- if (key == null) {
- throw new NullPointerException("key parameter can not be null!");
- }
- String contextKey = entry.hashCode() + "#" + key;
+ String contextKey = getKey(entry, key);
delegate.removeContextValue(value.getClass(), contextKey);
}
@SuppressWarnings("unchecked")
public void updateSelectedData(String path, Object data, UpdateDataContext updator) {
+ if (log.isDebugEnabled()) {
+ log.debug("----------------------------------------------------------------");
+ }
if (currentEntry != null) {
if (log.isDebugEnabled()) {
log.debug("remove from old entry " + currentEntry);
}
for (DataContextEntry<?> s : currentEntry) {
- if (log.isTraceEnabled()) {
- log.trace("remove entry " + s);
+ if (log.isDebugEnabled()) {
+ log.debug("remove entry " + s);
}
updator.onRemovingData(this, s);
}
@@ -179,6 +189,9 @@
for (DataContextEntry<?> s : iterateToLevel(currentEntry.getLevel())) {
+ if (log.isDebugEnabled()) {
+ log.debug("add entry " + s);
+ }
updator.onAddingData(this, s, path);
}
}
@@ -233,8 +246,22 @@
pcs.firePropertyChange(name, oldValue, newValue);
}
+ protected String getKey(DataContextEntry entry, String key) {
+ String result = null;
+ if (key != null) {
+ result = entry.hashCode() + "#" + key;
+ }
+ return result;
+ }
+
public void close() throws Exception {
clear();
+
+ // suppression des ecouteurs
+
+ for (PropertyChangeListener l : getPropertyChangeListeners()) {
+ removePropertyChangeListener(l);
+ }
}
public void clear() {
@@ -283,14 +310,6 @@
public abstract String getContextPath(Object... args);
- public E getData(JAXXContext c) {
- return c.getContextValue(klass, null);
- }
-
- public E getData(JAXXContext c, String context) {
- return c.getContextValue(klass, context);
- }
-
public boolean acceptPath(String path) {
return getPattern().matcher(path).matches();
}
@@ -316,7 +335,7 @@
public static interface UpdateDataContext<D extends DataContext> {
- void onRemovingData(D context, DataContextEntry entry);
+ void onRemovingData(D context, DataContextEntry<?> entry);
void onAddingData(D context, DataContextEntry entry, String path);
}
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/wizard/WizardOperationModel.java
===================================================================
--- jaxx/trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/wizard/WizardOperationModel.java 2009-04-06 10:29:08 UTC (rev 1299)
+++ jaxx/trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/wizard/WizardOperationModel.java 2009-04-08 03:26:10 UTC (rev 1300)
@@ -21,7 +21,7 @@
public static final String OPERATION_STATE_PROPERTY_NAME = "operationState";
public static final String MODEL_STATE_PROPERTY_NAME = "modelState";
public static final String WAS_STARTED_PROPERTY_NAME = "wasStarted";
-
+
/**
* La liste des opérations à effectuer
*/
@@ -136,7 +136,7 @@
}
public void cancel() {
-
+
for (E op : operations) {
if (getOperationState(op) == WizardOperationState.PENDING) {
// on annule l'opération à venir
@@ -190,6 +190,12 @@
firePropertyChange(MODEL_STATE_PROPERTY_NAME, null, modelState);
}
+ public WizardOperationAction reloadOperation(E operation) {
+ operationActions.remove(operation);
+ WizardOperationAction newOp = getOperationAction(operation);
+ return newOp;
+ }
+
protected void setModelState(WizardOperationState modelState) {
WizardOperationState oldValue = this.modelState;
this.modelState = modelState;
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-config-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-message-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-next-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-pause-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-previous-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-refresh-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-start-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-canceled-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-failed-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-need_fix-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-pending-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-running-16.png
===================================================================
(Binary files differ)
Modified: jaxx/trunk/jaxx-runtime-swing/src/main/resources/icons/action-wizard-state-successed-16.png
===================================================================
(Binary files differ)
1
0
r1299 - in jaxx-gwt/trunk: . jaxx-compiler-api jaxx-compiler-api/src/main/java/jaxx/tags jaxx-compiler-validator jaxx-my-example maven-jaxx-plugin
by kmorin@users.labs.libre-entreprise.org 06 Apr '09
by kmorin@users.labs.libre-entreprise.org 06 Apr '09
06 Apr '09
Author: kmorin
Date: 2009-04-06 10:29:08 +0000 (Mon, 06 Apr 2009)
New Revision: 1299
Removed:
jaxx-gwt/trunk/jaxx-compiler-swing/
jaxx-gwt/trunk/jaxx-runtime-swing/
jaxx-gwt/trunk/jaxx-runtime-validator-swing/
jaxx-gwt/trunk/jaxx-swing-action/
Modified:
jaxx-gwt/trunk/jaxx-compiler-api/pom.xml
jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java
jaxx-gwt/trunk/jaxx-compiler-validator/pom.xml
jaxx-gwt/trunk/jaxx-my-example/pom.xml
jaxx-gwt/trunk/maven-jaxx-plugin/pom.xml
jaxx-gwt/trunk/pom.xml
Log:
Suppression des modules Swing
Modified: jaxx-gwt/trunk/jaxx-compiler-api/pom.xml
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-api/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/jaxx-compiler-api/pom.xml 2009-04-06 10:29:08 UTC (rev 1299)
@@ -59,11 +59,6 @@
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>jaxx-runtime-swing</artifactId>
- <version>${project.version}</version>
- </dependency>
</dependencies>
Modified: jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java 2009-04-06 10:29:08 UTC (rev 1299)
@@ -12,6 +12,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import com.google.gwt.core.client.GWT;
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.typeinfo.NotFoundException;
import com.google.gwt.core.ext.typeinfo.TypeOracle;
@@ -26,236 +27,247 @@
/** Manages TagHandlers, including automatically compiling .jaxx files corresponding to class tags. */
public class TagManager {
- /** log */
- protected static final Log log = LogFactory.getLog(TagManager.class);
+ /** log */
+ protected static final Log log = LogFactory.getLog(TagManager.class);
- /**
- * Namespace for JAXX's non-class tags, such as <script;>. The namespace normally does not
- * need to be specified but can be used to resolve ambiguities.
- */
- public static final String JAXX_NAMESPACE = "http://www.jaxxframework.org/";
+ /**
+ * Namespace for JAXX's non-class tags, such as <script;>. The namespace normally does not
+ * need to be specified but can be used to resolve ambiguities.
+ */
+ public static final String JAXX_NAMESPACE = "http://www.jaxxframework.org/";
- /** Maps simple tag names to their default namespaces (package names). */
- private static Map<String, String> defaultNamespaces = new HashMap<String, String>();
+ /** Maps simple tag names to their default namespaces (package names). */
+ private static Map<String, String> defaultNamespaces = new HashMap<String, String>();
- /** Maps qualified tag names to the TagHandlers responsible for processing them. */
- private static Map<QName, TagHandler> registeredTags = new HashMap<QName, TagHandler>();
+ /** Maps qualified tag names to the TagHandlers responsible for processing them. */
+ private static Map<QName, TagHandler> registeredTags = new HashMap<QName, TagHandler>();
- /** Keeps track of whether or not named classes exist. */
- private static Map<String, Boolean> classExistenceCache = new HashMap<String, Boolean>();
+ /** Keeps track of whether or not named classes exist. */
+ private static Map<String, Boolean> classExistenceCache = new HashMap<String, Boolean>();
- /**
- * Maps bean classes to their TagHandler classes. The mapping is to TagHandler classes, rather than to
- * TagHandler instances, because subclasses of the bean class should be handled by the same TagHandler
- * (assuming no more specific mappings exist), which requires creating a new instance of the TagHandler.
- */
- private static ClassMap<Class<? extends TagHandler>> registeredBeans = new ClassMap<Class<? extends TagHandler>>();
+ /**
+ * Maps bean classes to their TagHandler classes. The mapping is to TagHandler classes, rather than to
+ * TagHandler instances, because subclasses of the bean class should be handled by the same TagHandler
+ * (assuming no more specific mappings exist), which requires creating a new instance of the TagHandler.
+ */
+ private static ClassMap<Class<? extends TagHandler>> registeredBeans = new ClassMap<Class<? extends TagHandler>>();
- // still targeting 1.4, so I can't use javax.xml.namespace.QName
- private static class QName {
- private String namespaceURI;
- private String localPart;
+ // still targeting 1.4, so I can't use javax.xml.namespace.QName
+ private static class QName {
+ private String namespaceURI;
+ private String localPart;
- public QName(String namespaceURI, String localPart) {
- if (localPart == null)
- throw new NullPointerException();
- this.namespaceURI = namespaceURI;
- this.localPart = localPart;
- }
+ public QName(String namespaceURI, String localPart) {
+ if (localPart == null)
+ throw new NullPointerException();
+ this.namespaceURI = namespaceURI;
+ this.localPart = localPart;
+ }
- public String getNamespaceURI() {
- return namespaceURI;
- }
+ public String getNamespaceURI() {
+ return namespaceURI;
+ }
- public String getLocalPart() {
- return localPart;
- }
+ public String getLocalPart() {
+ return localPart;
+ }
- @Override
- public boolean equals(Object o) {
- if (o == null || !(o instanceof QName))
- return false;
- QName qname = (QName) o;
- return qname.getNamespaceURI().equals(getNamespaceURI()) && qname.getLocalPart().equals(getLocalPart());
- }
+ @Override
+ public boolean equals(Object o) {
+ if (o == null || !(o instanceof QName))
+ return false;
+ QName qname = (QName) o;
+ return qname.getNamespaceURI().equals(getNamespaceURI()) && qname.getLocalPart().equals(getLocalPart());
+ }
- @Override
- public int hashCode() {
- return (namespaceURI != null ? namespaceURI.hashCode() : 0) ^ getLocalPart().hashCode();
- }
- }
+ @Override
+ public int hashCode() {
+ return (namespaceURI != null ? namespaceURI.hashCode() : 0) ^ getLocalPart().hashCode();
+ }
+ }
- private TagManager() { /* not instantiable */ }
+ private TagManager() { /* not instantiable */ }
- public static void reset(boolean verbose) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
- registeredBeans.clear();
- registeredTags.clear();
- defaultNamespaces.clear();
- CompiledObjectDecorator.reset();
- JAXXCompilerLaunchor.loadLibraries(verbose);
- }
+ public static void reset(boolean verbose) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
+ registeredBeans.clear();
+ registeredTags.clear();
+ defaultNamespaces.clear();
+ CompiledObjectDecorator.reset();
+ JAXXCompilerLaunchor.loadLibraries(verbose);
+ }
- /**
- * Maps a class tag to a specific <code>TagHandler</code>. When a tag representing the bean class is
- * encountered (either the class' simple name, if it is unambiguous, or its fully-qualified name), the specified
- * <code>TagHandler</code> will be invoked to compile it.
- *
- * @param beanClass the class to associate with a <code>TagHandler</code>
- * @param handler the <code>TagHandler</code> class, which must descend from <code>DefaultObjectHandler</code>
- * @throws IllegalArgumentException if the handler class does not descend from <code>DefaultObjectHandler</code>
- */
- public static <T extends TagHandler> void registerBean(ClassDescriptor beanClass, Class<T> handler) {
- if (!DefaultObjectHandler.class.isAssignableFrom(handler)) {
- throw new IllegalArgumentException("handler class must be a subclass of DefaultObjectHandler");
- }
- registeredBeans.put(beanClass, handler);
- if (log.isDebugEnabled()) {
- log.debug(beanClass + " : " + handler);
- }
- String name = beanClass.getName();
- int dotPos = name.lastIndexOf(".");
- String namespace = name.substring(0, dotPos + 1) + "*";
- name = name.substring(dotPos + 1);
- registerDefaultNamespace(name, namespace);
- }
+ /**
+ * Maps a class tag to a specific <code>TagHandler</code>. When a tag representing the bean class is
+ * encountered (either the class' simple name, if it is unambiguous, or its fully-qualified name), the specified
+ * <code>TagHandler</code> will be invoked to compile it.
+ *
+ * @param beanClass the class to associate with a <code>TagHandler</code>
+ * @param handler the <code>TagHandler</code> class, which must descend from <code>DefaultObjectHandler</code>
+ * @throws IllegalArgumentException if the handler class does not descend from <code>DefaultObjectHandler</code>
+ */
+ public static <T extends TagHandler> void registerBean(ClassDescriptor beanClass, Class<T> handler) {
+ if (!DefaultObjectHandler.class.isAssignableFrom(handler)) {
+ throw new IllegalArgumentException("handler class must be a subclass of DefaultObjectHandler");
+ }
+ registeredBeans.put(beanClass, handler);
+ if (log.isDebugEnabled()) {
+ log.debug(beanClass + " : " + handler);
+ }
+ String name = beanClass.getName();
+ int dotPos = name.lastIndexOf(".");
+ String namespace = name.substring(0, dotPos + 1) + "*";
+ name = name.substring(dotPos + 1);
+ registerDefaultNamespace(name, namespace);
+ }
- /**
- * Sets the default namespace for a tag. When the tag is encountered with no namespace specified,
- * the specified namespace will be assumed. Mapping the same tag to two or more default namespaces
- * removes the mapping and marks the entry as being ambiguous (by putting a <code>null</code>
- * value into the map); this causes an error to be thrown if the tag is used without a namespace being
- * specified.
- * <p/>
- * Java package names on tags are automatically converted into namespaces (e.g. <javax.swing.JButton/>
- * and <JButton xmlns="javax.swing.*"/> are equivalent), so tags with package names are considered
- * to have namespaces specified.
- *
- * @param tag tag name
- * @param namespace namespace
- */
- public static void registerDefaultNamespace(String tag, String namespace) {
- if (defaultNamespaces.containsKey(tag)
- && defaultNamespaces.get(tag) != null
- && !defaultNamespaces.get(tag).equals(namespace)) {
- defaultNamespaces.put(tag, null); // tag name is now ambiguous
- } else {
- defaultNamespaces.put(tag, namespace);
- }
- }
+ /**
+ * Sets the default namespace for a tag. When the tag is encountered with no namespace specified,
+ * the specified namespace will be assumed. Mapping the same tag to two or more default namespaces
+ * removes the mapping and marks the entry as being ambiguous (by putting a <code>null</code>
+ * value into the map); this causes an error to be thrown if the tag is used without a namespace being
+ * specified.
+ * <p/>
+ * Java package names on tags are automatically converted into namespaces (e.g. <javax.swing.JButton/>
+ * and <JButton xmlns="javax.swing.*"/> are equivalent), so tags with package names are considered
+ * to have namespaces specified.
+ *
+ * @param tag tag name
+ * @param namespace namespace
+ */
+ public static void registerDefaultNamespace(String tag, String namespace) {
+ if (defaultNamespaces.containsKey(tag)
+ && defaultNamespaces.get(tag) != null
+ && !defaultNamespaces.get(tag).equals(namespace)) {
+ defaultNamespaces.put(tag, null); // tag name is now ambiguous
+ } else {
+ defaultNamespaces.put(tag, namespace);
+ }
+ }
- /**
- * Registers a <code>TagHandler</code> for a tag. When a tag with the given name and namespace
- * is encountered, the <code>TagHandler's compileFirstPass</code> and <code>compileSecondPass</code>
- * methods will be invoked to handle it.
- * <p/>
- * It is not an error to register an already-registered tag and namespace combination. The new mapping
- * will replace the old mapping.
- *
- * @param namespace the tag's namespace
- * @param tag the simple name of the tag
- * @param handler the <code>TagHandler</code> which should process the tag
- */
- public static <T extends TagHandler> void registerTag(String namespace, String tag, T handler) {
- if (namespace == null) {
- namespace = "*";
- }
- //System.out.println("registerTag "+namespace+" : "+tag+" : "+handler);
- if (log.isDebugEnabled()) {
- log.debug(tag + " : " + handler);
- }
- registeredTags.put(new QName(namespace, tag), handler);
- registerDefaultNamespace(tag, namespace);
- }
+ /**
+ * Registers a <code>TagHandler</code> for a tag. When a tag with the given name and namespace
+ * is encountered, the <code>TagHandler's compileFirstPass</code> and <code>compileSecondPass</code>
+ * methods will be invoked to handle it.
+ * <p/>
+ * It is not an error to register an already-registered tag and namespace combination. The new mapping
+ * will replace the old mapping.
+ *
+ * @param namespace the tag's namespace
+ * @param tag the simple name of the tag
+ * @param handler the <code>TagHandler</code> which should process the tag
+ */
+ public static <T extends TagHandler> void registerTag(String namespace, String tag, T handler) {
+ if (namespace == null) {
+ namespace = "*";
+ }
+ //System.out.println("registerTag "+namespace+" : "+tag+" : "+handler);
+ if (log.isDebugEnabled()) {
+ log.debug(tag + " : " + handler);
+ }
+ registeredTags.put(new QName(namespace, tag), handler);
+ registerDefaultNamespace(tag, namespace);
+ }
- /**
- * Returns the <code>TagHandler</code> that should be used to process the specified tag.
- * If the tag represents the class name of an uncompiled <code>.jaxx</code> file, the
- * <code>.jaxx</code> is first compiled.
- *
- * @param namespace the tag's namespace (may be <code>null</code>)
- * @param tag the tag's simple name
- * @param compiler the current <code>JAXXCompiler</code>
- * @return the <code>TagHandler</code> for the tag
- * @throws jaxx.CompilerException ?
- */
- public static TagHandler getTagHandler(String namespace, String tag, JAXXCompiler compiler) throws CompilerException {
- return getTagHandler(namespace, tag, false, compiler);
- }
+ /**
+ * Returns the <code>TagHandler</code> that should be used to process the specified tag.
+ * If the tag represents the class name of an uncompiled <code>.jaxx</code> file, the
+ * <code>.jaxx</code> is first compiled.
+ *
+ * @param namespace the tag's namespace (may be <code>null</code>)
+ * @param tag the tag's simple name
+ * @param compiler the current <code>JAXXCompiler</code>
+ * @return the <code>TagHandler</code> for the tag
+ * @throws jaxx.CompilerException ?
+ */
+ public static TagHandler getTagHandler(String namespace, String tag, JAXXCompiler compiler) throws CompilerException {
+ return getTagHandler(namespace, tag, false, compiler);
+ }
- private static String getNamespace(ClassDescriptor beanClass) {
- String packageName = beanClass.getPackageName();
- return packageName != null ? packageName + ".*" : "*";
+ private static String getNamespace(ClassDescriptor beanClass) {
+ String packageName = beanClass.getPackageName();
+ return packageName != null ? packageName + ".*" : "*";
- }
+ }
- private static String getSimpleName(ClassDescriptor beanClass) {
- String packageName = beanClass.getPackageName();
- if (packageName != null) {
- assert beanClass.getName().startsWith(packageName);
- return beanClass.getName().substring(packageName.length() + 1);
- }
- return beanClass.getName();
- }
+ private static String getSimpleName(ClassDescriptor beanClass) {
+ String packageName = beanClass.getPackageName();
+ if (packageName != null) {
+ assert beanClass.getName().startsWith(packageName);
+ return beanClass.getName().substring(packageName.length() + 1);
+ }
+ return beanClass.getName();
+ }
- /**
- * @param beanClass the tag class
- * @return the <code>TagHandler</code> that should be used to process the specified class.
- * Only <code>TagHandlers</code> previously registered with <code>registerBean</code>
- * are considered.
- * @throws jaxx.CompilerException ?
- */
- public static DefaultObjectHandler getTagHandler(ClassDescriptor beanClass) throws CompilerException {
- try {
- if (beanClass == null) {
- throw new NullPointerException();
- }
- String namespace = getNamespace(beanClass);
- String tag = getSimpleName(beanClass);
- DefaultObjectHandler handler = (DefaultObjectHandler) registeredTags.get(new QName(namespace, tag));
- if (handler == null) {
- Class<? extends TagHandler> handlerClass = registeredBeans.get(beanClass);
- if (handlerClass == null) {
- throw new CompilerException("unable to find handler for " + beanClass);
- }
- Constructor<? extends TagHandler> constructor = handlerClass.getConstructor(ClassDescriptor.class);
- handler = (DefaultObjectHandler) constructor.newInstance(beanClass);
- registerTag(namespace, tag, handler);
- }
- return handler;
- }
- catch (InstantiationException e) {
- throw new RuntimeException(e);
- }
- catch (NoSuchMethodException e) {
- throw new RuntimeException(e);
- }
- catch (IllegalAccessException e) {
- throw new RuntimeException(e);
- }
- catch (InvocationTargetException e) {
- throw new RuntimeException(e);
- }
- }
+ /**
+ * @param beanClass the tag class
+ * @return the <code>TagHandler</code> that should be used to process the specified class.
+ * Only <code>TagHandlers</code> previously registered with <code>registerBean</code>
+ * are considered.
+ * @throws jaxx.CompilerException ?
+ */
+ public static DefaultObjectHandler getTagHandler(ClassDescriptor beanClass) throws CompilerException {
+ try {
+ if (beanClass == null) {
+ throw new NullPointerException();
+ }
+ String namespace = getNamespace(beanClass);
+ String tag = getSimpleName(beanClass);
+ DefaultObjectHandler handler = (DefaultObjectHandler) registeredTags.get(new QName(namespace, tag));
+ if (handler == null) {
+ Class<? extends TagHandler> handlerClass = registeredBeans.get(beanClass);
+ if (handlerClass == null) {
+ throw new CompilerException("unable to find handler for " + beanClass);
+ }
+ Constructor<? extends TagHandler> constructor = handlerClass.getConstructor(ClassDescriptor.class);
+ handler = (DefaultObjectHandler) constructor.newInstance(beanClass);
+ registerTag(namespace, tag, handler);
+ }
+ return handler;
+ }
+ catch (InstantiationException e) {
+ throw new RuntimeException(e);
+ }
+ catch (NoSuchMethodException e) {
+ throw new RuntimeException(e);
+ }
+ catch (IllegalAccessException e) {
+ throw new RuntimeException(e);
+ }
+ catch (InvocationTargetException e) {
+ throw new RuntimeException(e);
+ }
+ }
- private static boolean classExists(String className, JAXXCompiler compiler) {
- if (classExistenceCache.containsKey(className)) {
- return classExistenceCache.get(className);
+ private static boolean classExists(String className, JAXXCompiler compiler) {
+ if (classExistenceCache.containsKey(className)) {
+ return classExistenceCache.get(className);
+ }
+
+ boolean found = false;
+
+ try {
+ Class.forName(className, true, compiler.getClassLoader());
+ found = true;
+ }catch (ClassNotFoundException e) {
+ // ignore ?
}
-
- boolean found = false;
- try {
+ catch (NoClassDefFoundError e) { // we get this instead of ClassNotFoundException on case-insensitive file systems when
+ // looking up a class with the wrong case
+ }
+
+ /*try {
System.out.println("1 " + className);
TypeOracle to = new TypeOracle();
to.getType(className);
@@ -272,223 +284,223 @@
catch (NoClassDefFoundError ex) { // we get this instead of ClassNotFoundException on case-insensitive file systems when
// looking up a class with the wrong case
}
- }
-
+ }*/
- if (!found) { // couldn't find .class, check for .java
- URL javaURL = compiler.getClassLoader().getResource(className.replace('.', '/') + ".java");
- found = javaURL != null;
- }
- if (!found) { // couldn't find .java, check for .jaxx
- URL jaxxURL = compiler.getClassLoader().getResource(className.replace('.', '/') + ".jaxx");
- found = jaxxURL != null;
- }
+ if (!found) { // couldn't find .class, check for .java
+ URL javaURL = compiler.getClassLoader().getResource(className.replace('.', '/') + ".java");
+ found = javaURL != null;
+ }
- classExistenceCache.put(className, found);
+ if (!found) { // couldn't find .java, check for .jaxx
+ URL jaxxURL = compiler.getClassLoader().getResource(className.replace('.', '/') + ".jaxx");
+ found = jaxxURL != null;
+ }
- return found;
- }
+ classExistenceCache.put(className, found);
+ return found;
+ }
- private static String determinePackage(String simpleClassName, String defaultPackage, JAXXCompiler compiler) {
- String namespace = null;
- Set<String> classes = compiler.getImportedClasses();
- for (String className : classes) { // search class imports (e.g. import java.util.Date;)
- if (className.equals(simpleClassName) || className.endsWith("." + simpleClassName)) {
- namespace = className.substring(0, className.lastIndexOf(".") + 1) + "*";
- }
- }
- if (namespace == null) { // search package imports (e.g. import java.util.*;)
- Set<String> searchList = compiler.getImportedPackages();
- if (defaultPackage != null) {
- if (!defaultPackage.endsWith("*")) {
- throw new IllegalArgumentException("defaultPackage must end in '*', found '" + defaultPackage + "'");
- }
- if (classExists(defaultPackage.substring(0, defaultPackage.length() - 1) + simpleClassName, compiler)) {
- return defaultPackage;
- }
- }
- for (String currentPackage : searchList) {
- String className = currentPackage + simpleClassName;
- if (classExists(className, compiler)) {
- if (namespace != null) { // we've already found the same name in another package
- compiler.reportError("symbol '" + simpleClassName + "' is ambiguous, found matching classes " + namespace.substring(0, namespace.length() - 1) + simpleClassName + " and " + currentPackage + simpleClassName + ". Use fully-qualified name to disambiguate.");
- return null;
- }
- namespace = currentPackage + "*";
- }
- }
- }
- return namespace;
- }
+ private static String determinePackage(String simpleClassName, String defaultPackage, JAXXCompiler compiler) {
+ String namespace = null;
+ Set<String> classes = compiler.getImportedClasses();
+ for (String className : classes) { // search class imports (e.g. import java.util.Date;)
+ if (className.equals(simpleClassName) || className.endsWith("." + simpleClassName)) {
+ namespace = className.substring(0, className.lastIndexOf(".") + 1) + "*";
+ }
+ }
+ if (namespace == null) { // search package imports (e.g. import java.util.*;)
+ Set<String> searchList = compiler.getImportedPackages();
+ if (defaultPackage != null) {
+ if (!defaultPackage.endsWith("*")) {
+ throw new IllegalArgumentException("defaultPackage must end in '*', found '" + defaultPackage + "'");
+ }
+ if (classExists(defaultPackage.substring(0, defaultPackage.length() - 1) + simpleClassName, compiler)) {
+ return defaultPackage;
+ }
+ }
+ for (String currentPackage : searchList) {
+ String className = currentPackage + simpleClassName;
+ if (classExists(className, compiler)) {
+ if (namespace != null) { // we've already found the same name in another package
+ compiler.reportError("symbol '" + simpleClassName + "' is ambiguous, found matching classes " + namespace.substring(0, namespace.length() - 1) + simpleClassName + " and " + currentPackage + simpleClassName + ". Use fully-qualified name to disambiguate.");
+ return null;
+ }
+ namespace = currentPackage + "*";
+ }
+ }
+ }
+ return namespace;
+ }
- /**
- * Returns the <code>TagHandler</code> that should be used to process the specified tag.
- * <p/>
- * The <code>namespacePrefix</code> parameter is used only for error checking, as it is an
- * error to specify conflicting package names using both a fully-qualified tag name and a
- * namespace prefix, but it is not an error to specify conflicting package names using a
- * fully-qualified tag name and a <i>default</i> namespace (i.e. <awt:javax.swing.JButton xmlns:awt='java.awt.*'/>
- * is an error, whereas <javax.swing.JButton xmlns='java.awt.*'/> is not).
- *
- * @param namespace the tag's namespace (may be <code>null</code>)
- * @param tag the tag's simple name (which can include fully-qualified Java class names)
- * @param namespacePrefix <code>true</code> if the namespace was specified by means of a namespace prefix (as opposed to a default namespace)
- * @param compiler the current <code>JAXXCompiler</code>
- * @return the <code>TagHandler</code> for the tag
- * @throws jaxx.CompilerException ?
- */
- public static TagHandler getTagHandler(String namespace, String tag, boolean namespacePrefix, JAXXCompiler compiler) throws CompilerException {
- if (tag == null) {
- throw new NullPointerException();
- }
- if (namespace == null && defaultNamespaces.containsKey(tag)) {
- namespace = defaultNamespaces.get(tag);
- if (namespace == null) { // defaultNamespaces map contains a null value, which is put there to indicate ambiguity
- compiler.reportError("tag '" + tag + "' is ambiguous; specify fully-qualified name (package and class) to disambiguate");
- return null;
- }
- }
- TagHandler handler = registeredTags.get(new QName(namespace, tag));
- if (handler == null) {
- if (namespace == null || namespace.endsWith("*")) {
- String className;
- if (namespace != null) {
- className = resolveClassName(namespace.substring(0, namespace.length() - 1) + tag, compiler);
- if (className == null) {
- className = resolveClassName(tag, compiler);
- if (namespacePrefix && !className.startsWith(namespace.substring(0, namespace.length() - 1))) {
- className = null; // namespace was specified, but we found it in a different package - ignore
- }
- }
- } else {
- className = resolveClassName(tag, compiler);
- }
- if (className != null) {
- int dotPos = className.lastIndexOf(".");
- namespace = className.substring(0, dotPos + 1) + "*";
- tag = className.substring(dotPos + 1);
- handler = registeredTags.get(new QName(namespace, tag));
- if (handler == null) {
- try {
- handler = getTagHandler(ClassDescriptorLoader.getClassDescriptor(className, compiler.getClassLoader()));
- }
- catch (ClassNotFoundException e) {
- e.printStackTrace();
- }
- }
- }
- }
- }
- return handler;
- }
+ /**
+ * Returns the <code>TagHandler</code> that should be used to process the specified tag.
+ * <p/>
+ * The <code>namespacePrefix</code> parameter is used only for error checking, as it is an
+ * error to specify conflicting package names using both a fully-qualified tag name and a
+ * namespace prefix, but it is not an error to specify conflicting package names using a
+ * fully-qualified tag name and a <i>default</i> namespace (i.e. <awt:javax.swing.JButton xmlns:awt='java.awt.*'/>
+ * is an error, whereas <javax.swing.JButton xmlns='java.awt.*'/> is not).
+ *
+ * @param namespace the tag's namespace (may be <code>null</code>)
+ * @param tag the tag's simple name (which can include fully-qualified Java class names)
+ * @param namespacePrefix <code>true</code> if the namespace was specified by means of a namespace prefix (as opposed to a default namespace)
+ * @param compiler the current <code>JAXXCompiler</code>
+ * @return the <code>TagHandler</code> for the tag
+ * @throws jaxx.CompilerException ?
+ */
+ public static TagHandler getTagHandler(String namespace, String tag, boolean namespacePrefix, JAXXCompiler compiler) throws CompilerException {
+ if (tag == null) {
+ throw new NullPointerException();
+ }
+ if (namespace == null && defaultNamespaces.containsKey(tag)) {
+ namespace = defaultNamespaces.get(tag);
+ if (namespace == null) { // defaultNamespaces map contains a null value, which is put there to indicate ambiguity
+ compiler.reportError("tag '" + tag + "' is ambiguous; specify fully-qualified name (package and class) to disambiguate");
+ return null;
+ }
+ }
+ TagHandler handler = registeredTags.get(new QName(namespace, tag));
+ if (handler == null) {
+ if (namespace == null || namespace.endsWith("*")) {
+ String className;
+ if (namespace != null) {
+ className = resolveClassName(namespace.substring(0, namespace.length() - 1) + tag, compiler);
+ if (className == null) {
+ className = resolveClassName(tag, compiler);
+ if (namespacePrefix && !className.startsWith(namespace.substring(0, namespace.length() - 1))) {
+ className = null; // namespace was specified, but we found it in a different package - ignore
+ }
+ }
+ } else {
+ className = resolveClassName(tag, compiler);
+ }
+ if (className != null) {
+ int dotPos = className.lastIndexOf(".");
+ namespace = className.substring(0, dotPos + 1) + "*";
+ tag = className.substring(dotPos + 1);
+ handler = registeredTags.get(new QName(namespace, tag));
+ if (handler == null) {
+ try {
+ handler = getTagHandler(ClassDescriptorLoader.getClassDescriptor(className, compiler.getClassLoader()));
+ }
+ catch (ClassNotFoundException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+ }
+ return handler;
+ }
- /**
- * Resolves a simple class name (like <code>Object</code> or <code>String</code>) to its fully-qualified name. Inner
- * classes should be represented as they would appear in Java source code (e.g. JPopupMenu.Separator). Fully-qualified names,
- * such as <code>java.lang.Object</code> are legal and will be returned unmodified (and in fact it is generally impossible to
- * even know whether a given reference is fully qualified until it has been resolved). Returns <code>null</code> if no matching
- * class could be found.
- *
- * @param name name to resolve
- * @param compiler compile to use
- * @return the resolved fqn class name
- */
- public static String resolveClassName(String name, JAXXCompiler compiler) {
- if (name.endsWith("[]"))
- return resolveClassName(name.substring(0, name.length() - 2), compiler) + "[]";
- if (name.indexOf("<") != -1)
- name = name.substring(0, name.indexOf("<")); // strip off generic types
- name = name.intern();
- if (name.equals("boolean") || name.equals("byte") || name.equals("short") || name.equals("int") ||
- name.equals("long") || name.equals("float") || name.equals("double") || name.equals("char"))
- return name;
+ /**
+ * Resolves a simple class name (like <code>Object</code> or <code>String</code>) to its fully-qualified name. Inner
+ * classes should be represented as they would appear in Java source code (e.g. JPopupMenu.Separator). Fully-qualified names,
+ * such as <code>java.lang.Object</code> are legal and will be returned unmodified (and in fact it is generally impossible to
+ * even know whether a given reference is fully qualified until it has been resolved). Returns <code>null</code> if no matching
+ * class could be found.
+ *
+ * @param name name to resolve
+ * @param compiler compile to use
+ * @return the resolved fqn class name
+ */
+ public static String resolveClassName(String name, JAXXCompiler compiler) {
+ if (name.endsWith("[]"))
+ return resolveClassName(name.substring(0, name.length() - 2), compiler) + "[]";
+ if (name.indexOf("<") != -1)
+ name = name.substring(0, name.indexOf("<")); // strip off generic types
- String result = null;
- String originalName = name;
- String defaultNamespace = null;
- if (defaultNamespaces.containsKey(name)) {
- defaultNamespace = defaultNamespaces.get(name);
- if (defaultNamespace == null) { // defaultNamespaces map contains a null value, which is put there to indicate ambiguity
- compiler.reportError("class '" + name + "' is ambiguous; specify fully-qualified name (package and class) to disambiguate");
- return null;
- }
- }
- if (defaultNamespace != null && defaultNamespace.endsWith("*")) {
- result = defaultNamespace.substring(0, defaultNamespace.length() - 1) + name;
- }
+ name = name.intern();
+ if (name.equals("boolean") || name.equals("byte") || name.equals("short") || name.equals("int") ||
+ name.equals("long") || name.equals("float") || name.equals("double") || name.equals("char"))
+ return name;
- if (result == null) {
- // Inner class names (like JPopupMenu.Separator) present a special challenge. The name before the dot might be
- // a package name, or it might be a class name. If it's a class name, it might be fully qualified, or it might
- // not. And it's also not actually the correct name of the class, as far as the JVM is concerned -- the correct
- // name uses a dollar sign instead of a dot (javax.swing.JPopupMenu$Separator). And there could be more than
- // one inner class -- it's possible to have com.mycompany.Outer$Inner$Innerer$Innerest.
- //
- // The basic strategy is to start by treating the part before the last dot as a package name, as that is by far
- // the most likely case. If we don't find the class there, change the last dot to a dollar sign and try again.
- // Suppose we have the tag <com.mycompany.Outer.Inner.Innerer.Innerest/>, matching the class above. Resolution
- // proceeds like this:
- // com.mycompany.Outer.Inner.Innerer.* : Innerest
- // com.mycompany.Outer.Inner.* : Innerer$Innerest
- // com.mycompany.Outer.* : Inner$Innerer$Innerest
- // com.mycompany.* : Outer$Inner$Innerer$Innerest
- // And at this point we have a match with the class Outer$Inner$Innerer$Innerest in package com.mycompany.
- int dotPos = originalName.lastIndexOf('.');
- for (; ;) {
- String namespace = dotPos != -1 ? originalName.substring(0, dotPos) + ".*" : "*";
- name = originalName.substring(dotPos + 1).replace('.', '$');
- String packageName = determinePackage(name, namespace, compiler);
- if (packageName != null) {
- assert packageName.endsWith("*");
- if (packageName.equals(namespace) || namespace.equals("*")) {
- // check for an alias (like javax.swing.JComboBox actually being jaxx.runtime.swing.JAXXComboBox)
- TagHandler handler = registeredTags.get(new QName(namespace, name));
- if (handler != null) { // determine alias by looking at handler
- ClassDescriptor alias = ((DefaultObjectHandler) handler).getBeanClass();
- // make sure the same handler is used for both the aliased and non-aliased names, in order to avoid "no CompiledObject has been registered" error
- // the line below doesn't bother to handle the case where the aliased class name doesn't have a package, since it's a pretty safe assumption that
- // that will never happen
- assert alias.getPackageName() != null && alias.getPackageName().length() > 0 : "aliasing with no package name has not been implemented";
- registeredTags.put(new QName(alias.getPackageName() + ".*", alias.getName().substring(alias.getPackageName().length() + 1)), handler);
- result = alias.getName();
- break;
- } else { // no alias
- result = packageName.substring(0, packageName.length() - 1) + name;
- break;
- }
- }
- // else we found a class by the same name, but in the wrong package
- }
+ String result = null;
+ String originalName = name;
+ String defaultNamespace = null;
+ if (defaultNamespaces.containsKey(name)) {
+ defaultNamespace = defaultNamespaces.get(name);
+ if (defaultNamespace == null) { // defaultNamespaces map contains a null value, which is put there to indicate ambiguity
+ compiler.reportError("class '" + name + "' is ambiguous; specify fully-qualified name (package and class) to disambiguate");
+ return null;
+ }
+ }
+ if (defaultNamespace != null && defaultNamespace.endsWith("*")) {
+ result = defaultNamespace.substring(0, defaultNamespace.length() - 1) + name;
+ }
- if (dotPos <= 0)
- break;
- dotPos = originalName.lastIndexOf('.', dotPos - 1);
- }
- }
+ if (result == null) {
+ // Inner class names (like JPopupMenu.Separator) present a special challenge. The name before the dot might be
+ // a package name, or it might be a class name. If it's a class name, it might be fully qualified, or it might
+ // not. And it's also not actually the correct name of the class, as far as the JVM is concerned -- the correct
+ // name uses a dollar sign instead of a dot (javax.swing.JPopupMenu$Separator). And there could be more than
+ // one inner class -- it's possible to have com.mycompany.Outer$Inner$Innerer$Innerest.
+ //
+ // The basic strategy is to start by treating the part before the last dot as a package name, as that is by far
+ // the most likely case. If we don't find the class there, change the last dot to a dollar sign and try again.
+ // Suppose we have the tag <com.mycompany.Outer.Inner.Innerer.Innerest/>, matching the class above. Resolution
+ // proceeds like this:
+ // com.mycompany.Outer.Inner.Innerer.* : Innerest
+ // com.mycompany.Outer.Inner.* : Innerer$Innerest
+ // com.mycompany.Outer.* : Inner$Innerer$Innerest
+ // com.mycompany.* : Outer$Inner$Innerer$Innerest
+ // And at this point we have a match with the class Outer$Inner$Innerer$Innerest in package com.mycompany.
+ int dotPos = originalName.lastIndexOf('.');
+ for (; ;) {
+ String namespace = dotPos != -1 ? originalName.substring(0, dotPos) + ".*" : "*";
+ name = originalName.substring(dotPos + 1).replace('.', '$');
+ String packageName = determinePackage(name, namespace, compiler);
+ if (packageName != null) {
+ assert packageName.endsWith("*");
+ if (packageName.equals(namespace) || namespace.equals("*")) {
+ // check for an alias (like javax.swing.JComboBox actually being jaxx.runtime.swing.JAXXComboBox)
+ TagHandler handler = registeredTags.get(new QName(namespace, name));
+ if (handler != null) { // determine alias by looking at handler
+ ClassDescriptor alias = ((DefaultObjectHandler) handler).getBeanClass();
+ // make sure the same handler is used for both the aliased and non-aliased names, in order to avoid "no CompiledObject has been registered" error
+ // the line below doesn't bother to handle the case where the aliased class name doesn't have a package, since it's a pretty safe assumption that
+ // that will never happen
+ assert alias.getPackageName() != null && alias.getPackageName().length() > 0 : "aliasing with no package name has not been implemented";
+ registeredTags.put(new QName(alias.getPackageName() + ".*", alias.getName().substring(alias.getPackageName().length() + 1)), handler);
+ result = alias.getName();
+ break;
+ } else { // no alias
+ result = packageName.substring(0, packageName.length() - 1) + name;
+ break;
+ }
+ }
+ // else we found a class by the same name, but in the wrong package
+ }
- if (result != null && !result.equals(originalName))
- result = resolveClassName(result, compiler); // check for aliases against the new name as well
+ if (dotPos <= 0)
+ break;
+ dotPos = originalName.lastIndexOf('.', dotPos - 1);
+ }
+ }
- return result;
- }
+ if (result != null && !result.equals(originalName))
+ result = resolveClassName(result, compiler); // check for aliases against the new name as well
+ return result;
+ }
- public static ClassDescriptor resolveClass(String className, JAXXCompiler compiler) {
- try {
- className = resolveClassName(className, compiler);
- if (className == null)
- return null;
- return ClassDescriptorLoader.getClassDescriptor(className, compiler.getClassLoader());
- }
- catch (ClassNotFoundException e) {
- return null;
- }
- }
+
+ public static ClassDescriptor resolveClass(String className, JAXXCompiler compiler) {
+ try {
+ className = resolveClassName(className, compiler);
+ if (className == null)
+ return null;
+ return ClassDescriptorLoader.getClassDescriptor(className, compiler.getClassLoader());
+ }
+ catch (ClassNotFoundException e) {
+ return null;
+ }
+ }
}
\ No newline at end of file
Modified: jaxx-gwt/trunk/jaxx-compiler-validator/pom.xml
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-validator/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/jaxx-compiler-validator/pom.xml 2009-04-06 10:29:08 UTC (rev 1299)
@@ -26,24 +26,12 @@
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>jaxx-runtime-swing</artifactId>
- <version>${project.version}</version>
- </dependency>
-
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jaxx-runtime-gwt</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>jaxx-runtime-validator-swing</artifactId>
- <version>${project.version}</version>
- </dependency>
-
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jaxx-runtime-validator-gwt</artifactId>
Modified: jaxx-gwt/trunk/jaxx-my-example/pom.xml
===================================================================
--- jaxx-gwt/trunk/jaxx-my-example/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/jaxx-my-example/pom.xml 2009-04-06 10:29:08 UTC (rev 1299)
@@ -15,13 +15,30 @@
<groupId>org.codelutin.jaxx</groupId>
<artifactId>jaxx-my-example</artifactId>
-<repositories>
+ <repositories>
+
+ <repository>
+ <id>gwt-maven</id>
+ <url>
+ http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
+ </url>
+ </repository>
+
<repository>
<id>gwt-maven</id>
<url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
- </repository>
+ </repository>
+
</repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>gwt-maven</id>
+ <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
@@ -172,6 +189,33 @@
</configuration>
</plugin>
+ <plugin>
+ <groupId>com.totsp.gwt</groupId>
+ <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
+ <version>2.0-RC1</version>
+ <configuration>
+ <compileTargets>
+ <value>com.totsp.sample.Application</value>
+ </compileTargets>
+ <runTarget>com.totsp.sample.Application/Application.html</runTarget>
+ <logLevel>INFO</logLevel>
+ <style>DETAILED</style>
+ <noServer>false</noServer>
+ <extraJvmArgs>-Xmx512m</extraJvmArgs>
+ <gwtVersion>${gwtVersion}</gwtVersion>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>mergewebxml</goal>
+ <!--<goal>i18n</goal>-->
+ <goal>compile</goal>
+ <!-- <goal>test</goal>-->
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
Modified: jaxx-gwt/trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- jaxx-gwt/trunk/maven-jaxx-plugin/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/maven-jaxx-plugin/pom.xml 2009-04-06 10:29:08 UTC (rev 1299)
@@ -34,18 +34,6 @@
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>jaxx-compiler-swing</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>jaxx-swing-action</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
<artifactId>jaxx-compiler-gwt</artifactId>
<version>${project.version}</version>
</dependency>
Modified: jaxx-gwt/trunk/pom.xml
===================================================================
--- jaxx-gwt/trunk/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
+++ jaxx-gwt/trunk/pom.xml 2009-04-06 10:29:08 UTC (rev 1299)
@@ -13,23 +13,19 @@
</parent>
<groupId>org.codelutin</groupId>
- <artifactId>jaxx</artifactId>
+ <artifactId>jaxx-gwt</artifactId>
<version>2.0-SNAPSHOT</version>
<modules>
<module>jaxx-runtime-api</module>
- <module>jaxx-runtime-swing</module>
<module>jaxx-runtime-gwt</module>
<module>jaxx-runtime-validator</module>
- <module>jaxx-runtime-validator-swing</module>
<module>jaxx-runtime-validator-gwt</module>
<module>jaxx-compiler-api</module>
- <module>jaxx-compiler-swing</module>
<module>jaxx-compiler-gwt</module>
<module>jaxx-compiler-validator</module>
- <module>jaxx-swing-action</module>
<module>jaxx-gwt-action</module>
<module>maven-jaxx-plugin</module>
1
0
r1298 - in jaxx-gwt/trunk: jaxx-compiler-api jaxx-compiler-api/src/main/java/jaxx/tags jaxx-compiler-gwt/src/main/java/jaxx jaxx-compiler-gwt/src/main/java/jaxx/compiler jaxx-compiler-gwt/src/main/java/jaxx/tags/gwt jaxx-compiler-validator/src/main/java/jaxx/compiler jaxx-my-example
by kmorin@users.labs.libre-entreprise.org 06 Apr '09
by kmorin@users.labs.libre-entreprise.org 06 Apr '09
06 Apr '09
Author: kmorin
Date: 2009-04-06 07:42:20 +0000 (Mon, 06 Apr 2009)
New Revision: 1298
Added:
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTBoxedCompiledObjectDecorator.java
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTHelpRootCompiledObjectDecorator.java
Removed:
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/BoxedCompiledObjectDecorator.java
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/HelpRootCompiledObjectDecorator.java
Modified:
jaxx-gwt/trunk/jaxx-compiler-api/pom.xml
jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/GWTInitializer.java
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTGenerator.java
jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/tags/gwt/TreeHandler.java
jaxx-gwt/trunk/jaxx-compiler-validator/src/main/java/jaxx/compiler/ValidatorGenerator.java
jaxx-gwt/trunk/jaxx-my-example/pom.xml
Log:
Modified: jaxx-gwt/trunk/jaxx-compiler-api/pom.xml
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-api/pom.xml 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-api/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
@@ -17,6 +17,33 @@
<artifactId>jaxx-compiler-api</artifactId>
<dependencies>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <version>${gwtVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <version>${gwtVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <version>${gwtVersion}</version>
+ <classifier>${platform}-libs</classifier>
+ <type>zip</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <version>${gwtVersion}</version>
+ <classifier>${platform}</classifier>
+ <scope>provided</scope>
+ </dependency>
<!-- sibling dependencies -->
@@ -51,6 +78,9 @@
<!-- *** Build Settings ****************************************** -->
<!-- ************************************************************* -->
<packaging>jar</packaging>
+ <properties>
+ <gwtVersion>1.5.3</gwtVersion>
+ </properties>
<!-- ************************************************************* -->
<!-- *** Build Environment ************************************** -->
@@ -60,4 +90,18 @@
<connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</connection>
<developerConnection>scm:svn:svn+ssh://sletellier@labs.libre-entreprise.org/svnroot/buix/jaxx/trunk/jaxx-compiler-api</developerConnection>
</scm>
+
+ <profiles>
+ <profile>
+ <id>gwt-dev-linux</id>
+ <properties>
+ <platform>linux</platform>
+ </properties>
+ <activation>
+ <os>
+ <name>Linux</name>
+ </os>
+ </activation>
+ </profile>
+ </profiles>
</project>
Modified: jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-api/src/main/java/jaxx/tags/TagManager.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -12,6 +12,10 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import com.google.gwt.core.ext.Generator;
+import com.google.gwt.core.ext.typeinfo.NotFoundException;
+import com.google.gwt.core.ext.typeinfo.TypeOracle;
+
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
@@ -252,15 +256,24 @@
boolean found = false;
try {
- Class.forName(className, true, compiler.getClassLoader());
+ System.out.println("1 " + className);
+ TypeOracle to = new TypeOracle();
+ to.getType(className);
found = true;
}
- catch (ClassNotFoundException e) {
- // ignore ?
+ catch (NotFoundException e) {
+ System.out.println("2 " + className);
+ try {
+ Class.forName(className, true, compiler.getClassLoader());
+ } catch (ClassNotFoundException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ catch (NoClassDefFoundError ex) { // we get this instead of ClassNotFoundException on case-insensitive file systems when
+ // looking up a class with the wrong case
+ }
}
- catch (NoClassDefFoundError e) { // we get this instead of ClassNotFoundException on case-insensitive file systems when
- // looking up a class with the wrong case
- }
+
if (!found) { // couldn't find .class, check for .java
URL javaURL = compiler.getClassLoader().getResource(className.replace('.', '/') + ".java");
Modified: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/GWTInitializer.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/GWTInitializer.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/GWTInitializer.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -78,6 +78,8 @@
TagManager.registerDefaultNamespace("JTextField", "javax.swing.*");
TagManager.registerDefaultNamespace("JTextPane", "javax.swing.*");
+ TagManager.registerDefaultNamespace("Button", "com.google.gwt.user.client.ui.*");
+
TagManager.registerTag(JAXXCompiler.JAXX_NAMESPACE, "tab", new TabHandler());
TagManager.registerBean(ClassDescriptorLoader.getClassDescriptor(jaxx.runtime.gwt.Table.class), TableHandler.class);
TagManager.registerTag(JAXXCompiler.JAXX_NAMESPACE, "row", new RowHandler());
Deleted: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/BoxedCompiledObjectDecorator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/BoxedCompiledObjectDecorator.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/BoxedCompiledObjectDecorator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -1,27 +0,0 @@
-package jaxx.compiler;
-
-import jaxx.compiler.CompiledObject.ChildRef;
-import jaxx.runtime.GWTUtil;
-
-/**
- * A decorator to surround a compiled object (should be a component at least)
- * with a JXLayer.
- *
- * @author tony
- * @since 1.2
- */
-public class BoxedCompiledObjectDecorator extends DefaultCompiledObjectDecorator {
-
- @Override
- public void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName) {
- CompiledObject parent = object.getParent();
- for (ChildRef child : parent.getChilds()) {
- if (child.getChild() == object) {
- String javaCode = child.getChildJavaCode();
- child.setChildJavaCode(GWTUtil.class.getName()+".boxComponentWithJxLayer(" + javaCode + ")");
- break;
- }
- }
- super.finalizeCompiler(compiler, root, object, javaFile, packageName, className, fullClassName);
- }
-}
Added: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTBoxedCompiledObjectDecorator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTBoxedCompiledObjectDecorator.java (rev 0)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTBoxedCompiledObjectDecorator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -0,0 +1,27 @@
+package jaxx.compiler;
+
+import jaxx.compiler.CompiledObject.ChildRef;
+import jaxx.runtime.GWTUtil;
+
+/**
+ * A decorator to surround a compiled object (should be a component at least)
+ * with a JXLayer.
+ *
+ * @author tony
+ * @since 1.2
+ */
+public class GWTBoxedCompiledObjectDecorator extends DefaultCompiledObjectDecorator {
+
+ @Override
+ public void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName) {
+ CompiledObject parent = object.getParent();
+ for (ChildRef child : parent.getChilds()) {
+ if (child.getChild() == object) {
+ String javaCode = child.getChildJavaCode();
+ child.setChildJavaCode(GWTUtil.class.getName()+".boxComponentWithJxLayer(" + javaCode + ")");
+ break;
+ }
+ }
+ super.finalizeCompiler(compiler, root, object, javaFile, packageName, className, fullClassName);
+ }
+}
Modified: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTGenerator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTGenerator.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTGenerator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -19,7 +19,7 @@
// TODO: check for existing main method first
javaFile.addInterface("com.google.gwt.core.client.EntryPoint");
javaFile.addMethod(JavaMethod.newMethod(Modifier.PUBLIC, "void", "onModuleLoad",
- "SwingUtilities.invokeLater(new Runnable() { public void run() { new " + className + "().setVisible(true); } });")
+ "SwingUtilities.invokeLater(new Runnable() { public void run() { new " + className + "(); } });")
);
}
}
Added: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTHelpRootCompiledObjectDecorator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTHelpRootCompiledObjectDecorator.java (rev 0)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/GWTHelpRootCompiledObjectDecorator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -0,0 +1,93 @@
+package jaxx.compiler;
+
+import java.lang.reflect.Modifier;
+import java.util.Iterator;
+import java.util.Set;
+
+/**
+ * A decorator to place on a root compiled object to process javaHelp on the file.
+ *
+ * @author tony
+ * @since 1.2
+ */
+public class GWTHelpRootCompiledObjectDecorator extends DefaultCompiledObjectDecorator {
+
+ /**
+ * the list of discovered helpId
+ */
+ protected static Set<String> helpIds = new java.util.HashSet<String>();
+
+ protected String getBrokerFQN(JAXXCompiler compiler) {
+ String helpBrokerFQN = compiler.getOptions().getHelpBrokerFQN();
+ return helpBrokerFQN;
+ }
+
+ protected String getHelpId(CompiledObject o) {
+ String helpID = null;
+ if (o.hasClientProperties()) {
+ helpID = o.getClientProperty("help");
+ }
+ return helpID;
+ }
+
+ @Override
+ public void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName) {
+ super.finalizeCompiler(compiler, root, object, javaFile, packageName, className, fullClassName);
+ CompilerOptions options = compiler.getOptions();
+
+ if (options.isGenerateHelp()) {
+
+ // add JaxxHelpUI interface
+ Class<?> validatorInterface = jaxx.runtime.JaxxHelpUI.class;
+ String helpBrokerFQN = getBrokerFQN(compiler);
+ javaFile.addInterface(JAXXCompiler.getCanonicalName(validatorInterface) + "<" + helpBrokerFQN + ">");
+
+ javaFile.addMethod(JavaMethod.newMethod(Modifier.PUBLIC, "void", "registerHelpId",
+ "broker.installUI(component, helpId);",
+ new JavaArgument(helpBrokerFQN, "broker"),
+ new JavaArgument("Component", "component"),
+ new JavaArgument("String", "helpId")));
+
+ javaFile.addMethod(JavaMethod.newMethod(Modifier.PUBLIC, "void", "showHelp",
+ "getBroker().showHelp(this, helpId);",
+ new JavaArgument("String", "helpId")));
+
+ StringBuilder buffer = new StringBuilder();
+
+ String lineSeparator = JAXXCompiler.getLineSeparator();
+
+ if (options.isGenerateHelp()) {
+
+ // add code to init javax help system
+ Iterator<CompiledObject> itr = compiler.getObjectCreationOrder();
+
+ for (; itr.hasNext();) {
+ CompiledObject o = itr.next();
+ String helpID = getHelpId(o);
+ if (helpID != null) {
+ buffer.append(lineSeparator);
+ // detects a helpId to register
+ buffer.append("registerHelpId(_broker, " + o.getJavaCode() + ", " + helpID + ");");
+ //keep the helpID for helpSet generation
+ helpIds.add(helpID);
+ }
+ }
+ }
+ if (buffer.length() > 0) {
+
+ StringBuilder extraCode = new StringBuilder(helpBrokerFQN).append(" _broker = getBroker();");
+
+ buffer.append(lineSeparator).append("_broker.prepareUI(this);");
+ buffer.append(lineSeparator);
+
+ // add the calls
+ compiler.appendLateInitializer(extraCode.toString());
+ compiler.appendLateInitializer(buffer.toString());
+ }
+ }
+ }
+
+ public static Set<String> getHelpIds() {
+ return helpIds;
+ }
+}
Deleted: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/HelpRootCompiledObjectDecorator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/HelpRootCompiledObjectDecorator.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/compiler/HelpRootCompiledObjectDecorator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -1,93 +0,0 @@
-package jaxx.compiler;
-
-import java.lang.reflect.Modifier;
-import java.util.Iterator;
-import java.util.Set;
-
-/**
- * A decorator to place on a root compiled object to process javaHelp on the file.
- *
- * @author tony
- * @since 1.2
- */
-public class HelpRootCompiledObjectDecorator extends DefaultCompiledObjectDecorator {
-
- /**
- * the list of discovered helpId
- */
- protected static Set<String> helpIds = new java.util.HashSet<String>();
-
- protected String getBrokerFQN(JAXXCompiler compiler) {
- String helpBrokerFQN = compiler.getOptions().getHelpBrokerFQN();
- return helpBrokerFQN;
- }
-
- protected String getHelpId(CompiledObject o) {
- String helpID = null;
- if (o.hasClientProperties()) {
- helpID = o.getClientProperty("help");
- }
- return helpID;
- }
-
- @Override
- public void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName) {
- super.finalizeCompiler(compiler, root, object, javaFile, packageName, className, fullClassName);
- CompilerOptions options = compiler.getOptions();
-
- if (options.isGenerateHelp()) {
-
- // add JaxxHelpUI interface
- Class<?> validatorInterface = jaxx.runtime.JaxxHelpUI.class;
- String helpBrokerFQN = getBrokerFQN(compiler);
- javaFile.addInterface(JAXXCompiler.getCanonicalName(validatorInterface) + "<" + helpBrokerFQN + ">");
-
- javaFile.addMethod(JavaMethod.newMethod(Modifier.PUBLIC, "void", "registerHelpId",
- "broker.installUI(component, helpId);",
- new JavaArgument(helpBrokerFQN, "broker"),
- new JavaArgument("Component", "component"),
- new JavaArgument("String", "helpId")));
-
- javaFile.addMethod(JavaMethod.newMethod(Modifier.PUBLIC, "void", "showHelp",
- "getBroker().showHelp(this, helpId);",
- new JavaArgument("String", "helpId")));
-
- StringBuilder buffer = new StringBuilder();
-
- String lineSeparator = JAXXCompiler.getLineSeparator();
-
- if (options.isGenerateHelp()) {
-
- // add code to init javax help system
- Iterator<CompiledObject> itr = compiler.getObjectCreationOrder();
-
- for (; itr.hasNext();) {
- CompiledObject o = itr.next();
- String helpID = getHelpId(o);
- if (helpID != null) {
- buffer.append(lineSeparator);
- // detects a helpId to register
- buffer.append("registerHelpId(_broker, " + o.getJavaCode() + ", " + helpID + ");");
- //keep the helpID for helpSet generation
- helpIds.add(helpID);
- }
- }
- }
- if (buffer.length() > 0) {
-
- StringBuilder extraCode = new StringBuilder(helpBrokerFQN).append(" _broker = getBroker();");
-
- buffer.append(lineSeparator).append("_broker.prepareUI(this);");
- buffer.append(lineSeparator);
-
- // add the calls
- compiler.appendLateInitializer(extraCode.toString());
- compiler.appendLateInitializer(buffer.toString());
- }
- }
- }
-
- public static Set<String> getHelpIds() {
- return helpIds;
- }
-}
Modified: jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/tags/gwt/TreeHandler.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/tags/gwt/TreeHandler.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-gwt/src/main/java/jaxx/tags/gwt/TreeHandler.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -58,7 +58,7 @@
List<Item> items = tree.getItems();
if (items != null && !items.isEmpty()) {
String listName = tree.getId() + "$items";
- tree.appendAdditionCode("java.util.List<jaxx.runtime.gwt.Item> " + listName + " = new java.util.ArrayList<jaxx.runtime.swing.Item>();");
+ tree.appendAdditionCode("java.util.List<jaxx.runtime.gwt.Item> " + listName + " = new java.util.ArrayList<jaxx.runtime.gwt.Item>();");
createItems(tree, items, listName + ".add", compiler);
tree.appendAdditionCode(tree.getId() + ".setItems(" + listName + ");");
}
Modified: jaxx-gwt/trunk/jaxx-compiler-validator/src/main/java/jaxx/compiler/ValidatorGenerator.java
===================================================================
--- jaxx-gwt/trunk/jaxx-compiler-validator/src/main/java/jaxx/compiler/ValidatorGenerator.java 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-compiler-validator/src/main/java/jaxx/compiler/ValidatorGenerator.java 2009-04-06 07:42:20 UTC (rev 1298)
@@ -34,7 +34,8 @@
boolean found = BeanValidatorHandler.isComponentUsedByValidator(compiler, child.getChild().getId());
if (found) {
// box the child component in a JxLayer
- child.setChildJavaCode(jaxx.runtime.SwingUtil.class.getName()+".boxComponentWithJxLayer(" + javaCode + ")");
+ //child.setChildJavaCode(jaxx.runtime.SwingUtil.class.getName()+".boxComponentWithJxLayer(" + javaCode + ")");
+ child.setChildJavaCode(jaxx.runtime.GWTUtil.class.getName()+".boxComponentWithJxLayer(" + javaCode + ")");
}
}
}
Modified: jaxx-gwt/trunk/jaxx-my-example/pom.xml
===================================================================
--- jaxx-gwt/trunk/jaxx-my-example/pom.xml 2009-04-05 20:13:32 UTC (rev 1297)
+++ jaxx-gwt/trunk/jaxx-my-example/pom.xml 2009-04-06 07:42:20 UTC (rev 1298)
@@ -79,8 +79,8 @@
<packaging>jar</packaging>
<properties>
-<gwtVersion>1.5.3</gwtVersion>
- <maven.jar.main.class>jaxx.demo.JAXXMyDemo</maven.jar.main.class>
+ <gwtVersion>1.5.3</gwtVersion>
+ <maven.jar.main.class>jaxx.test.Test</maven.jar.main.class>
<!-- jnlp -->
<keystorepath>${codelutin.keystorepath}</keystorepath>
1
0
r1297 - in jaxx/trunk: jaxx-runtime-api/src/main/java/jaxx/runtime jaxx-runtime-validator/src/main/java/jaxx/runtime/validator/field
by tchemit@users.labs.libre-entreprise.org 05 Apr '09
by tchemit@users.labs.libre-entreprise.org 05 Apr '09
05 Apr '09
Author: tchemit
Date: 2009-04-05 20:13:32 +0000 (Sun, 05 Apr 2009)
New Revision: 1297
Modified:
jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
jaxx/trunk/jaxx-runtime-validator/src/main/java/jaxx/runtime/validator/field/CollectionFieldExpressionValidator.java
Log:
add some usefull methods
Modified: jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
===================================================================
--- jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-05 12:44:05 UTC (rev 1296)
+++ jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-05 20:13:32 UTC (rev 1297)
@@ -128,6 +128,32 @@
return null;
}
+ public <T> T getContextValue(DataContextEntry<T> entry, String key) {
+ if (key == null) {
+ throw new NullPointerException("key parameter can not be null!");
+ }
+ String contextKey = entry.hashCode() + "#" + key;
+ T result = delegate.getContextValue(entry.getKlass(), contextKey);
+ return result;
+ }
+
+ public void setContextValue(DataContextEntry entry, Object value, String key) {
+ if (key == null) {
+ throw new NullPointerException("key parameter can not be null!");
+ }
+ String contextKey = entry.hashCode() + "#" + key;
+ delegate.setContextValue(value, contextKey);
+ }
+
+ public void removeContextValue(DataContextEntry entry, Object value, String key) {
+ if (key == null) {
+ throw new NullPointerException("key parameter can not be null!");
+ }
+ String contextKey = entry.hashCode() + "#" + key;
+ delegate.removeContextValue(value.getClass(), contextKey);
+ }
+
+ @SuppressWarnings("unchecked")
public void updateSelectedData(String path, Object data, UpdateDataContext updator) {
if (currentEntry != null) {
@@ -139,7 +165,7 @@
if (log.isTraceEnabled()) {
log.trace("remove entry " + s);
}
- updator.onRemovingData(delegate, s);
+ updator.onRemovingData(this, s);
}
}
@@ -153,7 +179,7 @@
for (DataContextEntry<?> s : iterateToLevel(currentEntry.getLevel())) {
- updator.onAddingData(delegate, s, path);
+ updator.onAddingData(this, s, path);
}
}
}
@@ -288,11 +314,11 @@
}
}
- public static interface UpdateDataContext {
+ public static interface UpdateDataContext<D extends DataContext> {
- void onRemovingData(JAXXContext context, DataContextEntry entry);
+ void onRemovingData(D context, DataContextEntry entry);
- void onAddingData(JAXXContext context, DataContextEntry entry, String path);
+ void onAddingData(D context, DataContextEntry entry, String path);
}
public static class DataContextEntryIterator implements Iterator<DataContextEntry<?>> {
Modified: jaxx/trunk/jaxx-runtime-validator/src/main/java/jaxx/runtime/validator/field/CollectionFieldExpressionValidator.java
===================================================================
--- jaxx/trunk/jaxx-runtime-validator/src/main/java/jaxx/runtime/validator/field/CollectionFieldExpressionValidator.java 2009-04-05 12:44:05 UTC (rev 1296)
+++ jaxx/trunk/jaxx-runtime-validator/src/main/java/jaxx/runtime/validator/field/CollectionFieldExpressionValidator.java 2009-04-05 20:13:32 UTC (rev 1297)
@@ -1,5 +1,6 @@
package jaxx.runtime.validator.field;
+import com.opensymphony.xwork2.util.ValueStack;
import com.opensymphony.xwork2.validator.ValidationException;
import com.opensymphony.xwork2.validator.validators.FieldExpressionValidator;
@@ -48,7 +49,7 @@
protected String expressionForLast;
/** le context de parcours */
protected WalkerContext c;
- private boolean useFirst, useLast;
+ private boolean useFirst, useLast;
public Mode getMode() {
return mode;
@@ -107,6 +108,13 @@
boolean answer;
+ boolean pop = false;
+
+ if (!stack.getRoot().contains(object)) {
+ stack.push(object);
+ pop = true;
+ }
+
switch (mode) {
case ALL:
answer = validateAllEntries(col);
@@ -129,8 +137,34 @@
if (!answer) {
addFieldError(fieldName, object);
}
+ if (pop) {
+ stack.pop();
+ }
}
+ protected ValueStack stack;
+ @Override
+ public void setValueStack(ValueStack stack) {
+ super.setValueStack(stack);
+ this.stack = stack;
+ }
+
+ @Override
+ public String getMessage(Object object) {
+ boolean pop = false;
+
+ if (useSensitiveContext && !stack.getRoot().contains(c)) {
+ stack.push(c);
+ pop = true;
+ }
+ String message = super.getMessage(object);
+
+ if (pop) {
+ stack.pop();
+ }
+ return message;
+ }
+
protected Boolean validateAllEntries(Collection<?> col) throws ValidationException {
boolean answer = true;
for (Object entry : col) {
1
0
r1296 - jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime
by tchemit@users.labs.libre-entreprise.org 05 Apr '09
by tchemit@users.labs.libre-entreprise.org 05 Apr '09
05 Apr '09
Author: tchemit
Date: 2009-04-05 12:44:05 +0000 (Sun, 05 Apr 2009)
New Revision: 1296
Modified:
jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
Log:
use clear method when closing since method can be override
Modified: jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java
===================================================================
--- jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-04 17:20:22 UTC (rev 1295)
+++ jaxx/trunk/jaxx-runtime-api/src/main/java/jaxx/runtime/DataContext.java 2009-04-05 12:44:05 UTC (rev 1296)
@@ -208,7 +208,7 @@
}
public void close() throws Exception {
- delegate.clear();
+ clear();
}
public void clear() {
1
0