Author: tchemit Date: 2009-10-09 09:23:00 +0200 (Fri, 09 Oct 2009) New Revision: 1571 Modified: branches/jaxx-2.X/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java branches/jaxx-2.X/maven-jaxx-plugin/pom.xml branches/jaxx-2.X/maven-jaxx-plugin/src/site/rst/index.rst branches/jaxx-2.X/maven-jaxx-plugin/src/site/site.xml Log: fix javadoc + documentation Modified: branches/jaxx-2.X/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java =================================================================== --- branches/jaxx-2.X/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java 2009-10-08 21:10:15 UTC (rev 1570) +++ branches/jaxx-2.X/jaxx-compiler/src/main/java/jaxx/compiler/JAXXCompiler.java 2009-10-09 07:23:00 UTC (rev 1571) @@ -93,11 +93,11 @@ */ public static final int INLINE_THRESHOLD = 300; /** - * + * The unique object handler used in first pass */ protected final DefaultObjectHandler firstPassClassTagHandler; /** - * + * list of static imports */ protected List<String> staticImports = new ArrayList<String>(); @@ -133,7 +133,7 @@ */ protected List<DataBinding> dataBindings = new ArrayList<DataBinding>(); /** - * + * table of symbols for this compiler */ protected SymbolTable symbolTable = new SymbolTable(); /** @@ -250,7 +250,7 @@ */ protected JavaFile javaFile; /** - * + * configuration of the compiler */ protected CompilerConfiguration configuration; /** @@ -270,7 +270,7 @@ */ protected Map<CompiledObject, String> ids = new LinkedHashMap<CompiledObject, String>(); /** - * + * default decodator to use if none specified */ protected CompiledObjectDecorator defaultDecorator; Modified: branches/jaxx-2.X/maven-jaxx-plugin/pom.xml =================================================================== --- branches/jaxx-2.X/maven-jaxx-plugin/pom.xml 2009-10-08 21:10:15 UTC (rev 1570) +++ branches/jaxx-2.X/maven-jaxx-plugin/pom.xml 2009-10-09 07:23:00 UTC (rev 1571) @@ -77,12 +77,6 @@ <groupId>org.apache.maven.shared</groupId> <artifactId>maven-verifier</artifactId> </dependency> - - <!-- <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> - <version>1.5</version> - </dependency>--> <dependency> <groupId>commons-lang</groupId> Modified: branches/jaxx-2.X/maven-jaxx-plugin/src/site/rst/index.rst =================================================================== --- branches/jaxx-2.X/maven-jaxx-plugin/src/site/rst/index.rst 2009-10-08 21:10:15 UTC (rev 1570) +++ branches/jaxx-2.X/maven-jaxx-plugin/src/site/rst/index.rst 2009-10-09 07:23:00 UTC (rev 1571) @@ -4,10 +4,23 @@ .. contents:: -Présentation +Introduction ------------ -Le plugin maven pour lancer le compilateur jaxx dans un projet maven TODO +The plugin permits to generate java files from jaxx files via the `generate`_ goal. -**Veuillez consulter la JavaDoc pour de plus ample détails sur les différentes -librairies.** +You can also generate the java help system via the `generate-help`_ goal. + +Default layout +-------------- + +The plugin defines some directory layout convention, using them is a great +benefit. + + * the jaxx files should be under *src/main/java* + * the generated java files should be under *target/generated-sources/java* + * the java help files should be under *src/main/help* + +.. _generate: generate-mojo.html + +.. _generate-help: generate-help-mojo.html Modified: branches/jaxx-2.X/maven-jaxx-plugin/src/site/site.xml =================================================================== --- branches/jaxx-2.X/maven-jaxx-plugin/src/site/site.xml 2009-10-08 21:10:15 UTC (rev 1570) +++ branches/jaxx-2.X/maven-jaxx-plugin/src/site/site.xml 2009-10-09 07:23:00 UTC (rev 1571) @@ -19,17 +19,11 @@ <item name="Accueil" href="index.html"/> <item name="Détail goals" href="plugin-info.html"> <item name="generate" href="generate-mojo.html"/> + <item name="generate-help" href="generate-help-mojo.html"/> <item name="help" href="help-mojo.html"/> </item> </menu> - <menu name="Téléchargement" inherit="top"> - <item href="${labs.builder.url}/org/codelutin/jaxx/${project.artifactId}/${project.version}" - name="Télécharger la dernière version"/> - <item href="${labs.builder.url}/org/codelutin/jaxx/${project.artifactId}" - name="Voir toutes les versions"/> - </menu> - <menu name="Développeur" inherit="top"> <item name="A faire" href="Todo.html"/> </menu>