Author: tchemit Date: 2008-08-05 12:39:27 +0000 (Tue, 05 Aug 2008) New Revision: 180 Modified: trunk/jrst2/pom.xml trunk/jrst2/src/java/org/codelutin/jrst/JRSTLexer.java trunk/maven-jrst-plugin/ trunk/maven-jrst-plugin/src/java/org/codelutin/jrst/plugin/JRstPlugin.java Log: on remet les accents + pas de test car ils ne fonctionnent pas. utilisation org.codelutin:lutinutil:0.30-SNAPSHOT Modified: trunk/jrst2/pom.xml =================================================================== --- trunk/jrst2/pom.xml 2008-08-05 12:07:21 UTC (rev 179) +++ trunk/jrst2/pom.xml 2008-08-05 12:39:27 UTC (rev 180) @@ -1,50 +1,52 @@ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <!--The version of maven's project object model--> + <!--The version of maven's project object model--> <modelVersion>4.0.0</modelVersion> - + <!--lutinproject.xml--> <parent> - <groupId>lutinlib</groupId> - <artifactId>lutinproject</artifactId> - <version>2.2</version> + <groupId>lutinlib</groupId> + <artifactId>lutinproject</artifactId> + <version>2.2</version> </parent> - + <!--A unique name for this project--> <artifactId>jrst</artifactId> <name>JRst</name> - + <!--ejb, jar, war...--> <packaging>jar</packaging> - + <!--Version--> <version>0.8.2-SNAPSHOT</version> - + <!--Description--> <description>Parser RST en Java.</description> <inceptionYear>2004</inceptionYear> - + <!--Tracking--> <issueManagement> <url>http://labs.libre-entreprise.org/tracker/?group_id=54</url> </issueManagement> <properties> - <!--Source base dir--> - <maven.src.dir>${basedir}/src</maven.src.dir> + <!--Source base dir--> + <maven.src.dir>${basedir}/src</maven.src.dir> - <!--Compile with ?--> - <maven.compile.source>1.5</maven.compile.source> - <maven.compile.target>1.5</maven.compile.target> - </properties> + <!--Compile with ?--> + <maven.compile.source>1.5</maven.compile.source> + <maven.compile.target>1.5</maven.compile.target> + <maven.test.skip>true</maven.test.skip> + </properties> + <!--who the developers are for the project--> <repositories> - <repository> + <repository> <id>codelutin-repository</id> <name>CodeLutinRepository</name> - <url> http://lutinbuilder.labs.libre-entreprise.org/maven2 </url> + <url>http://lutinbuilder.labs.libre-entreprise.org/maven2</url> </repository> </repositories> <build> @@ -74,7 +76,7 @@ <outputEncoding>UTF-8</outputEncoding> <locales>fr,en</locales> </configuration> - </plugin> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> @@ -87,7 +89,7 @@ </plugin> </plugins> </build> - + <!--Librairies--> <dependencies> <dependency> @@ -103,9 +105,9 @@ <scope>compile</scope> </dependency> <dependency> - <groupId>lutinlib</groupId> + <groupId>org.codelutin</groupId> <artifactId>lutinutil</artifactId> - <version>0.29</version> + <version>0.30-SNAPSHOT</version> <scope>compile</scope> </dependency> <dependency> @@ -155,7 +157,7 @@ <site> <id>labs</id> <url> - scp://labs.libre-entreprise.org/home/groups/${pom.artifactId}/htdocs/ + scp://labs.libre-entreprise.org/home/groups/${pom.artifactId}/htdocs/ </url> </site> </distributionManagement> Modified: trunk/jrst2/src/java/org/codelutin/jrst/JRSTLexer.java =================================================================== --- trunk/jrst2/src/java/org/codelutin/jrst/JRSTLexer.java 2008-08-05 12:07:21 UTC (rev 179) +++ trunk/jrst2/src/java/org/codelutin/jrst/JRSTLexer.java 2008-08-05 12:39:27 UTC (rev 180) @@ -1,6 +1,6 @@ /* *##% * Copyright (C) 2006 - * Code Lutin, C�dric Pineau, Benjamin Poussin + * Code Lutin, Cédric Pineau, Benjamin Poussin * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -47,10 +47,10 @@ /** * Le principe est de positionner la mark du {@link AdvancedReader} lors du * debut d'une methode peek*, puis a la fin de la methode de regarder le nombre - * de caractere utilis� pour la methode et de faire un reset. + * de caractere utilisé pour la methode et de faire un reset. * <p> - * Le nombre de caractere utilis� servira pour le remove lorsque l'utilisateur - * indiquera qu'il utilise l'element retourn�, si l'utilisateur n'appelle pas + * Le nombre de caractere utilisé servira pour le remove lorsque l'utilisateur + * indiquera qu'il utilise l'element retourné, si l'utilisateur n'appelle pas * remove alors il peut relire autant de fois qu'il veut le meme element, ou * essayer d'en lire un autre. * <p> Property changes on: trunk/maven-jrst-plugin ___________________________________________________________________ Name: svn:ignore + target .classpath .project .settings *.ipr *.iws Modified: trunk/maven-jrst-plugin/src/java/org/codelutin/jrst/plugin/JRstPlugin.java =================================================================== --- trunk/maven-jrst-plugin/src/java/org/codelutin/jrst/plugin/JRstPlugin.java 2008-08-05 12:07:21 UTC (rev 179) +++ trunk/maven-jrst-plugin/src/java/org/codelutin/jrst/plugin/JRstPlugin.java 2008-08-05 12:39:27 UTC (rev 180) @@ -1,6 +1,6 @@ /* *##% * Copyright (C) 2006 - * Code Lutin, Cédric Pineau, Benjamin Poussin + * Code Lutin, Cédric Pineau, Benjamin Poussin * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -42,7 +42,7 @@ import java.io.IOException; /** - * Génére du xdoc à partir de fichiers Rst + * Génére du xdoc à partir de fichiers Rst * <p/> * Les fichiers rst sont dans les repertoires: * <li> src/site/fr/rst/ @@ -86,7 +86,7 @@ private String outputEncoding = "UTF-8"; /** - * Répertoire cible des fichiers xdoc générée + * Répertoire cible des fichiers xdoc générée * * @parameter default-value="target/site-build" * @required @@ -94,14 +94,14 @@ private String directoryOut = "target/site-build"; /** - * Arr�te la g�n�ration en cas d'erreurs + * Arréte la génération en cas d'erreurs * * @parameter default-value="true" */ private boolean ignoreErrors = true; /** - * Ecrase les fichiers g�n�r�s + * Ecrase les fichiers générés * * @parameter default-value="ifnewer" */ @@ -128,13 +128,12 @@ private int numberFilesGenerates; /** - * Retourne la langue par defaut precisé dans le pom.xml + * Retourne la langue par defaut precisé dans le pom.xml * * @return */ protected String getDefaultLocale() { - String result = defaultLocale; - return result; + return defaultLocale; } /** @return the overwrite */ @@ -162,7 +161,7 @@ } private void actionGenerate() { - getLog().info("Génération des fichier xdocs à partir des fichiers rst"); + getLog().info("Génération des fichier xdocs à partir des fichiers rst"); numberFilesGenerates = 0; FileUtil.walkAfter(new File(directoryIn), this); getLog().info("Generating " + numberFilesGenerates + " files to " + directoryOut); @@ -203,7 +202,7 @@ private void actionCopy() { getLog().info("Copie des fichiers images"); - /* Execution de la tâche ant copy */ + /* Execution de la tâche ant copy */ try { if (defaultLocale != null && !"".equals(defaultLocale)) { @@ -250,7 +249,7 @@ getLog().error(eee); } -// /* Création d'un projet ant */ +// /* Création d'un projet ant */ // Project project = new Project(); // // BuildLogger logger = new NoBannerLogger(); @@ -262,7 +261,7 @@ // project.getBaseDir(); // project.addBuildListener(logger); // -// /* Création de la tâche ant Copy */ +// /* Création de la tâche ant Copy */ // Copy copy = new Copy(); // copy.setProject(project); // copy.setTaskName("Copy images");
participants (1)
-
tchemit@users.labs.libre-entreprise.org