Eugene-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
April 2010
- 3 participants
- 29 discussions
29 Apr '10
Author: tchemit
Date: 2010-04-29 14:01:12 +0200 (Thu, 29 Apr 2010)
New Revision: 881
Url: http://nuiton.org/repositories/revision/eugene/881
Log:
remove comment unused code
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java 2010-04-29 09:31:38 UTC (rev 880)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java 2010-04-29 12:01:12 UTC (rev 881)
@@ -432,26 +432,6 @@
return resultClassImpl;
}
-// protected void createAbstractOperation(ObjectModelClass resultClass,
-// ObjectModelOperation op) {
-// String visibility = op.getVisibility();
-// ObjectModelOperation operation = addOperation(
-// resultClass,
-// op.getName(),
-// op.getReturnType(),
-// ObjectModelModifier.toValue(visibility),
-// ObjectModelModifier.ABSTRACT
-// );
-//
-// for (ObjectModelParameter param : op.getParameters()) {
-// addParameter(operation, param.getType(), param.getName());
-// }
-//
-// for (String exception : op.getExceptions()) {
-// addException(operation, exception);
-// }
-// }
-
protected boolean canGenerate(ObjectModelClass clazz) {
return clazz.hasStereotype(JavaGeneratorUtil.STEREOTYPE_BEAN);
}
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 09:31:38 UTC (rev 880)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 12:01:12 UTC (rev 881)
@@ -92,16 +92,5 @@
resultInterface,
false
);
-
-// for (ObjectModelOperation op : interfacez.getOperations()) {
-// ObjectModelOperation resultOp = addOperation(resultInterface,
-// op.getName(), op.getReturnType());
-// for (ObjectModelParameter param : op.getParameters()) {
-// addParameter(resultOp, param.getType(), param.getName());
-// }
-// for (String exception : op.getExceptions()) {
-// addException(resultOp, exception);
-// }
-// }
}
}
1
0
r880 - in trunk: eugene/src/main/java/org/nuiton/eugene/java src/license
by tchemit@users.nuiton.org 29 Apr '10
by tchemit@users.nuiton.org 29 Apr '10
29 Apr '10
Author: tchemit
Date: 2010-04-29 11:31:38 +0200 (Thu, 29 Apr 2010)
New Revision: 880
Log:
uniformise svn:keywords
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
trunk/src/license/project.xml
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/license/project.xml
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
1
0
29 Apr '10
Author: tchemit
Date: 2010-04-29 09:58:31 +0200 (Thu, 29 Apr 2010)
New Revision: 879
Log:
introduce cloneOperations method in JavaGeneratorUtil to clone operations
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java 2010-04-29 06:43:20 UTC (rev 878)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java 2010-04-29 07:58:31 UTC (rev 879)
@@ -96,11 +96,8 @@
}
// Add operations
- for (ObjectModelOperation op : clazz.getOperations()) {
+ createAbstractOperations(resultClass, clazz.getOperations());
- createAbstractOperation(resultClass, op);
- }
-
// Add property change support
createPropertyChangeSupport(resultClass);
@@ -237,6 +234,16 @@
}
+ protected void createAbstractOperations(ObjectModelClass resultClass,
+ Iterable<ObjectModelOperation> operations) {
+ JavaGeneratorUtil.cloneOperations(
+ this,
+ operations,
+ resultClass,
+ true,
+ ObjectModelModifier.ABSTRACT
+ );
+ }
protected List<ObjectModelAttribute> getProperties(ObjectModelClass clazz) {
List<ObjectModelAttribute> attributes =
(List<ObjectModelAttribute>) clazz.getAttributes();
@@ -425,26 +432,26 @@
return resultClassImpl;
}
- protected void createAbstractOperation(ObjectModelClass resultClass,
- ObjectModelOperation op) {
- String visibility = op.getVisibility();
- ObjectModelOperation operation = addOperation(
- resultClass,
- op.getName(),
- op.getReturnType(),
- ObjectModelModifier.toValue(visibility),
- ObjectModelModifier.ABSTRACT
- );
+// protected void createAbstractOperation(ObjectModelClass resultClass,
+// ObjectModelOperation op) {
+// String visibility = op.getVisibility();
+// ObjectModelOperation operation = addOperation(
+// resultClass,
+// op.getName(),
+// op.getReturnType(),
+// ObjectModelModifier.toValue(visibility),
+// ObjectModelModifier.ABSTRACT
+// );
+//
+// for (ObjectModelParameter param : op.getParameters()) {
+// addParameter(operation, param.getType(), param.getName());
+// }
+//
+// for (String exception : op.getExceptions()) {
+// addException(operation, exception);
+// }
+// }
- for (ObjectModelParameter param : op.getParameters()) {
- addParameter(operation, param.getType(), param.getName());
- }
-
- for (String exception : op.getExceptions()) {
- addException(operation, exception);
- }
- }
-
protected boolean canGenerate(ObjectModelClass clazz) {
return clazz.hasStereotype(JavaGeneratorUtil.STEREOTYPE_BEAN);
}
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java 2010-04-29 06:43:20 UTC (rev 878)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java 2010-04-29 07:58:31 UTC (rev 879)
@@ -25,6 +25,10 @@
package org.nuiton.eugene.java;
import org.nuiton.eugene.GeneratorUtil;
+import org.nuiton.eugene.models.object.ObjectModelClassifier;
+import org.nuiton.eugene.models.object.ObjectModelModifier;
+import org.nuiton.eugene.models.object.ObjectModelOperation;
+import org.nuiton.eugene.models.object.ObjectModelParameter;
/**
* Utility class for pure java templates.
@@ -33,8 +37,65 @@
* @since 2.0.2
*/
public class JavaGeneratorUtil extends GeneratorUtil {
+
+ /** Stereotype for JavaBean objects. */
+ public static final String STEREOTYPE_BEAN = "bean";
+
/**
- * Stereotype for JavaBean objects.
+ * Duplicates in the {@code target} classifier the given {@code operations}
+ * using a {@code transformer} to modify model.
+ *
+ * @param transformer the transformer to use
+ * @param operations operations to duplicate
+ * @param target where to duplicate operations
+ * @param useVisibility flag to use operation visibilty to compute his
+ * modifiers
+ * @param extraModifiers scopes to apply to all operations
*/
- public static final String STEREOTYPE_BEAN = "bean";
+ public static void cloneOperations(ObjectModelTransformerToJava transformer,
+ Iterable<ObjectModelOperation> operations,
+ ObjectModelClassifier target,
+ boolean useVisibility,
+ ObjectModelModifier... extraModifiers) {
+
+ for (ObjectModelOperation op : operations) {
+ ObjectModelOperation resultOp;
+ ObjectModelModifier[] modifiers = null;
+ if (useVisibility) {
+
+ // compute visibility modifer
+ String visibility = op.getVisibility();
+ ObjectModelModifier modifier =
+ ObjectModelModifier.toValue(visibility);
+
+ int length = extraModifiers.length;
+ if (length == 0) {
+ modifiers = new ObjectModelModifier[]{modifier};
+ } else {
+ modifiers = new ObjectModelModifier[length + 1];
+ modifiers[0] = modifier;
+ System.arraycopy(extraModifiers, 0, modifiers, 1, length);
+ }
+ } else {
+
+ // just use the incoming modifiers
+ modifiers = extraModifiers;
+ }
+
+ resultOp = transformer.addOperation(target,
+ op.getName(),
+ op.getReturnType(),
+ modifiers
+ );
+ for (ObjectModelParameter param : op.getParameters()) {
+ transformer.addParameter(resultOp,
+ param.getType(),
+ param.getName()
+ );
+ }
+ for (String exception : op.getExceptions()) {
+ transformer.addException(resultOp, exception);
+ }
+ }
+ }
}
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 06:43:20 UTC (rev 878)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 07:58:31 UTC (rev 879)
@@ -1,23 +1,23 @@
/*
* #%L
* EUGene :: EUGene
- *
+ * *
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2004 - 2010 CodeLutin
* %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
* #L%
@@ -25,27 +25,26 @@
package org.nuiton.eugene.java;
-import java.util.Iterator;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.eugene.models.object.ObjectModelAttribute;
import org.nuiton.eugene.models.object.ObjectModelInterface;
import org.nuiton.eugene.models.object.ObjectModelModifier;
-import org.nuiton.eugene.models.object.ObjectModelOperation;
-import org.nuiton.eugene.models.object.ObjectModelParameter;
+import java.util.Iterator;
+
/*{generator option: parentheses = false}*/
/*{generator option: writeString = +}*/
/**
* JavaInterfaceTransformer generates simple interfaces for Java language.
- *
+ * <p/>
* Created: 7 nov. 2009
*
* @author fdesbois <fdesbois(a)codelutin.com>
+ * @plexus.component role="org.nuiton.eugene.Template" role-hint="org.nuiton.eugene.java.JavaInterfaceTransformer"
* @since 2.0.2
- * @plexus.component role="org.nuiton.eugene.Template" role-hint="org.nuiton.eugene.java.JavaInterfaceTransformer"
*/
public class JavaInterfaceTransformer extends ObjectModelTransformerToJava {
@@ -65,13 +64,13 @@
if (log.isDebugEnabled()) {
log.debug("generate interface " +
- resultInterface.getQualifiedName());
+ resultInterface.getQualifiedName());
}
// extend interface
- Iterator<ObjectModelInterface> it =
+ Iterator<ObjectModelInterface> it =
interfacez.getInterfaces().iterator();
-
+
if (it.hasNext()) {
ObjectModelInterface extend = it.next();
addInterface(resultInterface, extend.getQualifiedName());
@@ -79,24 +78,30 @@
// constant attributes
for (ObjectModelAttribute attr : interfacez.getAttributes()) {
- // only static attribut with value
+ // only static attribut with value
if (!attr.isStatic() &&
- StringUtils.isNotEmpty(attr.getDefaultValue())) {
+ StringUtils.isNotEmpty(attr.getDefaultValue())) {
addConstant(resultInterface, attr.getName(), attr.getType(),
- attr.getDefaultValue(), ObjectModelModifier.PUBLIC);
+ attr.getDefaultValue(), ObjectModelModifier.PUBLIC);
}
}
// interface operations
- for (ObjectModelOperation op : interfacez.getOperations()) {
- ObjectModelOperation resultOp = addOperation(resultInterface,
- op.getName(), op.getReturnType());
- for (ObjectModelParameter param : op.getParameters()) {
- addParameter(resultOp, param.getType(), param.getName());
- }
- for (String exception : op.getExceptions()) {
- addException(resultOp, exception);
- }
- }
+ JavaGeneratorUtil.cloneOperations(this,
+ interfacez.getOperations(),
+ resultInterface,
+ false
+ );
+
+// for (ObjectModelOperation op : interfacez.getOperations()) {
+// ObjectModelOperation resultOp = addOperation(resultInterface,
+// op.getName(), op.getReturnType());
+// for (ObjectModelParameter param : op.getParameters()) {
+// addParameter(resultOp, param.getType(), param.getName());
+// }
+// for (String exception : op.getExceptions()) {
+// addException(resultOp, exception);
+// }
+// }
}
}
1
0
29 Apr '10
Author: tchemit
Date: 2010-04-29 08:43:20 +0200 (Thu, 29 Apr 2010)
New Revision: 878
Log:
fix keywords
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ Author Date Id Revision HeadURL
1
0
29 Apr '10
Author: tchemit
Date: 2010-04-29 08:40:44 +0200 (Thu, 29 Apr 2010)
New Revision: 877
Log:
format
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 05:43:44 UTC (rev 876)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-29 06:40:44 UTC (rev 877)
@@ -54,6 +54,7 @@
@Override
public void transformFromInterface(ObjectModelInterface interfacez) {
+
// Can only generate an interface with no stereotypes
if (!interfacez.getStereotypes().isEmpty()) {
return;
1
0
Author: tchemit
Date: 2010-04-29 07:43:44 +0200 (Thu, 29 Apr 2010)
New Revision: 876
Log:
Utilisation de mavenpom4redmine 2.1.3
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-28 08:41:45 UTC (rev 875)
+++ trunk/pom.xml 2010-04-29 05:43:44 UTC (rev 876)
@@ -33,7 +33,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>mavenpom4redmine</artifactId>
- <version>2.1.2</version>
+ <version>2.1.3</version>
</parent>
<artifactId>eugene</artifactId>
1
0
r875 - in trunk/eugene/src/main/java/org/nuiton/eugene: . java models/object
by fdesbois@users.nuiton.org 28 Apr '10
by fdesbois@users.nuiton.org 28 Apr '10
28 Apr '10
Author: fdesbois
Date: 2010-04-28 10:41:45 +0200 (Wed, 28 Apr 2010)
New Revision: 875
Log:
- Evo #553 : Add neutral JavaInterfaceTransformer from ToPIA
- Clean headers
Added:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/AbstractGenerator.java
trunk/eugene/src/main/java/org/nuiton/eugene/AbstractMetaTransformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/Template.java
trunk/eugene/src/main/java/org/nuiton/eugene/Transformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java
trunk/eugene/src/main/java/org/nuiton/eugene/models/object/ObjectModelTransformer.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/AbstractGenerator.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/AbstractGenerator.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/AbstractGenerator.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -28,20 +28,22 @@
import org.nuiton.eugene.models.Model;
import java.io.*;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
/**
* AbstractGenerator
*
* Created: 28 oct. 2009
*
- * @param <M>
- * @author fdesbois
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : */
+ * @param <M> type of Model
+ *
+ * @author fdesbois <fdesbois(a)codelutin.com>
+ */
public abstract class AbstractGenerator<M extends Model> extends Template<M> {
+ private static final Log log = LogFactory.getLog(AbstractGenerator.class);
+
protected AbstractGenerator<M> parent;
public AbstractGenerator() {
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/AbstractMetaTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/AbstractMetaTransformer.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/AbstractMetaTransformer.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -31,6 +31,8 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
/**
* Abstract meta transformer which contains some templates to apply to an
@@ -40,14 +42,16 @@
*
* Created: 20 déc. 2009
*
- * @author Tony Chemit <chemit(a)codelutin.com> Copyright Code Lutin
- * @version $Revision$
- * <p/>
- * Mise a jour: $Date$ par :
- * * @since 2.0.0
+ * @param <M> type of Model
+ *
+ * @author Tony Chemit <chemit(a)codelutin.com>
+ * @since 2.0.0
*/
public abstract class AbstractMetaTransformer<M extends Model> extends AbstractGenerator<M> {
+ private static final Log log =
+ LogFactory.getLog(AbstractMetaTransformer.class);
+
private final Class<? extends Template<M>>[] transformers;
public AbstractMetaTransformer(
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/Template.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/Template.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/Template.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -45,14 +45,9 @@
* @param <M> Model associated to the generator (input model)
*
* @author Cedric Pineau <pineau(a)codelutin.com>
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : */
+ */
public abstract class Template<M extends Model> {
- protected static Log log = LogFactory.getLog(Template.class);
-
public static final String PROP_DEFAULT_PACKAGE = "defaultPackage";
public static final String PROP_OVERWRITE = "overwrite";
public static final String PROP_ENCODING = "encoding";
@@ -61,7 +56,6 @@
public static final String PROP_EXCLUDE_TEMPLATES = "excludeTemplates";
protected Properties properties = new Properties();
- //protected boolean overwrite = true;
protected List<String> excludeTemplates;
@@ -71,12 +65,7 @@
* If {@code null} or empty, generate all packages.
*/
protected List<String> generatedPackages;
-
-// protected String encoding;
- /** date de derniere modification de la source la plus recente */
- //protected long lastModifiedSource = 0;
-
/** Model */
protected M model;
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/Transformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/Transformer.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/Transformer.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -38,11 +38,9 @@
* @param <I> input model to transform
* @param <O> output model transformed
* @author fdesbois
- * @version $Revision$
- *
- * Mise a jour: $Date$
- * par : */
-public abstract class Transformer<I extends Model, O extends Model> extends Template<I> {
+ */
+public abstract class Transformer<I extends Model, O extends Model>
+ extends Template<I> {
/**
* Output generator, to generate files from Output model.
Added: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java (rev 0)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -0,0 +1,101 @@
+/*
+ * #%L
+ * EUGene :: EUGene
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
+package org.nuiton.eugene.java;
+
+import java.util.Iterator;
+import org.apache.commons.lang.StringUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.nuiton.eugene.models.object.ObjectModelAttribute;
+import org.nuiton.eugene.models.object.ObjectModelInterface;
+import org.nuiton.eugene.models.object.ObjectModelModifier;
+import org.nuiton.eugene.models.object.ObjectModelOperation;
+import org.nuiton.eugene.models.object.ObjectModelParameter;
+
+/*{generator option: parentheses = false}*/
+/*{generator option: writeString = +}*/
+
+/**
+ * JavaInterfaceTransformer generates simple interfaces for Java language.
+ *
+ * Created: 7 nov. 2009
+ *
+ * @author fdesbois <fdesbois(a)codelutin.com>
+ * @since 2.0.2
+ * @plexus.component role="org.nuiton.eugene.Template" role-hint="org.nuiton.eugene.java.JavaInterfaceTransformer"
+ */
+public class JavaInterfaceTransformer extends ObjectModelTransformerToJava {
+
+ private static final Log log =
+ LogFactory.getLog(JavaInterfaceTransformer.class);
+
+ @Override
+ public void transformFromInterface(ObjectModelInterface interfacez) {
+ // Can only generate an interface with no stereotypes
+ if (!interfacez.getStereotypes().isEmpty()) {
+ return;
+ }
+
+ ObjectModelInterface resultInterface = createInterface(
+ interfacez.getName(), interfacez.getPackageName());
+
+ if (log.isDebugEnabled()) {
+ log.debug("generate interface " +
+ resultInterface.getQualifiedName());
+ }
+
+ // extend interface
+ Iterator<ObjectModelInterface> it =
+ interfacez.getInterfaces().iterator();
+
+ if (it.hasNext()) {
+ ObjectModelInterface extend = it.next();
+ addInterface(resultInterface, extend.getQualifiedName());
+ }
+
+ // constant attributes
+ for (ObjectModelAttribute attr : interfacez.getAttributes()) {
+ // only static attribut with value
+ if (!attr.isStatic() &&
+ StringUtils.isNotEmpty(attr.getDefaultValue())) {
+ addConstant(resultInterface, attr.getName(), attr.getType(),
+ attr.getDefaultValue(), ObjectModelModifier.PUBLIC);
+ }
+ }
+
+ // interface operations
+ for (ObjectModelOperation op : interfacez.getOperations()) {
+ ObjectModelOperation resultOp = addOperation(resultInterface,
+ op.getName(), op.getReturnType());
+ for (ObjectModelParameter param : op.getParameters()) {
+ addParameter(resultOp, param.getType(), param.getName());
+ }
+ for (String exception : op.getExceptions()) {
+ addException(resultOp, exception);
+ }
+ }
+ }
+}
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaInterfaceTransformer.java
___________________________________________________________________
Added: svn:keywords
+ "Author Date Id Revision HeadURL"
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/ObjectModelTransformerToJava.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -31,15 +31,10 @@
import org.nuiton.eugene.models.object.*;
/**
- * OM2JavaTransformer
- * <p/>
* Created: 28 oct. 2009
*
- * @author fdesbois
- * @version $Revision$
- * <p/>
- * Mise a jour: $Date$
- * par : */
+ * @author fdesbois <fdesbois(a)codelutin.com>
+ */
public abstract class ObjectModelTransformerToJava extends ObjectModelTransformer<ObjectModel> {
private static final Log log =
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/models/object/ObjectModelTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/models/object/ObjectModelTransformer.java 2010-04-27 16:25:21 UTC (rev 874)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/models/object/ObjectModelTransformer.java 2010-04-28 08:41:45 UTC (rev 875)
@@ -31,19 +31,14 @@
import java.util.Collection;
/**
- * ObjectModelTransformer
- * <p/>
- * Created: 28 oct. 2009
- *
- *
* L'initialisation du modèle de sortie et du générateur de sortie associée,
* se fait dans la superclass grâce à la méthode init.
*
- * @author fdesbois
- * @version $Revision$
- * <p/>
- * Mise a jour: $Date$
- * par : * @param <O>
+ * @param <O>
+ *
+ * Created: 28 oct. 2009
+ *
+ * @author fdesbois <fdesbois(a)codelutin.com>
*/
public abstract class ObjectModelTransformer<O extends Model> extends Transformer<ObjectModel, O> {
1
0
27 Apr '10
Author: fdesbois
Date: 2010-04-27 18:25:21 +0200 (Tue, 27 Apr 2010)
New Revision: 874
Log:
add license
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java 2010-04-23 14:25:24 UTC (rev 873)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java 2010-04-27 16:25:21 UTC (rev 874)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * EUGene :: EUGene
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.eugene.java;
import org.nuiton.eugene.GeneratorUtil;
1
0
r873 - in trunk/eugene/src/main/java/org/nuiton/eugene: . java
by tchemit@users.nuiton.org 23 Apr '10
by tchemit@users.nuiton.org 23 Apr '10
23 Apr '10
Author: tchemit
Date: 2010-04-23 16:25:24 +0200 (Fri, 23 Apr 2010)
New Revision: 873
Log:
- Evolution #551: Introduce a neutral JavaBeanTransformer
- Add getAssociationName method in GeneratorUtil -from TopiaGeneratorUtil)
Added:
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
Modified:
trunk/eugene/src/main/java/org/nuiton/eugene/GeneratorUtil.java
trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGenerator.java
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/GeneratorUtil.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/GeneratorUtil.java 2010-04-22 09:00:19 UTC (rev 872)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/GeneratorUtil.java 2010-04-23 14:25:24 UTC (rev 873)
@@ -446,7 +446,7 @@
/**
* ToString contract for ObjectModelParameter with type and name. This
* contract is used in
- * {@link StringUtil#join(Iterable, StringUtil.ToString, String, boolean)}
+ * {@link StringUtil#join(Iterable, org.nuiton.util.StringUtil.ToString, String, boolean)}
*/
static final StringUtil.ToString<ObjectModelParameter>
OBJECT_MODEL_PARAMETER_TO_STRING_TYPE =
@@ -464,7 +464,7 @@
/**
* ToString contract for ObjectModelParameter with name only. This contract
* is used in
- * {@link StringUtil#join(Iterable, StringUtil.ToString, String, boolean)}
+ * {@link StringUtil#join(Iterable, org.nuiton.util.StringUtil.ToString, String, boolean)}
*/
static final StringUtil.ToString<ObjectModelParameter>
OBJECT_MODEL_PARAMETER_TO_STRING_NAME =
@@ -700,4 +700,24 @@
return buffer.toString();
}
+ /**
+ * Renvoie le nom de l'attribut de classe d'association en fonction des cas:
+ * Si l'attribut porte le même nom que le type (extrémité inverse de
+ * l'association), on lui ajoute le nom de la classe d'association
+ *
+ * @param attr l'attribut a traiter
+ * @return le nom de l'attribut de classe d'association
+ * @since 2.0.2
+ */
+ public static String getAssocAttrName(ObjectModelAttribute attr) {
+ String typeName = attr.getType().substring(
+ attr.getType().lastIndexOf(".") + 1);
+ String result = attr.getName();
+ if (attr.getName().equalsIgnoreCase(typeName)) {
+ result += StringUtils.capitalize(
+ attr.getAssociationClass().getName());
+ }
+ return result;
+ }
+
} // GeneratorUtil
Added: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java (rev 0)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java 2010-04-23 14:25:24 UTC (rev 873)
@@ -0,0 +1,544 @@
+/*
+ * #%L
+ * ToPIA :: Persistence
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+package org.nuiton.eugene.java;
+
+import org.apache.commons.lang.StringUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.nuiton.eugene.models.object.*;
+
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyChangeSupport;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+
+/*{generator option: parentheses = false}*/
+/*{generator option: writeString = +}*/
+
+/**
+ * JavaBeanTransformer generates simple bean with pcs support
+ * (and nothing else) according to the JavaBeans 1.1 norm.
+ *
+ * @author tchemit <chemit(a)codelutin.com>
+ * @since 2.0.2
+ * @plexus.component role="org.nuiton.eugene.Template" role-hint="org.nuiton.eugene.java.JavaBeanTransformer"
+ */
+public class JavaBeanTransformer extends ObjectModelTransformerToJava {
+
+ private static final Log log = LogFactory.getLog(JavaBeanTransformer.class);
+
+ @Override
+ public void transformFromClass(ObjectModelClass clazz) {
+ if (!canGenerate(clazz)) {
+ return;
+ }
+
+ ObjectModelClass resultClass =
+ createAbstractClass(clazz.getName(), clazz.getPackageName());
+
+ if (log.isDebugEnabled()) {
+ log.debug("will generate "+ resultClass.getQualifiedName());
+ }
+
+ ObjectModelClass resultClassImpl = generateImpl(clazz, resultClass);
+
+ if (log.isDebugEnabled()) {
+ if (resultClassImpl == null) {
+ log.debug("will generate impl " +
+ resultClass.getQualifiedName());
+ } else {
+ log.debug("do not generate existing impl " +
+ resultClass.getQualifiedName());
+ }
+ }
+
+ addSuperClass(clazz, resultClass, resultClassImpl);
+
+ addInterfaces(clazz, resultClass);
+
+ // Get available properties
+ List<ObjectModelAttribute> properties = getProperties(clazz);
+
+ // Add properties constant
+ for (ObjectModelAttribute attr : properties) {
+
+ createPropertyConstant(resultClass, attr);
+ }
+
+ // Add properties field + javabean methods
+ for (ObjectModelAttribute attr : properties) {
+
+ createProperty(resultClass, attr);
+ }
+
+ // Add operations
+ for (ObjectModelOperation op : clazz.getOperations()) {
+
+ createAbstractOperation(resultClass, op);
+ }
+
+ // Add property change support
+ createPropertyChangeSupport(resultClass);
+
+ boolean hasAMultipleProperty = containsMutiple(properties);
+
+ // Add helper operations
+ if (hasAMultipleProperty) {
+ createGetChildMethod(resultClass);
+ }
+ }
+
+ @Override
+ public String getConstantName(String propertyName) {
+ return "PROPERTY_" + super.getConstantName(propertyName);
+ }
+
+ protected void createPropertyConstant(ObjectModelClass resultClass,
+ ObjectModelAttribute attr) {
+
+ String attrName = getAttributeName(attr);
+
+ String constantName = getConstantName(attrName);
+
+ addConstant(resultClass,
+ constantName,
+ String.class,
+ "\"" + attrName + "\"",
+ ObjectModelModifier.PUBLIC
+ );
+
+ }
+
+ protected String getAttributeName(ObjectModelAttribute attr) {
+ String attrName = attr.getName();
+ if (attr.hasAssociationClass()) {
+ String assocAttrName = JavaGeneratorUtil.getAssocAttrName(attr);
+ attrName = JavaGeneratorUtil.toLowerCaseFirstLetter(assocAttrName);
+ }
+ return attrName;
+ }
+
+ protected String getAttributeType(ObjectModelAttribute attr) {
+ String attrType = attr.getType();
+ if (attr.hasAssociationClass()) {
+ attrType = attr.getAssociationClass().getName();
+ }
+ return attrType;
+ }
+
+ protected boolean containsMutiple(List<ObjectModelAttribute> attributes) {
+
+ boolean result = false;
+
+ for (ObjectModelAttribute attr : attributes) {
+
+ if (JavaGeneratorUtil.isNMultiplicity(attr)) {
+ result = true;
+
+ break;
+ }
+
+ }
+ return result;
+ }
+
+ protected void createProperty(
+ ObjectModelClass resultClass,
+ ObjectModelAttribute attr) {
+
+ String attrName = getAttributeName(attr);
+ String attrType = getAttributeType(attr);
+
+ boolean multiple = JavaGeneratorUtil.isNMultiplicity(attr);
+
+ String attrNameCapitalized = StringUtils.capitalize(attrName);
+
+ String constantName = getConstantName(attrName);
+ String simpleType = JavaGeneratorUtil.getSimpleName(attrType);
+
+ if (multiple) {
+
+ createGetChildMethod(resultClass,
+ attrName,
+ attrNameCapitalized,
+ attrType,
+ simpleType
+ );
+
+ createAddChildMethod(resultClass,
+ attrName,
+ attrNameCapitalized,
+ attrType,
+ constantName
+ );
+
+ createRemoveChildMethod(resultClass,
+ attrName,
+ attrNameCapitalized,
+ attrType,
+ constantName
+ );
+
+ // Change type for Multiple attribute
+ if (attr.isOrdered()) {
+ attrType = List.class.getName() + "<" + attrType + ">";
+ } else {
+ attrType = Collection.class.getName() + "<" + attrType + ">";
+ }
+
+ simpleType = JavaGeneratorUtil.getSimpleName(attrType);
+ }
+
+ createGetMethod(resultClass,
+ attrName,
+ attrNameCapitalized,
+ attrType
+ );
+
+ createSetMethod(resultClass,
+ attrName,
+ attrNameCapitalized,
+ attrType,
+ simpleType,
+ constantName
+ );
+
+ // Add attribute to the class
+ addAttribute(resultClass,
+ attrName,
+ attrType,
+ "",
+ ObjectModelModifier.PROTECTED
+ );
+
+ }
+
+ protected List<ObjectModelAttribute> getProperties(ObjectModelClass clazz) {
+ List<ObjectModelAttribute> attributes =
+ (List<ObjectModelAttribute>) clazz.getAttributes();
+
+ List<ObjectModelAttribute> attrs =
+ new ArrayList<ObjectModelAttribute>();
+ for (ObjectModelAttribute attr : attributes) {
+ if (attr.isNavigable()) {
+
+ // only keep navigable attributes
+ attrs.add(attr);
+ }
+ }
+ return attrs;
+ }
+
+ protected void createGetMethod(ObjectModelClass resultClass,
+ String attrName,
+ String attrNameCapitalized,
+ String attrType) {
+ ObjectModelOperation getter = addOperation(
+ resultClass,
+ "get" + attrNameCapitalized,
+ attrType,
+ ObjectModelModifier.PUBLIC
+ );
+ setOperationBody(getter, ""
+ /*{
+ return <%=attrName%>;
+ }*/
+ );
+ }
+ protected void createGetChildMethod(ObjectModelClass resultClass,
+ String attrName,
+ String attrNameCapitalized,
+ String attrType,
+ String simpleType) {
+ ObjectModelOperation getChild = addOperation(
+ resultClass,
+ "get" + attrNameCapitalized,
+ attrType,
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(getChild, "int", "index");
+ setOperationBody(getChild, ""
+ /*{
+ <%=simpleType%> o = getChild(<%=attrName%>, index);
+ return o;
+ }*/
+ );
+ }
+
+ protected void createAddChildMethod(ObjectModelClass resultClass,
+ String attrName,
+ String attrNameCapitalized,
+ String attrType,
+ String constantName) {
+ ObjectModelOperation addChild = addOperation(
+ resultClass,
+ "add" + attrNameCapitalized,
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(addChild, attrType, attrName);
+ setOperationBody(addChild, ""
+ /*{
+ get<%=attrNameCapitalized%>().add(<%=attrName%>);
+ firePropertyChange(<%=constantName%>, null, <%=attrName%>);
+ }*/
+ );
+ }
+
+ protected void createRemoveChildMethod(ObjectModelClass resultClass,
+ String attrName,
+ String attrNameCapitalized,
+ String attrType,
+ String constantName) {
+ ObjectModelOperation operation = addOperation(
+ resultClass,
+ "remove" + attrNameCapitalized,
+ "boolean",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, attrType, attrName);
+ setOperationBody(operation, ""
+ /*{
+ boolean removed = get<%=attrNameCapitalized%>().remove(<%=attrName%>);
+ if (removed) {
+ firePropertyChange(<%=constantName%>, <%=attrName%>, null);
+ }
+ return removed;
+ }*/
+ );
+ }
+
+ protected void createSetMethod(ObjectModelClass resultClass,
+ String attrName,
+ String attrNameCapitalized,
+ String attrType,
+ String simpleType,
+ String constantName) {
+ ObjectModelOperation operation = addOperation(
+ resultClass,
+ "set" + attrNameCapitalized,
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, attrType, attrName);
+
+ setOperationBody(operation, ""
+ /*{
+ <%=simpleType%> oldValue = get<%=attrNameCapitalized%>();
+ this.<%=attrName%> = <%=attrName%>;
+ firePropertyChange(<%=constantName%>, oldValue, <%=attrName%>);
+ }*/
+ );
+ }
+
+ protected void createGetChildMethod(ObjectModelClass resultClass) {
+ ObjectModelOperation getChild = addOperation(
+ resultClass,
+ "getChild", "<T> T",
+ ObjectModelModifier.PROTECTED
+ );
+ addParameter(getChild, "java.util.Collection<T>", "childs");
+ addParameter(getChild, "int", "index");
+ setOperationBody(getChild, ""
+ /*{
+ if (childs != null) {
+ int i = 0;
+ for (T o : childs) {
+ if (index == i) {
+ return o;
+ }
+ i++;
+ }
+ }
+ return null;
+ }*/
+ );
+ }
+
+ protected void addInterfaces(ObjectModelClass clazz,
+ ObjectModelClass resultClass) {
+ // Add interfaces from inputModel
+ for (ObjectModelInterface parentInterface : clazz.getInterfaces()) {
+ addInterface(resultClass, parentInterface.getQualifiedName());
+ }
+ }
+
+ protected void addSuperClass(ObjectModelClass clazz,
+ ObjectModelClass resultClass,
+ ObjectModelClass resultClassImpl) {
+ // Set superclass
+ if (resultClassImpl == null) {
+ Iterator<ObjectModelClass> j = clazz.getSuperclasses().iterator();
+ if (j.hasNext()) {
+ ObjectModelClass p = j.next();
+ // We want to set the inheritance to the implementation class of the father
+ // Ex for model : A -> B (a inherits B) we want : A -> BImpl -> B
+ String qualifiedName = p.getQualifiedName() + "Impl";
+ setSuperClass(resultClass, qualifiedName);
+ }
+ }
+ }
+
+ protected ObjectModelClass generateImpl(ObjectModelClass clazz,
+ ObjectModelClass resultClass) {
+
+ // Get name for Impl class
+ String implQualifiedName = clazz.getQualifiedName() + "Impl";
+
+ // Does bean own operations ?
+ boolean hasOperations = !clazz.getAllOtherOperations(true).isEmpty() ||
+ !clazz.getOperations().isEmpty();
+
+ String resourceName = "/" + implQualifiedName.replaceAll("\\.", "/");
+ ObjectModelClass resultClassImpl=null;
+ // Generate the Impl class if not already exist in classpath and no operation is defined in model
+ if(getClass().getResource(resourceName) == null && !hasOperations) {
+ String implName = clazz.getName() + "Impl";
+ resultClassImpl = createClass(implName, clazz.getPackageName());
+ // set the abstract resulClass as the resultClassImpl super class
+ setSuperClass(resultClassImpl, resultClass.getQualifiedName());
+ }
+ return resultClassImpl;
+ }
+
+ protected void createAbstractOperation(ObjectModelClass resultClass,
+ ObjectModelOperation op) {
+ String visibility = op.getVisibility();
+ ObjectModelOperation operation = addOperation(
+ resultClass,
+ op.getName(),
+ op.getReturnType(),
+ ObjectModelModifier.toValue(visibility),
+ ObjectModelModifier.ABSTRACT
+ );
+
+ for (ObjectModelParameter param : op.getParameters()) {
+ addParameter(operation, param.getType(), param.getName());
+ }
+
+ for (String exception : op.getExceptions()) {
+ addException(operation, exception);
+ }
+ }
+
+ protected boolean canGenerate(ObjectModelClass clazz) {
+ return clazz.hasStereotype(JavaGeneratorUtil.STEREOTYPE_BEAN);
+ }
+
+ protected void createPropertyChangeSupport(ObjectModelClass resultClass) {
+
+ addAttribute(resultClass,
+ "pcs",
+ PropertyChangeSupport.class,
+ "new PropertyChangeSupport(this);",
+ ObjectModelModifier.PROTECTED,
+ ObjectModelModifier.FINAL
+ );
+
+ // Add PropertyListener
+
+ ObjectModelOperation operation;
+
+ operation = addOperation(resultClass,
+ "addPropertyChangeListener",
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, PropertyChangeListener.class, "listener");
+ setOperationBody(operation, ""
+ /*{
+ pcs.addPropertyChangeListener(listener);
+ }*/
+ );
+
+ operation = addOperation(resultClass,
+ "addPropertyChangeListener",
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, String.class, "propertyName");
+ addParameter(operation, PropertyChangeListener.class, "listener");
+ setOperationBody(operation, ""
+ /*{
+ pcs.addPropertyChangeListener(propertyName, listener);
+ }*/
+ );
+
+ operation = addOperation(resultClass,
+ "removePropertyChangeListener",
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, PropertyChangeListener.class, "listener");
+ setOperationBody(operation, ""
+ /*{
+ pcs.removePropertyChangeListener(listener);
+ }*/
+ );
+
+ operation= addOperation(resultClass,
+ "removePropertyChangeListener",
+ "void",
+ ObjectModelModifier.PUBLIC
+ );
+ addParameter(operation, String.class, "propertyName");
+ addParameter(operation, PropertyChangeListener.class, "listener");
+ setOperationBody(operation, ""
+ /*{
+ pcs.removePropertyChangeListener(propertyName, listener);
+ }*/
+ );
+
+ operation = addOperation(resultClass,
+ "firePropertyChange",
+ "void",
+ ObjectModelModifier.PROTECTED
+ );
+ addParameter(operation, String.class, "propertyName");
+ addParameter(operation, Object.class, "oldValue");
+ addParameter(operation, Object.class, "newValue");
+ setOperationBody(operation, ""
+ /*{
+ pcs.firePropertyChange(propertyName, oldValue, newValue);
+ }*/
+ );
+
+ operation = addOperation(resultClass,
+ "firePropertyChange",
+ "void",
+ ObjectModelModifier.PROTECTED
+ );
+ addParameter(operation, String.class, "propertyName");
+ addParameter(operation, Object.class, "newValue");
+ setOperationBody(operation, ""
+ /*{
+ firePropertyChange(propertyName, null, newValue);
+ }*/
+ );
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaBeanTransformer.java
___________________________________________________________________
Added: svn:keywords
+ "Author Date Id Revision HeadURL
Modified: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGenerator.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGenerator.java 2010-04-22 09:00:19 UTC (rev 872)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGenerator.java 2010-04-23 14:25:24 UTC (rev 873)
@@ -38,6 +38,10 @@
import org.nuiton.eugene.GeneratorUtil;
import org.nuiton.eugene.models.object.*;
+
+/*{generator option: parentheses = true}*/
+/*{generator option: writeString = output.write}*/
+
/**
* JavaGenerator
*
Added: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
===================================================================
--- trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java (rev 0)
+++ trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java 2010-04-23 14:25:24 UTC (rev 873)
@@ -0,0 +1,16 @@
+package org.nuiton.eugene.java;
+
+import org.nuiton.eugene.GeneratorUtil;
+
+/**
+ * Utility class for pure java templates.
+ *
+ * @author tchemit <chemit(a)codelutin.com>
+ * @since 2.0.2
+ */
+public class JavaGeneratorUtil extends GeneratorUtil {
+ /**
+ * Stereotype for JavaBean objects.
+ */
+ public static final String STEREOTYPE_BEAN = "bean";
+}
Property changes on: trunk/eugene/src/main/java/org/nuiton/eugene/java/JavaGeneratorUtil.java
___________________________________________________________________
Added: svn:keywords
+ "Author Date Id Revision HeadURL
1
0
r872 - in trunk: . ant-eugene-task/src/site/fr/rst ant-eugene-task/src/site/rst eugene/src/site/fr/rst eugene/src/site/rst maven-eugene-plugin/src/site/fr/rst maven-eugene-plugin/src/site/rst src/site/fr/rst src/site/rst
by tchemit@users.nuiton.org 22 Apr '10
by tchemit@users.nuiton.org 22 Apr '10
22 Apr '10
Author: tchemit
Date: 2010-04-22 11:00:19 +0200 (Thu, 22 Apr 2010)
New Revision: 872
Log:
improve normal site generation + update file header on doc
Modified:
trunk/ant-eugene-task/src/site/fr/rst/index.rst
trunk/ant-eugene-task/src/site/rst/index.rst
trunk/eugene/src/site/fr/rst/DevUIDoc.rst
trunk/eugene/src/site/fr/rst/DiscussionSurTypeDeGeneration.rst
trunk/eugene/src/site/fr/rst/Todo.rst
trunk/eugene/src/site/fr/rst/index.rst
trunk/eugene/src/site/fr/rst/plugineclipse.rst
trunk/eugene/src/site/rst/LutinGenerator.rst
trunk/eugene/src/site/rst/generatorHelp.rst
trunk/eugene/src/site/rst/index.rst
trunk/maven-eugene-plugin/src/site/fr/rst/example.rst
trunk/maven-eugene-plugin/src/site/fr/rst/index.rst
trunk/maven-eugene-plugin/src/site/fr/rst/usage.rst
trunk/maven-eugene-plugin/src/site/rst/example.rst
trunk/maven-eugene-plugin/src/site/rst/index.rst
trunk/maven-eugene-plugin/src/site/rst/usage.rst
trunk/pom.xml
trunk/src/site/fr/rst/01-introduction.rst
trunk/src/site/fr/rst/02-objectmodel.rst
trunk/src/site/fr/rst/03-generation.rst
trunk/src/site/fr/rst/04-templates.rst
trunk/src/site/fr/rst/05-execution.rst
trunk/src/site/fr/rst/06-fonctionnalites-avancees.rst
trunk/src/site/fr/rst/07-glossaire.rst
trunk/src/site/fr/rst/08-FAQ.rst
trunk/src/site/fr/rst/09-tutoriel-index.rst
trunk/src/site/fr/rst/eugene-plan.rst
trunk/src/site/fr/rst/index.rst
trunk/src/site/rst/01-introduction.rst
trunk/src/site/rst/02-objectmodel.rst
trunk/src/site/rst/03-generation.rst
trunk/src/site/rst/04-templates.rst
trunk/src/site/rst/05-execution.rst
trunk/src/site/rst/06-fonctionnalites-avancees.rst
trunk/src/site/rst/07-glossaire.rst
trunk/src/site/rst/08-FAQ.rst
trunk/src/site/rst/09-tutoriel-index.rst
trunk/src/site/rst/index.rst
Modified: trunk/ant-eugene-task/src/site/fr/rst/index.rst
===================================================================
--- trunk/ant-eugene-task/src/site/fr/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/ant-eugene-task/src/site/fr/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Ant task
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/ant-eugene-task/src/site/rst/index.rst
===================================================================
--- trunk/ant-eugene-task/src/site/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/ant-eugene-task/src/site/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Ant task
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/fr/rst/DevUIDoc.rst
===================================================================
--- trunk/eugene/src/site/fr/rst/DevUIDoc.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/fr/rst/DevUIDoc.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/fr/rst/DiscussionSurTypeDeGeneration.rst
===================================================================
--- trunk/eugene/src/site/fr/rst/DiscussionSurTypeDeGeneration.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/fr/rst/DiscussionSurTypeDeGeneration.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/fr/rst/Todo.rst
===================================================================
--- trunk/eugene/src/site/fr/rst/Todo.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/fr/rst/Todo.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/fr/rst/index.rst
===================================================================
--- trunk/eugene/src/site/fr/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/fr/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/fr/rst/plugineclipse.rst
===================================================================
--- trunk/eugene/src/site/fr/rst/plugineclipse.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/fr/rst/plugineclipse.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
@@ -69,4 +69,4 @@
Pour disposer de la coloration des templates, cliquez droit sur un fichier
source java et sélectionnez "Open with > / LutinGenerator Template Editor"
-.. image:: ../images/plugin_utilisation_editeur.png
\ No newline at end of file
+.. image:: ../images/plugin_utilisation_editeur.png
Modified: trunk/eugene/src/site/rst/LutinGenerator.rst
===================================================================
--- trunk/eugene/src/site/rst/LutinGenerator.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/rst/LutinGenerator.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/rst/generatorHelp.rst
===================================================================
--- trunk/eugene/src/site/rst/generatorHelp.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/rst/generatorHelp.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/eugene/src/site/rst/index.rst
===================================================================
--- trunk/eugene/src/site/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/eugene/src/site/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/maven-eugene-plugin/src/site/fr/rst/example.rst
===================================================================
--- trunk/maven-eugene-plugin/src/site/fr/rst/example.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/maven-eugene-plugin/src/site/fr/rst/example.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Maven plugin
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/maven-eugene-plugin/src/site/fr/rst/index.rst
===================================================================
(Binary files differ)
Modified: trunk/maven-eugene-plugin/src/site/fr/rst/usage.rst
===================================================================
--- trunk/maven-eugene-plugin/src/site/fr/rst/usage.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/maven-eugene-plugin/src/site/fr/rst/usage.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Maven plugin
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/maven-eugene-plugin/src/site/rst/example.rst
===================================================================
--- trunk/maven-eugene-plugin/src/site/rst/example.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/maven-eugene-plugin/src/site/rst/example.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Maven plugin
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/maven-eugene-plugin/src/site/rst/index.rst
===================================================================
(Binary files differ)
Modified: trunk/maven-eugene-plugin/src/site/rst/usage.rst
===================================================================
--- trunk/maven-eugene-plugin/src/site/rst/usage.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/maven-eugene-plugin/src/site/rst/usage.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene :: Maven plugin
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2006 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/pom.xml 2010-04-22 09:00:19 UTC (rev 872)
@@ -303,6 +303,10 @@
</build>
+ <reporting>
+ <excludeDefaults>true</excludeDefaults>
+ </reporting>
+
<!-- ************************************************************* -->
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
Modified: trunk/src/site/fr/rst/01-introduction.rst
===================================================================
--- trunk/src/site/fr/rst/01-introduction.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/01-introduction.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/02-objectmodel.rst
===================================================================
--- trunk/src/site/fr/rst/02-objectmodel.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/02-objectmodel.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/03-generation.rst
===================================================================
--- trunk/src/site/fr/rst/03-generation.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/03-generation.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/04-templates.rst
===================================================================
--- trunk/src/site/fr/rst/04-templates.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/04-templates.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/05-execution.rst
===================================================================
--- trunk/src/site/fr/rst/05-execution.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/05-execution.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/06-fonctionnalites-avancees.rst
===================================================================
--- trunk/src/site/fr/rst/06-fonctionnalites-avancees.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/06-fonctionnalites-avancees.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/07-glossaire.rst
===================================================================
--- trunk/src/site/fr/rst/07-glossaire.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/07-glossaire.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/08-FAQ.rst
===================================================================
--- trunk/src/site/fr/rst/08-FAQ.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/08-FAQ.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/09-tutoriel-index.rst
===================================================================
--- trunk/src/site/fr/rst/09-tutoriel-index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/09-tutoriel-index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
@@ -26,4 +26,4 @@
Tutorial index
==============
-TODO
\ No newline at end of file
+TODO
Modified: trunk/src/site/fr/rst/eugene-plan.rst
===================================================================
--- trunk/src/site/fr/rst/eugene-plan.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/eugene-plan.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/fr/rst/index.rst
===================================================================
--- trunk/src/site/fr/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/fr/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/01-introduction.rst
===================================================================
--- trunk/src/site/rst/01-introduction.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/01-introduction.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/02-objectmodel.rst
===================================================================
--- trunk/src/site/rst/02-objectmodel.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/02-objectmodel.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/03-generation.rst
===================================================================
--- trunk/src/site/rst/03-generation.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/03-generation.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/04-templates.rst
===================================================================
--- trunk/src/site/rst/04-templates.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/04-templates.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/05-execution.rst
===================================================================
--- trunk/src/site/rst/05-execution.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/05-execution.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/06-fonctionnalites-avancees.rst
===================================================================
--- trunk/src/site/rst/06-fonctionnalites-avancees.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/06-fonctionnalites-avancees.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/07-glossaire.rst
===================================================================
--- trunk/src/site/rst/07-glossaire.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/07-glossaire.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/08-FAQ.rst
===================================================================
--- trunk/src/site/rst/08-FAQ.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/08-FAQ.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
Modified: trunk/src/site/rst/09-tutoriel-index.rst
===================================================================
--- trunk/src/site/rst/09-tutoriel-index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/09-tutoriel-index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
@@ -26,4 +26,4 @@
Tutoriel index
==============
-TODO
\ No newline at end of file
+TODO
Modified: trunk/src/site/rst/index.rst
===================================================================
--- trunk/src/site/rst/index.rst 2010-04-20 13:05:54 UTC (rev 871)
+++ trunk/src/site/rst/index.rst 2010-04-22 09:00:19 UTC (rev 872)
@@ -1,23 +1,23 @@
.. -
.. * #%L
.. * EUGene
-.. *
+.. *
.. * $Id$
.. * $HeadURL$
.. * %%
.. * Copyright (C) 2004 - 2010 CodeLutin
.. * %%
.. * This program is free software: you can redistribute it and/or modify
-.. * it under the terms of the GNU Lesser General Public License as
-.. * published by the Free Software Foundation, either version 3 of the
+.. * it under the terms of the GNU Lesser General Public License as
+.. * published by the Free Software Foundation, either version 3 of the
.. * License, or (at your option) any later version.
-.. *
+.. *
.. * This program is distributed in the hope that it will be useful,
.. * but WITHOUT ANY WARRANTY; without even the implied warranty of
.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.. * GNU General Lesser Public License for more details.
-.. *
-.. * You should have received a copy of the GNU General Lesser Public
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
.. * License along with this program. If not, see
.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
.. * #L%
1
0