Topia-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
- July
- June
- May
- 4806 discussions
20 Feb '09
Author: tchemit
Date: 2009-02-20 14:36:25 +0000 (Fri, 20 Feb 2009)
New Revision: 1396
Added:
topia-service/tags/1.0.2/
topia-service/tags/1.0.2/changelog.txt
topia-service/tags/1.0.2/pom.xml
Removed:
topia-service/tags/1.0.2/changelog.txt
topia-service/tags/1.0.2/pom.xml
Log:
[maven-release-plugin] copy for tag 1.0.2
Copied: topia-service/tags/1.0.2 (from rev 1393, topia-service/trunk)
Deleted: topia-service/tags/1.0.2/changelog.txt
===================================================================
--- topia-service/trunk/changelog.txt 2009-02-20 14:04:03 UTC (rev 1393)
+++ topia-service/tags/1.0.2/changelog.txt 2009-02-20 14:36:25 UTC (rev 1396)
@@ -1,37 +0,0 @@
-1.1 chemit 20081215
-* 20081215 [chemit] - new release for isis-fish :) follow release of topia
-
-1.0 chemit 20081210
- * 20081205 [chemit] - improve poms, use lutinproject 3.2, migrate tests to JUnit4
-
-0.9.1
- * [chatellier] Correction d'un bug de recherche de mapping sous windows (\)
-
-0.9
- * <chemit> use lutinproject 3.0 + clean pom + use topia 2.0.27
- * <poussin> modif dans service de migration pour permettre a l'app de
- faire la migration via le callback
-
-0.8
-
- * 20071120 [chatellier] update topia-service site
- * 20071115 [chatellier] apply hibernate code style to open/close session and
- transaction
- * 20071115 [chatellier] refractoring separate specifique topia service
- and real migration code
- * 20071115 [chatellier] add schema existance detection support
- and dont migrate if there is no table
- * 20071111 [chatellier] add support for callback handler
- * 20071111 [chatellier] use cascade to calculate dependencies order
- * 20071109 [chatellier] change schema creation process to
- correct duplicate foreign key creation
- * 20071109 [chatellier] add inherit support to calculate dependancies
-
-0.6 ??? ???
-
- * 20070426 [chatellier] use lutinutil.Resources.getUrls() to get mappings
- * 20070426 [chatellier] change finder migration to use Class.forName()
- * 20070420 [chatellier] remove the 'V' letter in old mapping directories name
- * 20070420 [chatellier] add support to look for hibernate mapping in a tree
- structure of directories
- * 20070418 [chatellier] add migration service
\ No newline at end of file
Copied: topia-service/tags/1.0.2/changelog.txt (from rev 1394, topia-service/trunk/changelog.txt)
===================================================================
--- topia-service/tags/1.0.2/changelog.txt (rev 0)
+++ topia-service/tags/1.0.2/changelog.txt 2009-02-20 14:36:25 UTC (rev 1396)
@@ -0,0 +1,40 @@
+1.2 chemit 20090220
+* 20090220 [chemit] - use lutinproject 3.4
+
+1.1 chemit 20081215
+* 20081215 [chemit] - new release for isis-fish :) follow release of topia
+
+1.0 chemit 20081210
+ * 20081205 [chemit] - improve poms, use lutinproject 3.2, migrate tests to JUnit4
+
+0.9.1
+ * [chatellier] Correction d'un bug de recherche de mapping sous windows (\)
+
+0.9
+ * <chemit> use lutinproject 3.0 + clean pom + use topia 2.0.27
+ * <poussin> modif dans service de migration pour permettre a l'app de
+ faire la migration via le callback
+
+0.8
+
+ * 20071120 [chatellier] update topia-service site
+ * 20071115 [chatellier] apply hibernate code style to open/close session and
+ transaction
+ * 20071115 [chatellier] refractoring separate specifique topia service
+ and real migration code
+ * 20071115 [chatellier] add schema existance detection support
+ and dont migrate if there is no table
+ * 20071111 [chatellier] add support for callback handler
+ * 20071111 [chatellier] use cascade to calculate dependencies order
+ * 20071109 [chatellier] change schema creation process to
+ correct duplicate foreign key creation
+ * 20071109 [chatellier] add inherit support to calculate dependancies
+
+0.6 ??? ???
+
+ * 20070426 [chatellier] use lutinutil.Resources.getUrls() to get mappings
+ * 20070426 [chatellier] change finder migration to use Class.forName()
+ * 20070420 [chatellier] remove the 'V' letter in old mapping directories name
+ * 20070420 [chatellier] add support to look for hibernate mapping in a tree
+ structure of directories
+ * 20070418 [chatellier] add migration service
\ No newline at end of file
Deleted: topia-service/tags/1.0.2/pom.xml
===================================================================
--- topia-service/trunk/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
+++ topia-service/tags/1.0.2/pom.xml 2009-02-20 14:36:25 UTC (rev 1396)
@@ -1,241 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinproject</artifactId>
- <version>3.4</version>
- </parent>
-
- <artifactId>topia-service</artifactId>
- <version>1.0.2-SNAPSHOT</version>
-
- <dependencies>
-
- <!--Compile-->
- <dependency>
- <groupId>org.codelutin.topia</groupId>
- <artifactId>topia-persistence</artifactId>
- <version>${topia.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinutil</artifactId>
- <version>${lutinutil.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-core</artifactId>
- <version>2.4.0</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.4</version>
- <scope>compile</scope>
- </dependency>
-
- <!--BD H2 pour le test-->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.1.107</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
-
- <name>ToPIA Service</name>
- <description>
- ToPIA Service est une librairie de ToPIA pour la gestion de services.
- </description>
- <inceptionYear>2006</inceptionYear>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <packaging>jar</packaging>
-
- <properties>
- <!-- id du projet du labs -->
- <labs.id>21</labs.id>
-
- <!-- nom du projet sur le labs -->
- <labs.project>topia</labs.project>
-
- <!-- libs versions -->
- <topia.version>2.1.3-SNAPSHOT</topia.version>
- <generator.version>0.64</generator.version>
- <lutinutil.version>1.0.3</lutinutil.version>
-
- </properties>
-
- <build>
-
- <plugins>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-generator-plugin</artifactId>
- <version>${generator.version}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <!--Configuration of model generator-->
- <configuration>
- <srcDirZuml>${maven.src.dir}/main/xmi</srcDirZuml>
- <srcXmiDest>${maven.gen.dir}/xmi/</srcXmiDest>
- <srcGenDest>${maven.gen.dir}/objectmodel/</srcGenDest>
- <includes>**/*.objectmodel</includes>
- <templates>org.codelutin.topia.generator.TopiaMetaGenerator</templates>
- <destDirGen>${maven.gen.dir}/java</destDirGen>
- <defaultPackage>org.codelutin.topia</defaultPackage>
- <fullPackagePath>org.codelutin.topia</fullPackagePath>
- <extractedPackages>org.codelutin.topia.tass</extractedPackages>
- <copyVersionDir>src/main/resources/oldmappings/%MODELNAME%</copyVersionDir>
- <copyVersionFiles>**/*.hbm.xml</copyVersionFiles>
- <copyOverwrite>true</copyOverwrite>
- </configuration>
- <goals>
- <goal>zargo2xmi</goal>
- <goal>xmi2objectmodel</goal>
- <goal>generate</goal>
- <goal>copyVersionFiles</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.codelutin.topia</groupId>
- <artifactId>topia-persistence</artifactId>
- <version>${topia.version}</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <phase>test-compile</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${maven.gen.dir}/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Always process jrst files, but only called on pre-site phase -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-jrst-plugin</artifactId>
- <version>0.8.4</version>
- <configuration>
- <directoryIn>${maven.src.dir}/site</directoryIn>
- <directoryOut>${maven.site.gen.dir}</directoryOut>
- <defaultLocale>fr</defaultLocale>
- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
- <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
- </configuration>
- <executions>
- <execution>
- <phase>pre-site</phase>
- <goals>
- <goal>jrst</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
- <scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
- </scm>
-
- <!--Code Lutin Repository-->
- <repositories>
- <repository>
- <id>codelutin-repository</id>
- <name>CodeLutinRepository</name>
- <url>http://lutinbuilder.labs.libre-entreprise.org/maven2</url>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </releases>
- </repository>
- </repositories>
-
- <profiles>
- <profile>
- <id>release-profile</id>
- <activation>
- <property>
- <name>performRelease</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
-
- <!-- always add license and third-party files to classpath -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-license-switcher-plugin</artifactId>
- <version>0.6</version>
- <configuration>
- <licenseName>${license-switcher.licenseName}</licenseName>
- </configuration>
- <executions>
- <execution>
- <id>attach-licenses</id>
- <goals>
- <goal>license</goal>
- <goal>third-party</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
-
- </build>
- </profile>
- </profiles>
-
-</project>
Copied: topia-service/tags/1.0.2/pom.xml (from rev 1395, topia-service/trunk/pom.xml)
===================================================================
--- topia-service/tags/1.0.2/pom.xml (rev 0)
+++ topia-service/tags/1.0.2/pom.xml 2009-02-20 14:36:25 UTC (rev 1396)
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinproject</artifactId>
+ <version>3.4</version>
+ </parent>
+
+ <artifactId>topia-service</artifactId>
+ <version>1.0.2</version>
+
+ <dependencies>
+
+ <!--Compile-->
+ <dependency>
+ <groupId>org.codelutin.topia</groupId>
+ <artifactId>topia-persistence</artifactId>
+ <version>${topia.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinutil</artifactId>
+ <version>${lutinutil.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-core</artifactId>
+ <version>2.4.0</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!--BD H2 pour le test-->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.1.107</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>ToPIA Service</name>
+ <description>
+ ToPIA Service est une librairie de ToPIA pour la gestion de services.
+ </description>
+ <inceptionYear>2006</inceptionYear>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>jar</packaging>
+
+ <properties>
+ <!-- id du projet du labs -->
+ <labs.id>21</labs.id>
+
+ <!-- nom du projet sur le labs -->
+ <labs.project>topia</labs.project>
+
+ <!-- libs versions -->
+ <topia.version>2.1.3</topia.version>
+ <generator.version>0.64</generator.version>
+ <lutinutil.version>1.0.3</lutinutil.version>
+
+ </properties>
+
+ <build>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <version>${generator.version}</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <!--Configuration of model generator-->
+ <configuration>
+ <srcDirZuml>${maven.src.dir}/main/xmi</srcDirZuml>
+ <srcXmiDest>${maven.gen.dir}/xmi/</srcXmiDest>
+ <srcGenDest>${maven.gen.dir}/objectmodel/</srcGenDest>
+ <includes>**/*.objectmodel</includes>
+ <templates>org.codelutin.topia.generator.TopiaMetaGenerator</templates>
+ <destDirGen>${maven.gen.dir}/java</destDirGen>
+ <defaultPackage>org.codelutin.topia</defaultPackage>
+ <fullPackagePath>org.codelutin.topia</fullPackagePath>
+ <extractedPackages>org.codelutin.topia.tass</extractedPackages>
+ <copyVersionDir>src/main/resources/oldmappings/%MODELNAME%</copyVersionDir>
+ <copyVersionFiles>**/*.hbm.xml</copyVersionFiles>
+ <copyOverwrite>true</copyOverwrite>
+ </configuration>
+ <goals>
+ <goal>zargo2xmi</goal>
+ <goal>xmi2objectmodel</goal>
+ <goal>generate</goal>
+ <goal>copyVersionFiles</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.codelutin.topia</groupId>
+ <artifactId>topia-persistence</artifactId>
+ <version>${topia.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${maven.gen.dir}/java</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Always process jrst files, but only called on pre-site phase -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-jrst-plugin</artifactId>
+ <version>0.8.4</version>
+ <configuration>
+ <defaultLocale>fr</defaultLocale>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jrst</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia-service/tags/1.0.2</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia-service/tags/1.0.2</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia-service/t…</url>
+ </scm>
+
+ <!--Code Lutin Repository-->
+ <repositories>
+ <repository>
+ <id>codelutin-repository</id>
+ <name>CodeLutinRepository</name>
+ <url>http://lutinbuilder.labs.libre-entreprise.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ </repository>
+ </repositories>
+
+ <profiles>
+ <profile>
+ <id>release-profile</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+
+ <!-- always add license and third-party files to classpath -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-license-switcher-plugin</artifactId>
+ <version>0.6</version>
+ <executions>
+ <execution>
+ <id>attach-licenses</id>
+ <goals>
+ <goal>license</goal>
+ <goal>third-party</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+
+ </build>
+ </profile>
+ </profiles>
+
+</project>
1
0
Author: tchemit
Date: 2009-02-20 14:36:20 +0000 (Fri, 20 Feb 2009)
New Revision: 1395
Modified:
topia-service/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 1.0.2
Modified: topia-service/trunk/pom.xml
===================================================================
--- topia-service/trunk/pom.xml 2009-02-20 14:32:17 UTC (rev 1394)
+++ topia-service/trunk/pom.xml 2009-02-20 14:36:20 UTC (rev 1395)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +13,7 @@
</parent>
<artifactId>topia-service</artifactId>
- <version>1.0.2-SNAPSHOT</version>
+ <version>1.0.2</version>
<dependencies>
@@ -174,9 +173,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia-service/tags/1.0.2</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia-service/tags/1.0.2</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia-service/t…</url>
</scm>
<!--Code Lutin Repository-->
1
0
Author: tchemit
Date: 2009-02-20 14:32:17 +0000 (Fri, 20 Feb 2009)
New Revision: 1394
Modified:
topia-service/trunk/changelog.txt
topia-service/trunk/pom.xml
Log:
preparation release
Modified: topia-service/trunk/changelog.txt
===================================================================
--- topia-service/trunk/changelog.txt 2009-02-20 14:04:03 UTC (rev 1393)
+++ topia-service/trunk/changelog.txt 2009-02-20 14:32:17 UTC (rev 1394)
@@ -1,3 +1,6 @@
+1.2 chemit 20090220
+* 20090220 [chemit] - use lutinproject 3.4
+
1.1 chemit 20081215
* 20081215 [chemit] - new release for isis-fish :) follow release of topia
Modified: topia-service/trunk/pom.xml
===================================================================
--- topia-service/trunk/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
+++ topia-service/trunk/pom.xml 2009-02-20 14:32:17 UTC (rev 1394)
@@ -81,7 +81,7 @@
<labs.project>topia</labs.project>
<!-- libs versions -->
- <topia.version>2.1.3-SNAPSHOT</topia.version>
+ <topia.version>2.1.3</topia.version>
<generator.version>0.64</generator.version>
<lutinutil.version>1.0.3</lutinutil.version>
@@ -155,16 +155,11 @@
<groupId>org.codelutin</groupId>
<artifactId>maven-jrst-plugin</artifactId>
<version>0.8.4</version>
- <configuration>
- <directoryIn>${maven.src.dir}/site</directoryIn>
- <directoryOut>${maven.site.gen.dir}</directoryOut>
+ <configuration>
<defaultLocale>fr</defaultLocale>
- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
- <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
</configuration>
<executions>
<execution>
- <phase>pre-site</phase>
<goals>
<goal>jrst</goal>
</goals>
@@ -217,10 +212,7 @@
<plugin>
<groupId>org.codelutin</groupId>
<artifactId>maven-license-switcher-plugin</artifactId>
- <version>0.6</version>
- <configuration>
- <licenseName>${license-switcher.licenseName}</licenseName>
- </configuration>
+ <version>0.6</version>
<executions>
<execution>
<id>attach-licenses</id>
1
0
r1393 - in topia/trunk: . topia-persistence topia-soa topia-ui
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
20 Feb '09
Author: tchemit
Date: 2009-02-20 14:04:03 +0000 (Fri, 20 Feb 2009)
New Revision: 1393
Modified:
topia/trunk/pom.xml
topia/trunk/topia-persistence/pom.xml
topia/trunk/topia-soa/pom.xml
topia/trunk/topia-ui/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: topia/trunk/pom.xml
===================================================================
--- topia/trunk/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
+++ topia/trunk/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
@@ -13,7 +13,7 @@
</parent>
<artifactId>topia</artifactId>
- <version>2.1.3</version>
+ <version>2.1.4-SNAPSHOT</version>
<modules>
<module>topia-persistence</module>
@@ -248,9 +248,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/trunk</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/trunk</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/trunk/?ro…</url>
</scm>
<!--Code Lutin Repository-->
Modified: topia/trunk/topia-persistence/pom.xml
===================================================================
--- topia/trunk/topia-persistence/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
+++ topia/trunk/topia-persistence/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3</version>
+ <version>2.1.4-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -130,9 +130,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-persistence</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-persistence</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/trunk/top…</url>
</scm>
Modified: topia/trunk/topia-soa/pom.xml
===================================================================
--- topia/trunk/topia-soa/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
+++ topia/trunk/topia-soa/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3</version>
+ <version>2.1.4-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -134,9 +134,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-soa</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-soa</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/trunk/top…</url>
</scm>
</project>
Modified: topia/trunk/topia-ui/pom.xml
===================================================================
--- topia/trunk/topia-ui/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
+++ topia/trunk/topia-ui/pom.xml 2009-02-20 14:04:03 UTC (rev 1393)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3</version>
+ <version>2.1.4-SNAPSHOT</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -107,9 +107,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-ui</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/trunk/topia-ui</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/trunk/top…</url>
</scm>
</project>
1
0
r1392 - in topia/tags: . 2.1.3 2.1.3/topia-persistence 2.1.3/topia-soa 2.1.3/topia-ui
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
20 Feb '09
Author: tchemit
Date: 2009-02-20 14:03:59 +0000 (Fri, 20 Feb 2009)
New Revision: 1392
Added:
topia/tags/2.1.3/
topia/tags/2.1.3/pom.xml
topia/tags/2.1.3/topia-persistence/pom.xml
topia/tags/2.1.3/topia-soa/pom.xml
topia/tags/2.1.3/topia-ui/pom.xml
Removed:
topia/tags/2.1.3/pom.xml
topia/tags/2.1.3/topia-persistence/pom.xml
topia/tags/2.1.3/topia-soa/pom.xml
topia/tags/2.1.3/topia-ui/pom.xml
Log:
[maven-release-plugin] copy for tag 2.1.3
Copied: topia/tags/2.1.3 (from rev 1390, topia/trunk)
Deleted: topia/tags/2.1.3/pom.xml
===================================================================
--- topia/trunk/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/tags/2.1.3/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -1,306 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinproject</artifactId>
- <version>3.4</version>
- </parent>
-
- <artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
-
- <modules>
- <module>topia-persistence</module>
- <module>topia-soa</module>
- <module>topia-ui</module>
- </modules>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutingenerator</artifactId>
- <version>${generator.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinutil</artifactId>
- <version>${lutinutil.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.xmlrpc</groupId>
- <artifactId>xmlrpc-server</artifactId>
- <version>${xmlrpc.version}</version>
- <scope>compile</scope>
-
- </dependency>
- <dependency>
- <groupId>org.apache.xmlrpc</groupId>
- <artifactId>xmlrpc-client</artifactId>
- <version>${xmlrpc.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${hibernate.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tapestry</groupId>
- <artifactId>tapestry-core</artifactId>
- <version>5.0.18</version>
- <scope>compile</scope>
- </dependency>
-
- <!-- Dependencies for class generation -->
- <dependency>
- <groupId>asm</groupId>
- <artifactId>asm</artifactId>
- <version>1.5.3</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.xfire</groupId>
- <artifactId>xfire-java5</artifactId>
- <version>1.2.6</version>
- <scope>compile</scope>
- <exclusions>
- <!-- Fix org.apache.ant conflict) -->
- <exclusion>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>3.1</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- <version>${hibernate.version}</version>
- <scope>runtime</scope>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.4.GA</version>
- <scope>runtime</scope>
- </dependency>
-
- <!-- hibernate-core only include api, need core -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.2</version>
- <scope>runtime</scope>
- </dependency>
-
- <!-- BD H2 for testing -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.1.107</version>
- <scope>test</scope>
- </dependency>
-
- <!-- branch 5.1 : ne fonctionne pas en 6+ -->
- <dependency>
- <groupId>jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>5.1.10</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
- <name>ToPIA - Tools for Portable and Independent Architecture</name>
- <description>Framework de persistance et de distribution d'application.</description>
- <inceptionYear>2004</inceptionYear>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <packaging>pom</packaging>
-
- <properties>
- <!-- id du projet du labs -->
- <labs.id>21</labs.id>
-
- <!-- nom du projet sur le labs -->
- <labs.project>topia</labs.project>
-
- <!-- libs version -->
- <generator.version>0.64</generator.version>
- <processor.version>0.17</processor.version>
- <lutinutil.version>1.0.3</lutinutil.version>
- <jrst.version>0.8.4</jrst.version>
- <license-switcher.version>0.6</license-switcher.version>
- <topia.version>${project.version}</topia.version>
-
- <xmlrpc.version>3.1</xmlrpc.version>
- <hibernate.version>3.3.1.GA</hibernate.version>
- </properties>
-
- <build>
-
- <defaultGoal>install</defaultGoal>
-
- <pluginManagement>
- <plugins>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- <version>${processor.version}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>process</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <addCompileDirectory>true</addCompileDirectory>
- <includes>
- <include>**/*.java</include>
- </includes>
- <filters>
- org.codelutin.processor.filters.GeneratorTemplatesFilter,
- org.codelutin.processor.filters.ActiveLogsCodeFilter
- </filters>
- <verbose>${maven.verbose}</verbose>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-generator-plugin</artifactId>
- <version>${generator.version}</version>
- <inherited>true</inherited>
- <configuration>
- <srcDirZuml>${maven.src.dir}/test/xmi</srcDirZuml>
- <srcXmiDest>${maven.test.gen.dir}/xmi</srcXmiDest>
- <srcGenDest>${maven.test.gen.dir}/models</srcGenDest>
- <destDirGen>${maven.test.gen.dir}/java</destDirGen>
- </configuration>
- </plugin>
-
- </plugins>
- </pluginManagement>
-
- <plugins>
- <!-- Always process jrst files, but only called on pre-site phase -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-jrst-plugin</artifactId>
- <version>${jrst.version}</version>
- <configuration>
- <defaultLocale>fr</defaultLocale>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>jrst</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- </build>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
- <scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
- </scm>
-
- <!--Code Lutin Repository-->
- <repositories>
- <repository>
- <id>codelutin-repository</id>
- <name>CodeLutinRepository</name>
- <url>http://lutinbuilder.labs.libre-entreprise.org/maven2</url>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </releases>
- </repository>
- </repositories>
-
- <profiles>
- <!-- perform only on a release stage when using the maven-release-plugin -->
- <profile>
- <id>release-profile</id>
- <activation>
- <property>
- <name>performRelease</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
- <!-- always add license and third-party files to classpath -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-license-switcher-plugin</artifactId>
- <version>${license-switcher.version}</version>
- <executions>
- <execution>
- <id>attach-licenses</id>
- <goals>
- <goal>license</goal>
- <goal>third-party</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
Copied: topia/tags/2.1.3/pom.xml (from rev 1391, topia/trunk/pom.xml)
===================================================================
--- topia/tags/2.1.3/pom.xml (rev 0)
+++ topia/tags/2.1.3/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinproject</artifactId>
+ <version>3.4</version>
+ </parent>
+
+ <artifactId>topia</artifactId>
+ <version>2.1.3</version>
+
+ <modules>
+ <module>topia-persistence</module>
+ <module>topia-soa</module>
+ <module>topia-ui</module>
+ </modules>
+
+ <dependencyManagement>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutingenerator</artifactId>
+ <version>${generator.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinutil</artifactId>
+ <version>${lutinutil.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.xmlrpc</groupId>
+ <artifactId>xmlrpc-server</artifactId>
+ <version>${xmlrpc.version}</version>
+ <scope>compile</scope>
+
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlrpc</groupId>
+ <artifactId>xmlrpc-client</artifactId>
+ <version>${xmlrpc.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>${hibernate.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-core</artifactId>
+ <version>5.0.18</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- Dependencies for class generation -->
+ <dependency>
+ <groupId>asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>1.5.3</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.xfire</groupId>
+ <artifactId>xfire-java5</artifactId>
+ <version>1.2.6</version>
+ <scope>compile</scope>
+ <exclusions>
+ <!-- Fix org.apache.ant conflict) -->
+ <exclusion>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.1</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ <version>${hibernate.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.4.GA</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- hibernate-core only include api, need core -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.2</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- BD H2 for testing -->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.1.107</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- branch 5.1 : ne fonctionne pas en 6+ -->
+ <dependency>
+ <groupId>jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>5.1.10</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+ </dependencyManagement>
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+ <name>ToPIA - Tools for Portable and Independent Architecture</name>
+ <description>Framework de persistance et de distribution d'application.</description>
+ <inceptionYear>2004</inceptionYear>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>pom</packaging>
+
+ <properties>
+ <!-- id du projet du labs -->
+ <labs.id>21</labs.id>
+
+ <!-- nom du projet sur le labs -->
+ <labs.project>topia</labs.project>
+
+ <!-- libs version -->
+ <generator.version>0.64</generator.version>
+ <processor.version>0.17</processor.version>
+ <lutinutil.version>1.0.3</lutinutil.version>
+ <jrst.version>0.8.4</jrst.version>
+ <license-switcher.version>0.6</license-switcher.version>
+ <topia.version>${project.version}</topia.version>
+
+ <xmlrpc.version>3.1</xmlrpc.version>
+ <hibernate.version>3.3.1.GA</hibernate.version>
+ </properties>
+
+ <build>
+
+ <defaultGoal>install</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ <version>${processor.version}</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <addCompileDirectory>true</addCompileDirectory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ <filters>
+ org.codelutin.processor.filters.GeneratorTemplatesFilter,
+ org.codelutin.processor.filters.ActiveLogsCodeFilter
+ </filters>
+ <verbose>${maven.verbose}</verbose>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <version>${generator.version}</version>
+ <inherited>true</inherited>
+ <configuration>
+ <srcDirZuml>${maven.src.dir}/test/xmi</srcDirZuml>
+ <srcXmiDest>${maven.test.gen.dir}/xmi</srcXmiDest>
+ <srcGenDest>${maven.test.gen.dir}/models</srcGenDest>
+ <destDirGen>${maven.test.gen.dir}/java</destDirGen>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+ <!-- Always process jrst files, but only called on pre-site phase -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-jrst-plugin</artifactId>
+ <version>${jrst.version}</version>
+ <configuration>
+ <defaultLocale>fr</defaultLocale>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jrst</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ </scm>
+
+ <!--Code Lutin Repository-->
+ <repositories>
+ <repository>
+ <id>codelutin-repository</id>
+ <name>CodeLutinRepository</name>
+ <url>http://lutinbuilder.labs.libre-entreprise.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ </repository>
+ </repositories>
+
+ <profiles>
+ <!-- perform only on a release stage when using the maven-release-plugin -->
+ <profile>
+ <id>release-profile</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <!-- always add license and third-party files to classpath -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-license-switcher-plugin</artifactId>
+ <version>${license-switcher.version}</version>
+ <executions>
+ <execution>
+ <id>attach-licenses</id>
+ <goals>
+ <goal>license</goal>
+ <goal>third-party</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
Deleted: topia/tags/2.1.3/topia-persistence/pom.xml
===================================================================
--- topia/trunk/topia-persistence/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/tags/2.1.3/topia-persistence/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
-
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </parent>
-
- <groupId>org.codelutin.topia</groupId>
- <artifactId>topia-persistence</artifactId>
-
- <dependencies>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinutil</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutingenerator</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
-
- <!-- BD H2 for testing -->
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- </dependency>
- </dependencies>
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
-
- <name>ToPIA - Persistence</name>
- <description>Hibernate based persistence module</description>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <packaging>jar</packaging>
-
- <build>
-
- <testResources>
-
- <testResource>
- <directory>${maven.test.gen.dir}/java</directory>
- <includes>
- <include>**/*.hbm.xml</include>
- </includes>
- </testResource>
-
- <testResource>
- <directory>${maven.test.gen.dir}/java</directory>
- <includes>
- <include>**/*.hbm.xml</include>
- </includes>
- </testResource>
-
- </testResources>
-
- <plugins>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-generator-plugin</artifactId>
- <executions>
- <execution>
- <id>Test Generator</id>
- <phase>generate-test-sources</phase>
- <configuration>
- <testPhase>true</testPhase>
- <includes>**/*.objectmodel</includes>
- <templates>org.codelutin.topia.generator.TopiaMetaGenerator</templates>
- <fullPackagePath>org.codelutin.topia</fullPackagePath>
- <extractedPackages>org.codelutin.topia</extractedPackages>
- <defaultPackage>org.codelutin.topia</defaultPackage>
- <extraClassPathDirectory>target/classes</extraClassPathDirectory>
- </configuration>
- <goals>
- <goal>zargo2xmi</goal>
- <goal>xmi2objectmodel</goal>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
- <scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
- </scm>
-
-
-</project>
Copied: topia/tags/2.1.3/topia-persistence/pom.xml (from rev 1391, topia/trunk/topia-persistence/pom.xml)
===================================================================
--- topia/tags/2.1.3/topia-persistence/pom.xml (rev 0)
+++ topia/tags/2.1.3/topia-persistence/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>topia</artifactId>
+ <version>2.1.3</version>
+ </parent>
+
+ <groupId>org.codelutin.topia</groupId>
+ <artifactId>topia-persistence</artifactId>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinutil</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutingenerator</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+
+ <!-- BD H2 for testing -->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ </dependency>
+ </dependencies>
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>ToPIA - Persistence</name>
+ <description>Hibernate based persistence module</description>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>jar</packaging>
+
+ <build>
+
+ <testResources>
+
+ <testResource>
+ <directory>${maven.test.gen.dir}/java</directory>
+ <includes>
+ <include>**/*.hbm.xml</include>
+ </includes>
+ </testResource>
+
+ <testResource>
+ <directory>${maven.test.gen.dir}/java</directory>
+ <includes>
+ <include>**/*.hbm.xml</include>
+ </includes>
+ </testResource>
+
+ </testResources>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>Test Generator</id>
+ <phase>generate-test-sources</phase>
+ <configuration>
+ <testPhase>true</testPhase>
+ <includes>**/*.objectmodel</includes>
+ <templates>org.codelutin.topia.generator.TopiaMetaGenerator</templates>
+ <fullPackagePath>org.codelutin.topia</fullPackagePath>
+ <extractedPackages>org.codelutin.topia</extractedPackages>
+ <defaultPackage>org.codelutin.topia</defaultPackage>
+ <extraClassPathDirectory>target/classes</extraClassPathDirectory>
+ </configuration>
+ <goals>
+ <goal>zargo2xmi</goal>
+ <goal>xmi2objectmodel</goal>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ </scm>
+
+
+</project>
Deleted: topia/tags/2.1.3/topia-soa/pom.xml
===================================================================
--- topia/trunk/topia-soa/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/tags/2.1.3/topia-soa/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
-
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </parent>
-
- <groupId>org.codelutin.topia</groupId>
- <artifactId>topia-soa</artifactId>
-
- <dependencies>
-
- <!-- Sibling Dependencies -->
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>topia-persistence</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- lutin Dependencies -->
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinutil</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutingenerator</artifactId>
- </dependency>
-
- <!-- Dependencies for services -->
- <dependency>
- <groupId>org.apache.xmlrpc</groupId>
- <artifactId>xmlrpc-server</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.xmlrpc</groupId>
- <artifactId>xmlrpc-client</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.xfire</groupId>
- <artifactId>xfire-java5</artifactId>
- </dependency>
-
- <!-- Dependencies for tests -->
- <dependency>
- <groupId>jetty</groupId>
- <artifactId>jetty</artifactId>
- </dependency>
-
- <!-- Dependencies for class generation -->
- <dependency>
- <groupId>asm</groupId>
- <artifactId>asm</artifactId>
- </dependency>
-
- </dependencies>
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
-
- <name>ToPIA - SOA</name>
- <description>Service Oriented Architecture module</description>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <packaging>jar</packaging>
-
- <build>
-
- <plugins>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-generator-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-objectmodel</id>
- <phase>generate-test-sources</phase>
- <configuration>
- <testPhase>true</testPhase>
- <fullPackagePath>org.codelutin.soatest</fullPackagePath>
- <extractedPackages>org.codelutin.soatest</extractedPackages>
- <defaultPackage>org.codelutin.soatest</defaultPackage>
- <includes>**/*.objectmodel</includes>
- <templates>org.codelutin.topia.generator.TopiaApplicationServiceMetaGenerator</templates>
- <extraClassPathDirectory>target/classes</extraClassPathDirectory>
- </configuration>
- <goals>
- <goal>zargo2xmi</goal>
- <goal>xmi2objectmodel</goal>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>topia-persistence</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
- <scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
- </scm>
-
-</project>
Copied: topia/tags/2.1.3/topia-soa/pom.xml (from rev 1391, topia/trunk/topia-soa/pom.xml)
===================================================================
--- topia/tags/2.1.3/topia-soa/pom.xml (rev 0)
+++ topia/tags/2.1.3/topia-soa/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>topia</artifactId>
+ <version>2.1.3</version>
+ </parent>
+
+ <groupId>org.codelutin.topia</groupId>
+ <artifactId>topia-soa</artifactId>
+
+ <dependencies>
+
+ <!-- Sibling Dependencies -->
+
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>topia-persistence</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- lutin Dependencies -->
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinutil</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutingenerator</artifactId>
+ </dependency>
+
+ <!-- Dependencies for services -->
+ <dependency>
+ <groupId>org.apache.xmlrpc</groupId>
+ <artifactId>xmlrpc-server</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.xmlrpc</groupId>
+ <artifactId>xmlrpc-client</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.xfire</groupId>
+ <artifactId>xfire-java5</artifactId>
+ </dependency>
+
+ <!-- Dependencies for tests -->
+ <dependency>
+ <groupId>jetty</groupId>
+ <artifactId>jetty</artifactId>
+ </dependency>
+
+ <!-- Dependencies for class generation -->
+ <dependency>
+ <groupId>asm</groupId>
+ <artifactId>asm</artifactId>
+ </dependency>
+
+ </dependencies>
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>ToPIA - SOA</name>
+ <description>Service Oriented Architecture module</description>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>jar</packaging>
+
+ <build>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-objectmodel</id>
+ <phase>generate-test-sources</phase>
+ <configuration>
+ <testPhase>true</testPhase>
+ <fullPackagePath>org.codelutin.soatest</fullPackagePath>
+ <extractedPackages>org.codelutin.soatest</extractedPackages>
+ <defaultPackage>org.codelutin.soatest</defaultPackage>
+ <includes>**/*.objectmodel</includes>
+ <templates>org.codelutin.topia.generator.TopiaApplicationServiceMetaGenerator</templates>
+ <extraClassPathDirectory>target/classes</extraClassPathDirectory>
+ </configuration>
+ <goals>
+ <goal>zargo2xmi</goal>
+ <goal>xmi2objectmodel</goal>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>topia-persistence</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ </scm>
+
+</project>
Deleted: topia/tags/2.1.3/topia-ui/pom.xml
===================================================================
--- topia/trunk/topia-ui/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/tags/2.1.3/topia-ui/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
-
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </parent>
-
- <groupId>org.codelutin.topia</groupId>
- <artifactId>topia-ui</artifactId>
-
- <dependencies>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinutil</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutingenerator</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tapestry</groupId>
- <artifactId>tapestry-core</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
-
- <name>ToPIA - UI</name>
- <description>User interface module</description>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <packaging>jar</packaging>
-
- <build>
-
- <plugins>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-generator-plugin</artifactId>
- <executions>
-
- <execution>
- <id>generate-statemodel</id>
- <phase>generate-test-sources</phase>
- <configuration>
- <testPhase>true</testPhase>
- <fullPackagePath>org.codelutin.topiauitest</fullPackagePath>
- <extractedPackages>org.codelutin.topiauitest</extractedPackages>
- <includes>**/*.statemodel</includes>
- <templates>org.codelutin.topia.generator.TapestryWebGenerator</templates>
- <extraClassPathDirectory>target/classes</extraClassPathDirectory>
- </configuration>
- <goals>
- <goal>zargo2xmi</goal>
- <goal>xmi2statemodel</goal>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
-
- </plugin>
-
- </plugins>
- </build>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
- <scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
- </scm>
-
-</project>
Copied: topia/tags/2.1.3/topia-ui/pom.xml (from rev 1391, topia/trunk/topia-ui/pom.xml)
===================================================================
--- topia/tags/2.1.3/topia-ui/pom.xml (rev 0)
+++ topia/tags/2.1.3/topia-ui/pom.xml 2009-02-20 14:03:59 UTC (rev 1392)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>topia</artifactId>
+ <version>2.1.3</version>
+ </parent>
+
+ <groupId>org.codelutin.topia</groupId>
+ <artifactId>topia-ui</artifactId>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinutil</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutingenerator</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>ToPIA - UI</name>
+ <description>User interface module</description>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>jar</packaging>
+
+ <build>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <executions>
+
+ <execution>
+ <id>generate-statemodel</id>
+ <phase>generate-test-sources</phase>
+ <configuration>
+ <testPhase>true</testPhase>
+ <fullPackagePath>org.codelutin.topiauitest</fullPackagePath>
+ <extractedPackages>org.codelutin.topiauitest</extractedPackages>
+ <includes>**/*.statemodel</includes>
+ <templates>org.codelutin.topia.generator.TapestryWebGenerator</templates>
+ <extraClassPathDirectory>target/classes</extraClassPathDirectory>
+ </configuration>
+ <goals>
+ <goal>zargo2xmi</goal>
+ <goal>xmi2statemodel</goal>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
+ </scm>
+
+</project>
1
0
r1391 - in topia/trunk: . topia-persistence topia-soa topia-ui
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
20 Feb '09
Author: tchemit
Date: 2009-02-20 14:03:55 +0000 (Fri, 20 Feb 2009)
New Revision: 1391
Modified:
topia/trunk/pom.xml
topia/trunk/topia-persistence/pom.xml
topia/trunk/topia-soa/pom.xml
topia/trunk/topia-ui/pom.xml
Log:
[maven-release-plugin] prepare release 2.1.3
Modified: topia/trunk/pom.xml
===================================================================
--- topia/trunk/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/trunk/pom.xml 2009-02-20 14:03:55 UTC (rev 1391)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +13,7 @@
</parent>
<artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
+ <version>2.1.3</version>
<modules>
<module>topia-persistence</module>
@@ -249,9 +248,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
</scm>
<!--Code Lutin Repository-->
Modified: topia/trunk/topia-persistence/pom.xml
===================================================================
--- topia/trunk/topia-persistence/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/trunk/topia-persistence/pom.xml 2009-02-20 14:03:55 UTC (rev 1391)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -11,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
+ <version>2.1.3</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -131,9 +130,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-persistence</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
</scm>
Modified: topia/trunk/topia-soa/pom.xml
===================================================================
--- topia/trunk/topia-soa/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/trunk/topia-soa/pom.xml 2009-02-20 14:03:55 UTC (rev 1391)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
+ <version>2.1.3</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -134,9 +134,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-soa</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
</scm>
</project>
Modified: topia/trunk/topia-ui/pom.xml
===================================================================
--- topia/trunk/topia-ui/pom.xml 2009-02-20 13:56:21 UTC (rev 1390)
+++ topia/trunk/topia-ui/pom.xml 2009-02-20 14:03:55 UTC (rev 1391)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -11,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>topia</artifactId>
- <version>2.1.3-SNAPSHOT</version>
+ <version>2.1.3</version>
</parent>
<groupId>org.codelutin.topia</groupId>
@@ -108,9 +107,9 @@
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
<scm>
- <connection>${maven.scm.connection.child}</connection>
- <developerConnection>${maven.scm.developerConnection.child}</developerConnection>
- <url>${maven.scm.url.child}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/topia/topia/tags/2.1.3/topia-ui</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/topia/tags/2.1.…</url>
</scm>
</project>
1
0
20 Feb '09
Author: tchemit
Date: 2009-02-20 13:56:21 +0000 (Fri, 20 Feb 2009)
New Revision: 1390
Modified:
topia/trunk/changelog.txt
topia/trunk/topia-soa/changelog.txt
topia/trunk/topia-ui/changelog.txt
Log:
preparation release
Modified: topia/trunk/changelog.txt
===================================================================
--- topia/trunk/changelog.txt 2009-02-20 13:56:00 UTC (rev 1389)
+++ topia/trunk/changelog.txt 2009-02-20 13:56:21 UTC (rev 1390)
@@ -1,4 +1,4 @@
-2.1.3 ??? 200902??
+2.1.3 chemit 20090220
* 20090126 [chemit] - refactor poms (all dependencies in parent-pom dependencyManagment)
* 20090129 [chemit] - use lutinproject 3.4
Modified: topia/trunk/topia-soa/changelog.txt
===================================================================
--- topia/trunk/topia-soa/changelog.txt 2009-02-20 13:56:00 UTC (rev 1389)
+++ topia/trunk/topia-soa/changelog.txt 2009-02-20 13:56:21 UTC (rev 1390)
@@ -1,4 +1,4 @@
-2.1.3 ??? 200902??
+2.1.3 chemit 20090220
* 20090126 [chemit] - refactor poms (all dependencies in parent-pom dependencyManagment)
2.1.2 chemit 20090115 (follow other topia-release)
Modified: topia/trunk/topia-ui/changelog.txt
===================================================================
--- topia/trunk/topia-ui/changelog.txt 2009-02-20 13:56:00 UTC (rev 1389)
+++ topia/trunk/topia-ui/changelog.txt 2009-02-20 13:56:21 UTC (rev 1390)
@@ -1,4 +1,4 @@
-2.1.3 ??? 200902??
+2.1.3 chemit 20090220
* 20090126 [chemit] - refactor poms (all dependencies in parent-pom dependencyManagment)
2.1.2 chemit 20090115 (follow other topia-release)
1
0
r1389 - in topia/trunk/topia-persistence: . src/main/java/org/codelutin/topia/generator src/main/java/org/codelutin/topia/persistence src/test/java/org/codelutin/topia/persistence
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
20 Feb '09
Author: tchemit
Date: 2009-02-20 13:56:00 +0000 (Fri, 20 Feb 2009)
New Revision: 1389
Modified:
topia/trunk/topia-persistence/changelog.txt
topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/generator/EntityAbstractGenerator.java
topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/DepthEntityVisitor.java
topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/EntityVisitor.java
topia/trunk/topia-persistence/src/test/java/org/codelutin/topia/persistence/ExportXMLVisitor.java
Log:
ajout propriete visite dans le EntityVisitor
ajout visite sur propriete indexee
reusinage EntityAbstractGenerator (pas de calcul dans les <%=...%>)
Modified: topia/trunk/topia-persistence/changelog.txt
===================================================================
--- topia/trunk/topia-persistence/changelog.txt 2009-02-20 12:06:29 UTC (rev 1388)
+++ topia/trunk/topia-persistence/changelog.txt 2009-02-20 13:56:00 UTC (rev 1389)
@@ -1,4 +1,4 @@
-2.1.3 ??? 200902??
+2.1.3 chemit 20090220
* 20090410 [chatellier] - add first letter capitalize on model name use
* 20090129 [chemit] - add methods in TopiaGeneratorUtil class to optimize imports
* 20090129 [thimel] - Refactor generators (part1 : remove any methods calls in <%=...%>)
Modified: topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/generator/EntityAbstractGenerator.java
===================================================================
--- topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/generator/EntityAbstractGenerator.java 2009-02-20 12:06:29 UTC (rev 1388)
+++ topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/generator/EntityAbstractGenerator.java 2009-02-20 13:56:00 UTC (rev 1389)
@@ -262,9 +262,9 @@
/**
* Envoi via les methodes du visitor l'ensemble des champs de l'entity
- * avec leur type et leur valeur.
+ * avec leur nom, type et valeur.
*
- * @param visitor : le visiteur de l'entite.
+ * @param visitor le visiteur de l'entite.
*
* @throws TopiaException if any pb while visit
*)
@@ -289,28 +289,23 @@
String attrType = TopiaGeneratorUtil.getSimpleName(attr.getType());
String attrName = attr.getName();
if (!GeneratorUtil.isNMultiplicity(attr)) {
-/*{ visitor.visit(this, <%=attrType%>.class, <%=attrName%>);
-
+/*{ visitor.visit(this, "<%=attrName%>", <%=attrType%>.class, <%=attrName%>);
}*/
} else {
String collectionType = TopiaGeneratorUtil.getSimpleName(TopiaGeneratorUtil.getNMultiplicityInterfaceType(attr));
-/*{ visitor.visit(this, <%=collectionType%>.class, <%=attrType%>.class, <%=attrName%>);
-
+/*{ visitor.visit(this, "<%=attrName%>", <%=collectionType%>.class, <%=attrType%>.class, <%=attrName%>);
}*/
}
} else {
+ String assocAttrName = TopiaGeneratorUtil.getAssocAttrName(attr);
+ assocAttrName = GeneratorUtil.toLowerCaseFirstLetter(assocAttrName);
+ String assocClassFQN = TopiaGeneratorUtil.getSimpleName(attr.getAssociationClass().getQualifiedName());
if (!GeneratorUtil.isNMultiplicity(attr)) {
- String assocAttrName = TopiaGeneratorUtil.getAssocAttrName(attr);
- String assocClassFQN = TopiaGeneratorUtil.getSimpleName(attr.getAssociationClass().getQualifiedName());
-/*{ visitor.visit(this, <%=assocClassFQN%>.class, <%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%>);
-
+/*{ visitor.visit(this, "<%=assocAttrName%>", <%=assocClassFQN%>.class, <%=assocAttrName%>);
}*/
} else {
String collectionType = TopiaGeneratorUtil.getNMultiplicityInterfaceType(attr);
- String assocAttrName = TopiaGeneratorUtil.getAssocAttrName(attr);
- String assocClassFQN = TopiaGeneratorUtil.getSimpleName(attr.getAssociationClass().getQualifiedName());
-/*{ visitor.visit(this, <%=collectionType%>.class, <%=assocClassFQN%>.class, <%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%>);
-
+/*{ visitor.visit(this, "<%=assocAttrName%>", <%=collectionType%>.class, <%=assocClassFQN%>.class, <%=assocAttrName%>);
}*/
}
}
@@ -323,14 +318,13 @@
if (attr != null) {
String attrType = TopiaGeneratorUtil.getSimpleName(attr.getType());
String attrName = attr.getName();
-/*{ visitor.visit(this, <%=attrType%>.class, <%=GeneratorUtil.toLowerCaseFirstLetter(attrName)%>);
-
+ attrName = GeneratorUtil.toLowerCaseFirstLetter(attrName);
+/*{ visitor.visit(this, "<%=attrName%>", <%=attrType%>.class, <%=attrName%>);
}*/
}
}
}
-/*{
- visitor.end(this);
+/*{ visitor.end(this);
}
@Override
@@ -344,11 +338,12 @@
if (attr.referenceClassifier() && attr.getClassifier().hasStereotype(TopiaGeneratorUtil.STEREOTYPE_ENTITY)) {
if (attr.isAggregate()) {
String attrName = attr.getName();
+ String getterName = "get" + GeneratorUtil.capitalize(attrName);
if (GeneratorUtil.isNMultiplicity(attr)) {
-/*{ tmp.addAll(get<%=GeneratorUtil.capitalize(attrName)%>());
+/*{ tmp.addAll(<%=getterName%>());
}*/
} else {
-/*{ tmp.add(get<%=GeneratorUtil.capitalize(attrName)%>());
+/*{ tmp.add(<%=getterName%>());
}*/
}
}
@@ -376,21 +371,23 @@
for (ObjectModelAttribute attr : clazz.getAttributes()) {
if (attr.referenceClassifier() && attr.getClassifier().hasStereotype(TopiaGeneratorUtil.STEREOTYPE_ENTITY)) {
if (attr.isComposite()) {
- String attrName = attr.getName();
+ String attrName = attr.getName();
+ String getterName = "get" + GeneratorUtil.capitalize(attrName);
if (GeneratorUtil.isNMultiplicity(attr)) {
-/*{ tmp.addAll(get<%=GeneratorUtil.capitalize(attrName)%>());
+/*{ tmp.addAll(<%=getterName%>());
}*/
} else {
-/*{ tmp.add(get<%=GeneratorUtil.capitalize(attrName)%>());
+/*{ tmp.add(<%=getterName%>());
}*/
}
} else if (attr.hasAssociationClass()) {
String assocAttrName = TopiaGeneratorUtil.getAssocAttrName(attr);
String assocClassFQN = TopiaGeneratorUtil.getSimpleName(attr.getAssociationClass().getQualifiedName());
+ String ref = "this." + GeneratorUtil.toLowerCaseFirstLetter(assocAttrName);
if (!GeneratorUtil.isNMultiplicity(attr)) {
/*{
- if (this.<%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%> != null) {
- tmp.add(this.<%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%>);
+ if (<%=ref%> != null) {
+ tmp.add(<%=ref%>);
}
}*/
} else {
@@ -403,8 +400,8 @@
// sur les asso, le champs est dans le mapping
// hibernate et donc il le faut aussi dans la classe
// sinon hibernate rale lorsqu'il charge l'objet
-// if (this.<%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%> != null) {
-// tmp.addAll(this.<%=GeneratorUtil.toLowerCaseFirstLetter(assocAttrName)%>);
+// if (<%=ref%> != null) {
+// tmp.addAll(<%=ref%>);
// }
/*{
tmp.addAll(((TopiaContextImplementor)getTopiaContext())
Modified: topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/DepthEntityVisitor.java
===================================================================
--- topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/DepthEntityVisitor.java 2009-02-20 12:06:29 UTC (rev 1388)
+++ topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/DepthEntityVisitor.java 2009-02-20 13:56:00 UTC (rev 1389)
@@ -65,7 +65,7 @@
* @see org.codelutin.topia.persistence.EntityVisitor#visit(org.codelutin.topia.persistence.TopiaEntity, java.lang.Class, java.lang.Object)
*/
@Override
- public void visit(TopiaEntity e, Class type, Object value) {
+ public void visit(TopiaEntity e, String name, Class type, Object value) {
// si c'est une entité
if(value instanceof TopiaEntity) {
TopiaEntity entity = (TopiaEntity)value;
@@ -80,7 +80,7 @@
}
}
else {
- delegateVisitor.visit(e, type, value);
+ delegateVisitor.visit(e, name, type, value);
}
}
@@ -88,17 +88,37 @@
* @see org.codelutin.topia.persistence.EntityVisitor#visit(org.codelutin.topia.persistence.TopiaEntity, java.lang.Class, java.lang.Class, java.lang.Object)
*/
@Override
- public void visit(TopiaEntity e, Class collectionType, Class type,
+ public void visit(TopiaEntity e, String name, Class collectionType, Class type,
Object value) {
Collection cValue = (Collection)value;
if(cValue != null && !cValue.isEmpty()) {
+ int i=0;
for (Object currentValue : cValue) {
- visit(e, type, currentValue);
+ visit(e, name, type, collectionType ,i++, currentValue);
}
}
}
+ @Override
+ public void visit(TopiaEntity e, String name, Class collectionType, Class type, int index, Object value) {
+ // si c'est une entité
+ if(value instanceof TopiaEntity) {
+ TopiaEntity entity = (TopiaEntity)value;
+ try {
+ if(!alreadyExplored.contains(entity)) {
+ entity.accept(this);
+ }
+ } catch (TopiaException e1) {
+ if(log.isErrorEnabled()) {
+ log.error("Error on depth exploration", e1);
+ }
+ }
+ }
+ else {
+ delegateVisitor.visit(e, name, collectionType, type, index, value);
+ }
+ }
/*
* @see org.codelutin.topia.persistence.EntityVisitor#end(org.codelutin.topia.persistence.TopiaEntity)
*/
@@ -107,13 +127,12 @@
delegateVisitor.end(e);
}
- /**
- * Pour pouvoir nettoyer le visiteur, afin de pouvoir
- * réutiliser plusieurs fois de suite la même instance
- * de ce visiteur.
- */
- public void clean() {
+ @Override
+ public void clear() {
alreadyExplored.clear();
+ delegateVisitor.clear();
}
+
+
}
Modified: topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/EntityVisitor.java
===================================================================
--- topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/EntityVisitor.java 2009-02-20 12:06:29 UTC (rev 1388)
+++ topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/EntityVisitor.java 2009-02-20 13:56:00 UTC (rev 1389)
@@ -19,6 +19,8 @@
/**
*
+ * The contract of a visitor of any {@link TopiaEntity}.
+ *
* Created: 28 janv. 2009 18:10:34
*
* @author poussin
@@ -29,8 +31,61 @@
*/
public interface EntityVisitor {
- public void start(TopiaEntity e);
- public void end(TopiaEntity e);
- public void visit(TopiaEntity e, Class type, Object value);
- public void visit(TopiaEntity e, Class collectionType, Class type, Object value);
+ /**
+ * Start the visit of the given entity.
+ *
+ * @param e the visited entity
+ */
+ void start(TopiaEntity e);
+
+ /**
+ * Ends the visit of the given entity.
+ *
+ * @param e the visited entity
+ */
+ void end(TopiaEntity e);
+
+ /**
+ * Visit a none indexed property for the given entity.
+ *
+ * The property visited is defined by the other parameters.
+ *
+ * @param e the visited entity
+ * @param name the name of the visited property
+ * @param type the type of the visited property
+ * @param value the value of the visitied property
+ */
+ void visit(TopiaEntity e, String name, Class type, Object value);
+
+ /**
+ * Visit a collection property for the given entity.
+ *
+ * The property visited is defined by the other parameters.
+ *
+ * @param e the visited entity
+ * @param name the name of the visited property
+ * @param collectionType the type of the visited collection
+ * @param type the type of the visited property
+ * @param value the value of the visitied property
+ */
+ void visit(TopiaEntity e, String name, Class collectionType, Class type, Object value);
+
+ /**
+ * Visit a indexed value from a collection property for the given entity.
+ *
+ * The property visited is defined by the other parameters.
+ *
+ * @param e the visited entity
+ * @param name the name of the visited property
+ * @param collectionType the type of the container of the visited property
+ * @param type the type of the visited property
+ * @param index the index of the visited property in his container
+ * @param value the value of the visitied property
+ */
+ void visit(TopiaEntity e, String name, Class collectionType, Class type, int index, Object value);
+
+ /**
+ * reset all states of the visitor.
+ */
+ void clear();
}
Modified: topia/trunk/topia-persistence/src/test/java/org/codelutin/topia/persistence/ExportXMLVisitor.java
===================================================================
--- topia/trunk/topia-persistence/src/test/java/org/codelutin/topia/persistence/ExportXMLVisitor.java 2009-02-20 12:06:29 UTC (rev 1388)
+++ topia/trunk/topia-persistence/src/test/java/org/codelutin/topia/persistence/ExportXMLVisitor.java 2009-02-20 13:56:00 UTC (rev 1389)
@@ -46,9 +46,6 @@
buffer = new StringBuffer();
}
- /*
- * @see org.codelutin.topia.persistence.EntityVisitor#start(org.codelutin.topia.persistence.TopiaEntity)
- */
@Override
public void start(TopiaEntity e) {
if(log.isDebugEnabled()) {
@@ -62,11 +59,8 @@
buffer.append(">\n");
}
- /*
- * @see org.codelutin.topia.persistence.EntityVisitor#visit(org.codelutin.topia.persistence.TopiaEntity, java.lang.Class, java.lang.Object)
- */
@Override
- public void visit(TopiaEntity e, Class type, Object value) {
+ public void visit(TopiaEntity e, String name, Class type, Object value) {
if(log.isDebugEnabled()) {
log.debug("visit : " + e);
}
@@ -74,18 +68,16 @@
buffer.append("<" + type.getName() + ">" + value + "</" + type.getName() + ">\n");
}
- /*
- * @see org.codelutin.topia.persistence.EntityVisitor#visit(org.codelutin.topia.persistence.TopiaEntity, java.lang.Class, java.lang.Class, java.lang.Object)
- */
@Override
- public void visit(TopiaEntity e, Class collectionType, Class type,
+ public void visit(TopiaEntity e, String name, Class collectionType, Class type,
Object value) {
+ }
+ @Override
+ public void visit(TopiaEntity e, String name, Class collectionType, Class type, int index, Object value) {
+ visit(e, name, type, value);
}
- /*
- * @see org.codelutin.topia.persistence.EntityVisitor#end(org.codelutin.topia.persistence.TopiaEntity)
- */
@Override
public void end(TopiaEntity e) {
if(log.isDebugEnabled()) {
@@ -100,4 +92,12 @@
String content = buffer.toString();
return content;
}
+
+ @Override
+ public void clear() {
+ // do nothing
+ }
+
+
+
}
1
0
r1388 - topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/util
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
by tchemit@users.labs.libre-entreprise.org 20 Feb '09
20 Feb '09
Author: tchemit
Date: 2009-02-20 12:06:29 +0000 (Fri, 20 Feb 2009)
New Revision: 1388
Modified:
topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/util/TopiaEntityHelper.java
Log:
ajout d'un comparator d'entite sur leur topiaId
Modified: topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/util/TopiaEntityHelper.java
===================================================================
--- topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/util/TopiaEntityHelper.java 2009-02-20 11:40:50 UTC (rev 1387)
+++ topia/trunk/topia-persistence/src/main/java/org/codelutin/topia/persistence/util/TopiaEntityHelper.java 2009-02-20 12:06:29 UTC (rev 1388)
@@ -14,6 +14,7 @@
import java.io.IOException;
import java.net.URI;
import java.util.Collection;
+import java.util.Comparator;
/**
* Une classe avec des méthodes utiles sur les entités.
@@ -64,7 +65,8 @@
}
/**
- * Récupère une entité dans une liste d'entités.
+ * Récupère une entité dans une liste d'entités à partir de
+ * son {@link TopiaEntity#getTopiaId()}.
*
* @param entities la liste des entités à scanner
* @param topiaId l'id de l'entité recherchée
@@ -212,4 +214,25 @@
}
}
}
+
+ /**
+ * Obtain a new {@link Comparator} pour {@link TopiaEntity} based
+ * on the {@link TopiaEntity#getTopiaId()} method.
+ */
+ public static Comparator<TopiaEntity> getTopiaIdComparator() {
+ return new Comparator<TopiaEntity>() {
+
+ @Override
+ public int compare(TopiaEntity o1, TopiaEntity o2) {
+ if (o1.getTopiaId() == null) {
+ return -1;
+ }
+ if (o2.getTopiaId() == null) {
+ return 1;
+ }
+ return o1.getTopiaId().compareTo(o2.getTopiaId());
+ }
+ };
+ }
+
}
1
0
20 Feb '09
Author: chatellier
Date: 2009-02-20 11:40:50 +0000 (Fri, 20 Feb 2009)
New Revision: 1387
Modified:
topia-service/trunk/src/site/site_fr.xml
Log:
Update lutin skin version
Modified: topia-service/trunk/src/site/site_fr.xml
===================================================================
--- topia-service/trunk/src/site/site_fr.xml 2009-02-20 11:39:36 UTC (rev 1386)
+++ topia-service/trunk/src/site/site_fr.xml 2009-02-20 11:40:50 UTC (rev 1387)
@@ -6,7 +6,7 @@
<skin>
<groupId>org.codelutin</groupId>
<artifactId>maven-lutin-skin</artifactId>
- <version>0.2.1</version>
+ <version>0.2.3</version>
</skin>
<bannerLeft>
1
0