summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmusset2009-03-05 11:39:24 (EST)
committerjmusset2009-03-05 11:39:24 (EST)
commit104c5c25c9c1d29743a455a1e50079398cdd31b3 (patch)
tree91fc77e13df215cd99b968fd7d7a029dbcb49846
parent9d7b9e36fc2770ff27a792ddd4b9ecbb039271bf (diff)
downloadorg.eclipse.acceleo-104c5c25c9c1d29743a455a1e50079398cdd31b3.zip
org.eclipse.acceleo-104c5c25c9c1d29743a455a1e50079398cdd31b3.tar.gz
org.eclipse.acceleo-104c5c25c9c1d29743a455a1e50079398cdd31b3.tar.bz2
Project renaming from MTL to Acceleo
-rw-r--r--doc/org.eclipse.acceleo.doc/.classpath6
-rw-r--r--doc/org.eclipse.acceleo.doc/.project28
-rw-r--r--doc/org.eclipse.acceleo.doc/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--doc/org.eclipse.acceleo.doc/META-INF/MANIFEST.MF11
-rw-r--r--doc/org.eclipse.acceleo.doc/about.html29
-rw-r--r--doc/org.eclipse.acceleo.doc/about.ini15
-rw-r--r--doc/org.eclipse.acceleo.doc/about.mappings5
-rw-r--r--doc/org.eclipse.acceleo.doc/about.properties27
-rw-r--r--doc/org.eclipse.acceleo.doc/build.properties27
-rw-r--r--doc/org.eclipse.acceleo.doc/build.xml136
-rw-r--r--doc/org.eclipse.acceleo.doc/build/antJavadoc.sh142
-rw-r--r--doc/org.eclipse.acceleo.doc/build/javadoc.xml.template96
-rw-r--r--doc/org.eclipse.acceleo.doc/build/overview.html33
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/Legal.html23
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/Makefile11
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/html/new_module.html332
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/html/new_ui_module.html267
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/html/plugin_overview.html509
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_ant.pngbin0 -> 105136 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_breakpoint_condition.pngbin0 -> 7605 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-for.pngbin0 -> 9442 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-if.pngbin0 -> 47064 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-mm.pngbin0 -> 21604 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-top-level.pngbin0 -> 17394 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion.pngbin0 -> 46406 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_debugger.pngbin0 -> 83147 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor.pngbin0 -> 43790 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_example.pngbin0 -> 51384 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_overview.pngbin0 -> 105504 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_java.pngbin0 -> 38494 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_launch-configuration.pngbin0 -> 84425 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_module_java_result.pngbin0 -> 23527 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_new_template_wizard.pngbin0 -> 33933 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_perspective.pngbin0 -> 25024 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_project-structure.pngbin0 -> 20207 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/acceleo_search-references-1.pngbin0 -> 66551 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project.pngbin0 -> 51945 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_1.pngbin0 -> 35430 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_2.pngbin0 -> 33933 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_result.pngbin0 -> 47086 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project.pngbin0 -> 33452 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_1.pngbin0 -> 30765 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_2.pngbin0 -> 31621 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_3.pngbin0 -> 30414 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_result.pngbin0 -> 39890 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/perspective.pngbin0 -> 24707 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/images/uml_model_example.pngbin0 -> 18107 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/overview.html32
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/rst/new_module.rst117
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/rst/new_ui_module.rst39
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/rst/plugin_overview.rst299
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/rst2html.bat8
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/style/lsr.css220
-rw-r--r--doc/org.eclipse.acceleo.doc/doc/stylesheet.css397
-rw-r--r--doc/org.eclipse.acceleo.doc/index/indexed_contributions3
-rw-r--r--doc/org.eclipse.acceleo.doc/index/indexed_dependencies4
-rw-r--r--doc/org.eclipse.acceleo.doc/index/indexed_docs2
-rw-r--r--doc/org.eclipse.acceleo.doc/index/segmentsbin0 -> 20 bytes
-rw-r--r--doc/org.eclipse.acceleo.doc/plugin.properties14
-rw-r--r--doc/org.eclipse.acceleo.doc/plugin.xml37
-rw-r--r--doc/org.eclipse.acceleo.doc/references/.cvsignore0
-rw-r--r--doc/org.eclipse.acceleo.doc/toc.xml20
-rw-r--r--doc/org.eclipse.acceleo.doc/topics_Reference.xml3
63 files changed, 2899 insertions, 0 deletions
diff --git a/doc/org.eclipse.acceleo.doc/.classpath b/doc/org.eclipse.acceleo.doc/.classpath
new file mode 100644
index 0000000..c835067
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/.classpath
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/doc/org.eclipse.acceleo.doc/.project b/doc/org.eclipse.acceleo.doc/.project
new file mode 100644
index 0000000..d0fceaa
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.acceleo.doc</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/doc/org.eclipse.acceleo.doc/.settings/org.eclipse.jdt.core.prefs b/doc/org.eclipse.acceleo.doc/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..85d3182
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Wed Jul 23 10:09:51 CEST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/doc/org.eclipse.acceleo.doc/META-INF/MANIFEST.MF b/doc/org.eclipse.acceleo.doc/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..206a39c
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.acceleo.doc; singleton:=true
+Bundle-Version: 0.8.0.qualifier
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.help
+Eclipse-LazyStart: true
+Bundle-ActivationPolicy: lazy
diff --git a/doc/org.eclipse.acceleo.doc/about.html b/doc/org.eclipse.acceleo.doc/about.html
new file mode 100644
index 0000000..5b47ee0
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/about.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+ <h3>About This Content</h3>
+
+ <p>June 5, 2007</p>
+ <h3>License</h3>
+
+ <p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).
+ Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
+ Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+ at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+ <p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+ being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the Redistributor's license
+ that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+ indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+ and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+ <p align="right"><small><a href="#top">go to top</a></small></p>
+
+</body>
+</html> \ No newline at end of file
diff --git a/doc/org.eclipse.acceleo.doc/about.ini b/doc/org.eclipse.acceleo.doc/about.ini
new file mode 100644
index 0000000..b7e87ca
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/about.ini
@@ -0,0 +1,15 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%featureText
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=modeling32.png
+
+# Property "appName" contains name of the application (translated)
+appName=%featureName
+
diff --git a/doc/org.eclipse.acceleo.doc/about.mappings b/doc/org.eclipse.acceleo.doc/about.mappings
new file mode 100644
index 0000000..7d795dc
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/about.mappings
@@ -0,0 +1,5 @@
+# This file contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
+0=@build@
diff --git a/doc/org.eclipse.acceleo.doc/about.properties b/doc/org.eclipse.acceleo.doc/about.properties
new file mode 100644
index 0000000..b29e143
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/about.properties
@@ -0,0 +1,27 @@
+################################################################################
+# Copyright (c) 2008, 2009 Obeo.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Obeo - initial API and implementation
+################################################################################
+# NLS_MESSAGEFORMAT_VAR
+
+# about.properties
+# contains externalized strings for about.ini
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# fill-ins are supplied by about.mappings
+# This file should be translated.
+
+featureName=Model to Text Language Documentation
+
+featureText=Model to Text Language Documentation\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+(c) Copyright Eclipse contributors and others. 2008. All rights reserved.\n\
+Visit http://www.eclipse.org/modeling/m2t/?project=acceleo#acceleo
+
diff --git a/doc/org.eclipse.acceleo.doc/build.properties b/doc/org.eclipse.acceleo.doc/build.properties
new file mode 100644
index 0000000..69cfde7
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/build.properties
@@ -0,0 +1,27 @@
+################################################################################
+# Copyright (c) 2008, 2009 Obeo.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Obeo - initial API and implementation
+################################################################################
+output.. = bin/
+custom = true
+bin.includes = plugin.xml,\
+ META-INF/,\
+ about.html,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ plugin.properties,\
+ doc/,\
+ *.xml,\
+ *.zip
+src.includes = toc.xml,\
+ *.zip,\
+ plugin.xml,\
+ META-INF/
+
diff --git a/doc/org.eclipse.acceleo.doc/build.xml b/doc/org.eclipse.acceleo.doc/build.xml
new file mode 100644
index 0000000..281a0d2
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/build.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.eclipse.acceleo.doc" default="build.jars" basedir=".">
+
+ <property file="${buildDirectory}/finalPluginsVersions.properties"/>
+ <property name="pluginVersion" value="${org.eclipse.acceleo.doc}"/>
+
+
+ <property name="plugin" value="org.eclipse.acceleo.common"/>
+ <property name="docPlugin" value="org.eclipse.acceleo.doc"/>
+
+ <property name="filesToInclude" value="META-INF/**,about.html,about.ini,about.mappings,about.properties,modeling*.png,plugin.xml,plugin.properties,doc.zip,*.xml,index/**,doc/**,references/**"/>
+ <property name="filesToExclude" value="**/*.dnx"/>
+
+ <!-- Compiler settings. -->
+ <property name="javacFailOnError" value="false"/>
+ <property name="javacDebugInfo" value="on"/>
+ <property name="javacVerbose" value="true"/>
+ <property name="javacSource" value="1.5"/>
+ <property name="javacTarget" value="1.5"/>
+ <property name="compilerArg" value=""/>
+ <path id="path_bootclasspath">
+ <fileset dir="${java.home}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ <property name="bootclasspath" refid="path_bootclasspath"/>
+
+ <property name="bundleJavacSource" value="${javacSource}"/>
+ <property name="bundleJavacTarget" value="${javacTarget}"/>
+ <property name="bundleBootClasspath" value="${bootclasspath}"/>
+ <property name="basews" value="${ws}"/>
+ <property name="baseos" value="${os}"/>
+ <property name="basearch" value="${arch}"/>
+ <property name="basenl" value="${nl}"/>
+
+ <target name="init" depends="properties">
+ <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+ <isset property="buildTempFolder"/>
+ </condition>
+ <property name="pluginTemp" value="${basedir}"/>
+ <condition property="build.result.folder" value="${pluginTemp}/${docPlugin}">
+ <isset property="buildTempFolder"/>
+ </condition>
+ <property name="build.result.folder" value="${basedir}"/>
+ <property name="temp.folder" value="${basedir}/temp.folder"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ </target>
+
+ <target name="properties" if="eclipse.running">
+ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+
+ </target>
+
+ <target name="build.update.jar" depends="init" description="Build the plug-in: ${plugin} for an update site.">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.jar" basedir="${temp.folder}/${docPlugin}_${pluginVersion}" filesonly="false" whenempty="skip" update="false"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the plug-in: ${docPlugin}.">
+ <!-- Execute a shell script that will create an ant javadoc script and then run it for us -->
+ <exec executable="sh">
+ <arg value="build/antJavadoc.sh"/>
+ <arg value="${eclipse.home}/../eclipse"/>
+ </exec>
+ <!--
+ <antcall target="build.index"/>
+ -->
+
+ <!-- Zip up all of the documentation artifacts - references(including javadoc), images, tutorials, etc. -->
+ <zip destfile="doc.zip" compress="true">
+ <!-- Add new folders for documentation zip here. -->
+ <zipfileset dir="references" prefix="references" excludes="**/impl,**/impl/**"/>
+ <zipfileset dir="doc" prefix="doc"/>
+ <zipfileset dir="index" prefix="index"/>
+ </zip>
+ </target>
+
+ <target name="build.index" depends="init" description="Builds search index for the plug-in" if="eclipse.running">
+ <help.buildHelpIndex manifest="plugin.xml" destination="."/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/${docPlugin}_${pluginVersion}"/>
+ <copy todir="${destination.temp.folder}/${docPlugin}_${pluginVersion}" failonerror="true" overwrite="false">
+ <fileset dir="${basedir}"
+ includes="${filesToInclude}"
+ excludes="${filesToExclude}"/>
+ </copy>
+ <eclipse.versionReplacer
+ path="${destination.temp.folder}/${docPlugin}_${pluginVersion}"
+ version="${pluginVersion}"/>
+ </target>
+
+ <target name="build.zips" depends="init">
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp.folder">
+ </target>
+
+ <target name="gather.logs" depends="init" if="destination.temp.folder">
+ </target>
+
+ <target name="clean" depends="init" description="Clean the plug-in: ${docPlugin} of all the zips, jars and logs created.">
+ <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.jar"/>
+ <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.zip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: ${docPlugin}.">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="build.sources"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <antcall target="gather.sources">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <delete>
+ <fileset dir="${temp.folder}" includes="**/*.bin.log" />
+ </delete>
+ <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+</project>
diff --git a/doc/org.eclipse.acceleo.doc/build/antJavadoc.sh b/doc/org.eclipse.acceleo.doc/build/antJavadoc.sh
new file mode 100644
index 0000000..56d9a69
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/build/antJavadoc.sh
@@ -0,0 +1,142 @@
+#!/bin/sh
+
+# BEGIN CUSTOMIZATIONS
+
+# The plugin name
+pluginName="org.eclipse.acceleo.source";
+
+# string labels for javadoc content
+windowTitle="acceleo Javadoc";
+groupTitle="acceleo";
+
+# files to exclude from javadoc process - use Ant syntax
+javadocExclusions="<exclude name=\"**/internal/**\"/> <exclude name=\"**/examples/**\"/> <exclude name=\"**/tests/**\"/>";
+
+# END CUSTOMIZATIONS
+
+##########################################################################
+
+debug=0; if [ $debug -gt 0 ]; then echo "[antJd] debug: "$debug; fi
+
+if [ "x"$ANT_HOME = "x" ]; then export ANT_HOME=/opt/apache-ant-1.6; fi
+if [ "x"$JAVA_HOME = "x" ]; then export JAVA_HOME=/opt/ibm-java2-1.4; fi
+export PATH=${PATH}:${ANT_HOME}/bin
+
+# current directory - all but the name of this script, no trailing slash
+currentPath=$PWD"/"$0; currentPath=${currentPath%/*}; if [ $debug -gt 0 ]; then echo "[antJd] currentPath: "$currentPath; fi
+
+# path to $buildID/eclipse/plugins, no trailing slash
+pluginPath=${currentPath%/$pluginName*}/../..; if [ $debug -gt 0 ]; then echo "[antJd] pluginName: "$pluginName; echo "[antJd] pluginPath: "$pluginPath; fi
+
+# ant script to create and then execute
+antScript=$currentPath"/javadoc.xml"; if [ $debug -gt 0 ]; then echo "[antJd] antScript: "$antScript; fi
+
+# The eclipse directory
+eclipseDir=`cd $1; echo $PWD`; if [ $debug -gt 0 ]; then echo "[antJd] eclipseDir: "$eclipseDir; fi
+
+# The destination directory
+destDir=$currentPath/../references/javadoc; mkdir -p $destDir; destDir=`cd $destDir; echo $PWD`; # resolve relative path
+if [ $debug -gt 0 ]; then echo "[antJd] destDir: "$destDir; fi
+
+hasToken=`grep -c "@plugin@" $antScript".template"`;
+if [ $hasToken -gt 0 ]; then
+ srcDir=$pluginPath/$pluginName/src; if [ $debug -gt 0 ]; then echo "[antJd] srcDir: "$srcDir; fi
+ if [ -d "$srcDir" ]; then
+ if [ `find $srcDir -name "*.java" | grep -c .` -eq 0 ]; then # must unpack zips first
+ if [ $debug -gt 0 ]; then echo "[antJd] Unpacking *src.zip"; fi
+ for f in `find $srcDir -name "*src.zip"`; do
+ if [ $debug -gt 1 ]; then echo "[antJd] Unpack $f"; fi
+ unzip -q -d $srcDir $f;
+ done
+ fi
+ if [ $debug -gt 0 ]; then echo "[antJd] *.java in srcDir: "; echo "-----------------"; echo `find $srcDir -type f -name '*.java'`; echo "-----------------"; fi
+ packages=`find $srcDir -type f -name '*.java' -exec grep -e '^package .*;' {} \; | sed -e 's/^package *\(.*\);/\1/' | sed -e 's/[ ]*//g' | dos2unix | sort | uniq | xargs | sed -e 's/ /:/g'`;
+ if [ $debug -gt 1 ]; then echo "[antJd] packages1: "$packages; fi
+ packages=`echo $packages | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`; # slash escape
+ if [ $debug -gt 1 ]; then echo "[antJd] packages2: "$packages; fi
+ sed -e "s/\@plugin\@/${packages}/g" $antScript.template > $antScript.template.tmp;
+ else
+ echo "[antJd] ERROR! "$srcDir" does not exist!";
+ #let's remove the exit so that even if the code is not there the doc gets created..
+ #exit 1;
+ fi
+else
+ echo "[antJd] ERROR! "$currentPath"/javadoc.xml.template does not contain token @plugin@!";
+ exit 1;
+fi
+
+# Finds plugins in the Workspace:
+pluginDirs=`find $pluginPath -name "${pluginName}*" -maxdepth 1 -type d -printf '%T@ %p\n' | sort -n | cut -f2 -d' '`;
+if [ $debug -gt 0 ]; then
+ echo "[antJd] pluginDirs:";
+ for pluginDir in $pluginDirs; do echo "[antJd] "$pluginDir; done
+fi
+
+# All the jars in the plugins directory
+classpath="."`find $eclipseDir/plugins -name "*.jar" -printf ":%p"`; if [ $debug -gt 0 ]; then echo "[antJd] classpath: "$classpath; fi
+
+# Calculates the packagesets and the calls to copyDocFiles
+packagesets="";
+copydocfiles="";
+for pluginDir in $pluginDirs; do
+ pluginDir=`echo $pluginDir | sed -e 's/\/runtime$//g'`;
+ srcDir=$pluginDir/src;
+ if [ $debug -gt 0 ]; then echo "[antJd] srcDir: "$srcDir; fi
+ if [ -d "$srcDir" ]; then
+ # define what to include when javadoc'ing here:
+ packagesets=$packagesets"<packageset dir=\"$srcDir\"> ";
+ packagesets=$packagesets"<exclude name=\"$srcDir/**/doc-files/**\"/> ";
+ packagesets=$packagesets""$javadocExclusions;
+ packagesets=$packagesets"</packageset>";
+ copydocfiles=$copydocfiles"<copyDocFiles pluginDir=\"$pluginDir\"/>";
+ fi
+done
+if [ $debug -gt 0 ]; then
+ echo "[antJd] packagesets:"; echo $packagesets;
+ echo "[antJd] copydocfiles:"; echo $copydocfiles;
+fi
+
+# Finds the proper org.eclipse.platform.doc.isv jar
+docjar=`find $eclipseDir/plugins/ -name "org.eclipse.platform.doc.isv*.jar" -printf "%f"`; if [ $debug -gt 1 ]; then echo "[antJd] docjar: "$docjar; fi
+
+if [ -f $antScript.template ]; then
+ true;
+else
+ cp $antScript.template $antScript.template.tmp;
+fi
+
+# do replacements in template
+if [ $debug -gt 1 ]; then echo "[antJd] Replace @packagesets@ in the template ..."; fi
+packagesets=`echo $packagesets | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`;
+sed -e "s/\@packagesets\@/${packagesets}/g" $antScript.template.tmp > $antScript.template.tmp2;
+
+if [ $debug -gt 1 ]; then echo "[antJd] Replace @copydocfiles@ in the template ..."; fi
+copydocfiles=`echo $copydocfiles | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`;
+sed -e "s/\@copydocfiles\@/${copydocfiles}/g" $antScript.template.tmp2 > $antScript;
+
+#run ant to do javadoc build
+ant -f $antScript \
+ -DdestDir="$destDir" \
+ -Dclasspath="$classpath" \
+ -DeclipseDir="$eclipseDir" \
+ -Ddocjar="$docjar" \
+ -DwindowTitle="$windowTitle" \
+ -DgroupTitle="$groupTitle" \
+ -Doverview="$currentPath/overview.html";
+
+# Clean up templates
+rm -f $antScript $antScript.template.tmp $antScript.template.tmp2;
+
+# Generate topics_Reference.xml (replacement for doclet).
+trXML=$currentPath"/../topics_Reference.xml";
+echo '<?xml version="1.0" encoding="UTF-8"?>' > $trXML;
+echo '<?NLS TYPE="org.eclipse.help.toc"?>' >> $trXML;
+echo '<toc label="Reference">' >> $trXML;
+echo ' <topic label="API Reference" href="references/javadoc/overview-summary.html">' >> $trXML;
+for packSum in `find $destDir -name "package-summary.html" | sort`; do
+ path=${packSum%/package-summary.html}; path=${path#$destDir/}; # org/eclipse/xsd/ecore/importer/taskdefs
+ label=${path//\//.}; # org.eclipse.xsd.ecore.importer.taskdefs
+ echo ' <topic label="'$label'" href="references/javadoc/'$path'/package-summary.html" />' >> $trXML;
+done
+echo ' </topic>' >> $trXML;
+echo '</toc>' >> $trXML; \ No newline at end of file
diff --git a/doc/org.eclipse.acceleo.doc/build/javadoc.xml.template b/doc/org.eclipse.acceleo.doc/build/javadoc.xml.template
new file mode 100644
index 0000000..56058ec
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/build/javadoc.xml.template
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Plugin Javadoc" default="javadoc">
+ <property name="destDir" value="doc"/>
+ <property name="classpath" value="bin"/>
+ <property name="overview" value="build/overview.html"/>
+ <property name="eclipseDir" value="."/>
+ <property name="docjar" value="org.eclipse.acceleo.doc.isv.jar"/>
+
+ <!-- other properties that must be passed to this script include:
+ windowTitle
+ groupTitle
+ -->
+
+ <property environment="env"/>
+ <property name="javaHome" value="${env.JAVA_HOME}"/>
+
+ <property name="javadoc.link.location" value="${eclipseDir}/javadoc"/>
+ <available property="platformJavadocExists" file="${javadoc.link.location}/platform/"/>
+
+ <!-- TODO Enable linking to the platform javadoc -->
+ <!-- <target name="extractPlatformJavadoc" unless="platformJavadocExists">
+ <exec executable="find">
+ <arg value="${eclipseDir}/.."/>
+ <arg value="-type"/>
+ <arg value="d"/>
+ <arg value="-name"/>
+ <arg value="javadoc"/>
+ </exec>
+ <unzip src="${eclipseDir}/@docjar@" dest="${javadoc.link.location}/platform/"/>
+ </target> -->
+
+ <!-- TODO Enable linking to the platform javadoc -->
+ <!-- <target name="javadoc" depends="extractPlatformJavadoc"> -->
+
+ <target name="javadoc">
+ <javadoc
+ destdir="${destDir}"
+ classpath="${classpath}"
+ overview="${overview}"
+
+ windowtitle="${windowTitle}"
+ footer="Copyright 2008 Obeo &lt;br&gt; All Rights Reserved."
+
+ access="protected"
+ additionalparam="-breakiterator -tag model:X -tag generated:X -tag ordered:X"
+ author="false"
+ breakiterator="true"
+ charset="UTF-8"
+ docencoding="UTF-8"
+ nodeprecated="false"
+ nodeprecatedlist="false"
+ noindex="false"
+ nonavbar="false"
+ notree="false"
+ source="1.5"
+ splitindex="true"
+ use="true"
+ version="true">
+ <arg value="-J-Xmx256m"/>
+
+ <link offline="true" href="http://java.sun.com/j2se/1.4/docs/api/" packagelistLoc="${javaHome}/docs/api/"/>
+ <!-- TODO Enable link to platform documentation -->
+ <!-- <link offline="true" href="/help/topic/org.eclipse.platform.doc.isv/reference/api/" packagelistLoc="${javadoc.link.location}/platform/reference/api/"/> -->
+
+ <tag name="ignore" description="ignore" enabled="false"/>
+ <tag name="generated" description="ignore" enabled="false"/>
+ <tag name="model" description="ignore" enabled="false"/>
+ <tag name="modifiable" description="ignore" enabled="false"/>
+ <tag name="extends" description="ignore" enabled="false"/>
+ <tag name="implements" description="ignore" enabled="false"/>
+ <tag name="ordered" description="ignore" enabled="false"/>
+
+ <!-- If you add a @ plugin @ below, don't forget to update the antjavadoc.sh file -->
+
+ <group title="${groupTitle}" packages="@plugin@"/>
+
+ <!-- If you add a @ plugin @ above, don't forget to update the antjavadoc.sh file -->
+
+ @packagesets@
+
+ </javadoc>
+
+ <!-- make sure the doc-files are copied -->
+ <macrodef name="copyDocFiles">
+ <attribute name="pluginDir"/>
+ <sequential>
+ <copy todir="${destDir}" failonerror="false">
+ <fileset dir="@{pluginDir}/src" includes="**/doc-files/**"/>
+ </copy>
+ </sequential>
+ </macrodef>
+
+ @copydocfiles@
+
+ </target>
+</project> \ No newline at end of file
diff --git a/doc/org.eclipse.acceleo.doc/build/overview.html b/doc/org.eclipse.acceleo.doc/build/overview.html
new file mode 100644
index 0000000..fb5fdbd
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/build/overview.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<!--
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2008, 2009 Obeo
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ *
+ * </copyright>
+ *
+ * $Id: overview.html,v 1.1 2009/03/05 16:39:24 jmusset Exp $
+ */
+-->
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head>
+<body bgcolor="white">
+<!-- This plug-in provides an API for .... -->
+<!-- The summary links point here when the contents are "copied". -->
+<!--
+<a name="details"></a>
+Please refer to the ... and ... package documentation for API details.
+-->
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/Legal.html b/doc/org.eclipse.acceleo.doc/doc/Legal.html
new file mode 100644
index 0000000..c55b27b
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/Legal.html
@@ -0,0 +1,23 @@
+<!-- Copyright (c) Obeo 2008 -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+
+<html>
+<head>
+<meta name="copyright" content="Copyright (c) Obeo 2008.">
+
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link rel="STYLESHEET" href="stylesheet.css" charset="ISO-8859-1"
+ type="text/css">
+<title>Legal Notices</title>
+
+</head>
+
+<body>
+<h3><a name="Notices"></a>Notices</h3>
+
+<p>The material in these guides are Copyright (c) Obeo 2008.</p>
+
+<p><a href="../about.html">Terms and conditions regarding the use
+of these guides.</a></p>
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/Makefile b/doc/org.eclipse.acceleo.doc/doc/Makefile
new file mode 100644
index 0000000..346f84f
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/Makefile
@@ -0,0 +1,11 @@
+textfiles = $(wildcard rst/*.rst)
+htmlfiles := $(patsubst rst/%rst,html/%html,$(textfiles))
+
+
+html/%.html: rst/%.rst
+ rst2html $< > $@ --stylesheet=style/lsr.css
+
+html: $(htmlfiles)
+
+clean:
+ @rm -f $(htmlfiles) \ No newline at end of file
diff --git a/doc/org.eclipse.acceleo.doc/doc/html/new_module.html b/doc/org.eclipse.acceleo.doc/doc/html/new_module.html
new file mode 100644
index 0000000..b463cb0
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/html/new_module.html
@@ -0,0 +1,332 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
+<title>Acceleo Tutorial</title>
+<meta name="authors" content="Laurent Goubet" />
+<style type="text/css">
+
+/*
+Author: Peter Parente
+Date: 2008/01/22
+Version: 1.0
+Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
+*/
+
+body {
+ font: 100% sans-serif;
+ background: #ffffff;
+ color: black;
+ margin: 2em;
+ padding: 0em 2em;
+}
+
+p.topic-title {
+ font-weight: bold;
+}
+
+table.docinfo {
+ text-align: left;
+ margin: 2em 0em;
+}
+
+a[href] {
+ color: #436976;
+ background-color: transparent;
+}
+
+a.toc-backref {
+ text-decoration: none;
+}
+
+h1 a[href] {
+ color: #003a6b;
+ text-decoration: none;
+ background-color: transparent;
+}
+
+a.strong {
+ font-weight: bold;
+}
+
+img {
+ margin: 0;
+ border: 0;
+}
+
+p {
+ margin: 0.5em 0 1em 0;
+ line-height: 1.5em;
+}
+
+p a:visited {
+ color: purple;
+ background-color: transparent;
+}
+
+p a:active {
+ color: red;
+ background-color: transparent;
+}
+
+a:hover {
+ text-decoration: none;
+}
+
+p img {
+ border: 0;
+ margin: 0;
+}
+
+p.rubric {
+ font-weight: bold;
+ font-style: italic;
+}
+
+h1.title {
+ color: #003a6b;
+ font-size: 250%;
+ margin-bottom: 0em;
+}
+
+h2.subtitle {
+ color: #003a6b;
+ border-bottom: 0px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #555;
+ background-color: transparent;
+ margin: 0em;
+ padding-top: 0.5em;
+}
+
+h1 {
+ font-size: 160%;
+ margin-bottom: 0.5em;
+ border-bottom: 2px solid #aaa;
+}
+
+h2 {
+ font-size: 140%;
+ margin-bottom: 0.5em;
+ border-bottom: 1px solid #aaa;
+}
+
+h3 {
+ font-size: 130%;
+ margin-bottom: 0.5em;
+}
+
+h4 {
+ font-size: 110%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h5 {
+ font-size: 105%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h6 {
+ font-size: 100%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+dt {
+ font-style: italic;
+}
+
+dd {
+ margin-bottom: 1.5em;
+}
+
+div.admonition, div.note, div.tip, div.caution, div.important {
+ margin: 2em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+div.important {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+div.caution {
+ background: transparent url('../images/caution.png') 10px 2px no-repeat;
+}
+
+div.note {
+ background: transparent url('../images/note.png') 10px 2px no-repeat;
+}
+
+div.tip {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-example {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-critical-example {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+p.admonition-title {
+ font-weight: bold;
+ border-bottom: 1px solid #aaa;
+ padding-left: 30px;
+}
+
+table.docutils {
+ text-align: left;
+ border: 1px solid gray;
+ border-collapse: collapse;
+ width: 100%;
+ margin: 1.5em 0em;
+}
+
+table.docutils caption {
+ font-style: italic;
+}
+
+table.docutils td, table.docutils th {
+ padding: 0.25em 0.5em;
+}
+
+table.docutils th {
+ background-color: #dddddd;
+}
+
+div.sidebar {
+ width: 33%;
+ float: right;
+ margin: 0em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+p.sidebar-title {
+ margin-bottom: 0em;
+ color: #003a6b;
+ border-bottom: 1px solid #aaa;
+ font-weight: bold;
+}
+
+p.sidebar-subtitle {
+ margin-top: 0em;
+ font-style: italic;
+ color: #003a6b;
+}
+
+</style>
+</head>
+<body>
+<div class="document" id="acceleo-tutorial">
+<h1 class="title">Acceleo Tutorial</h1>
+<table class="docinfo" frame="void" rules="none">
+<col class="docinfo-name" />
+<col class="docinfo-content" />
+<tbody valign="top">
+<tr><th class="docinfo-name">Authors:</th>
+<td>Laurent Goubet</td></tr>
+<tr><th class="docinfo-name">Contact:</th>
+<td><a class="first last reference external" href="mailto:laurent.goubet&#64;obeo.fr">laurent.goubet&#64;obeo.fr</a></td></tr>
+</tbody>
+</table>
+<p>Copyright © 2008, Obeo™.</p>
+<div class="section" id="new-acceleo-project">
+<h1>New Acceleo project</h1>
+<p>The aim of an Acceleo project is to generate text from a model.
+For this tutorial, we will create a new Acceleo module for generating java beans from a UML model.</p>
+<img alt="../images/uml_model_example.png" src="../images/uml_model_example.png" />
+<p>To create a new Acceleo project, you can right click on the package explorer view then <em>New-&gt;Acceleo Module Project</em>.</p>
+<img alt="../images/new_acceleo_module_project.png" src="../images/new_acceleo_module_project.png" />
+<p>Choose a correct plugin name for the project, then click next.</p>
+<img alt="../images/new_acceleo_module_project_1.png" src="../images/new_acceleo_module_project_1.png" />
+<p>Next you can create a new Acceleo template.</p>
+<ul class="simple">
+<li>Select the folder in witch you want to create the new template.</li>
+<li>Then type the template name</li>
+<li>Optionally you can browse an existing file, which will be copied into the template. This could be useful to create a template from an existing file.</li>
+<li>Then choose the metamodel that will be used by the template ( UML in this example )</li>
+<li>Finally choose the metaclass that will be used to generate the file. ( Class )</li>
+</ul>
+<img alt="../images/new_acceleo_module_project_2.png" src="../images/new_acceleo_module_project_2.png" />
+<p>Clicking on finish will create the template(s), and some files associated with it ( more on these below ).</p>
+<img alt="../images/new_acceleo_module_project_result.png" src="../images/new_acceleo_module_project_result.png" />
+</div>
+<div class="section" id="the-template-editor">
+<h1>The template editor</h1>
+<p>The template editor provides the following features :</p>
+<ul class="simple">
+<li>Syntax highlighting</li>
+<li>Content assistant</li>
+<li>Error highlighting</li>
+<li>Dynamic outline</li>
+<li>Code folding</li>
+</ul>
+<img alt="../images/acceleo_editor.png" src="../images/acceleo_editor.png" />
+<p>For more information about the Acceleo syntax, please read the official OMG specification : &lt;<a class="reference external" href="http://www.omg.org/docs/ptc/07-08-16.pdf">http://www.omg.org/docs/ptc/07-08-16.pdf</a>&gt;</p>
+</div>
+<div class="section" id="creating-a-template-for-generating-java-beans">
+<h1>Creating a template for generating java beans</h1>
+<p>We would like to create a bean for each of the classes defined in the model.
+Here is the code for the template :</p>
+<pre class="literal-block">
+[module generate(http://www.eclipse.org/uml2/2.1.0/UML)/]
+
+[template public generate(c : Class)]
+ [file (c.name.concat('.java'), false)]
+ public class [c.name.toUpperFirst()/] {
+ [for (p : Property | c.attribute)]
+ private [p.type.name/] [p.name/];
+ [/for]
+ [for (p : Property | c.attribute)]
+ public [p.type.name/] get[p.name.toUpperFirst()/]() {
+ return this.[p.name/];
+ }
+ [/for]
+ [for (o : Operation | c.ownedOperation)]
+ public [o.type.name/] [o.name/]() {
+ // TODO should be implemented
+ }
+ [/for]
+ }
+ [/file]
+[/template]
+</pre>
+<p>As shown below, the content assistant provides choices for the UML metamodel :</p>
+<img alt="../images/acceleo_editor_example.png" src="../images/acceleo_editor_example.png" />
+<p>The resulting java file generated by this template will look like this :</p>
+<img alt="../images/acceleo_module_java_result.png" src="../images/acceleo_module_java_result.png" />
+</div>
+<div class="section" id="the-java-file">
+<h1>The java file</h1>
+<p>Note : This feature may evolve in future releases.</p>
+<p>Next to each template file, a java file with the same name is automatically generated.
+This allows you to launch the generation via the <em>doGenerate()</em> method.
+This can be achieved either by creating a new instance of the class, or calling the <em>main()</em> method of the file.</p>
+<img alt="../images/acceleo_java.png" src="../images/acceleo_java.png" />
+</div>
+<div class="section" id="the-ant-task">
+<h1>The ant task</h1>
+<p>Note : This feature may evolve in future releases.</p>
+<p>In the <em>tasks</em> folder can also be found an ant file which can be used to launch a generation with the specified template.
+In order to use this build file, copy it inside a project which contains the model to generate from, rename it to <em>build.xml</em> for example, then change the <em>MODEL</em> and <em>TARGET</em> properties.
+Launch the build via <em>External Tools &gt; Run As &gt; Ant Build</em>.</p>
+<img alt="../images/acceleo_ant.png" src="../images/acceleo_ant.png" />
+</div>
+</div>
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/html/new_ui_module.html b/doc/org.eclipse.acceleo.doc/doc/html/new_ui_module.html
new file mode 100644
index 0000000..92c576f
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/html/new_ui_module.html
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
+<title>Acceleo Tutorial</title>
+<meta name="authors" content="Laurent Goubet" />
+<style type="text/css">
+
+/*
+Author: Peter Parente
+Date: 2008/01/22
+Version: 1.0
+Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
+*/
+
+body {
+ font: 100% sans-serif;
+ background: #ffffff;
+ color: black;
+ margin: 2em;
+ padding: 0em 2em;
+}
+
+p.topic-title {
+ font-weight: bold;
+}
+
+table.docinfo {
+ text-align: left;
+ margin: 2em 0em;
+}
+
+a[href] {
+ color: #436976;
+ background-color: transparent;
+}
+
+a.toc-backref {
+ text-decoration: none;
+}
+
+h1 a[href] {
+ color: #003a6b;
+ text-decoration: none;
+ background-color: transparent;
+}
+
+a.strong {
+ font-weight: bold;
+}
+
+img {
+ margin: 0;
+ border: 0;
+}
+
+p {
+ margin: 0.5em 0 1em 0;
+ line-height: 1.5em;
+}
+
+p a:visited {
+ color: purple;
+ background-color: transparent;
+}
+
+p a:active {
+ color: red;
+ background-color: transparent;
+}
+
+a:hover {
+ text-decoration: none;
+}
+
+p img {
+ border: 0;
+ margin: 0;
+}
+
+p.rubric {
+ font-weight: bold;
+ font-style: italic;
+}
+
+h1.title {
+ color: #003a6b;
+ font-size: 250%;
+ margin-bottom: 0em;
+}
+
+h2.subtitle {
+ color: #003a6b;
+ border-bottom: 0px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #555;
+ background-color: transparent;
+ margin: 0em;
+ padding-top: 0.5em;
+}
+
+h1 {
+ font-size: 160%;
+ margin-bottom: 0.5em;
+ border-bottom: 2px solid #aaa;
+}
+
+h2 {
+ font-size: 140%;
+ margin-bottom: 0.5em;
+ border-bottom: 1px solid #aaa;
+}
+
+h3 {
+ font-size: 130%;
+ margin-bottom: 0.5em;
+}
+
+h4 {
+ font-size: 110%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h5 {
+ font-size: 105%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h6 {
+ font-size: 100%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+dt {
+ font-style: italic;
+}
+
+dd {
+ margin-bottom: 1.5em;
+}
+
+div.admonition, div.note, div.tip, div.caution, div.important {
+ margin: 2em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+div.important {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+div.caution {
+ background: transparent url('../images/caution.png') 10px 2px no-repeat;
+}
+
+div.note {
+ background: transparent url('../images/note.png') 10px 2px no-repeat;
+}
+
+div.tip {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-example {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-critical-example {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+p.admonition-title {
+ font-weight: bold;
+ border-bottom: 1px solid #aaa;
+ padding-left: 30px;
+}
+
+table.docutils {
+ text-align: left;
+ border: 1px solid gray;
+ border-collapse: collapse;
+ width: 100%;
+ margin: 1.5em 0em;
+}
+
+table.docutils caption {
+ font-style: italic;
+}
+
+table.docutils td, table.docutils th {
+ padding: 0.25em 0.5em;
+}
+
+table.docutils th {
+ background-color: #dddddd;
+}
+
+div.sidebar {
+ width: 33%;
+ float: right;
+ margin: 0em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+p.sidebar-title {
+ margin-bottom: 0em;
+ color: #003a6b;
+ border-bottom: 1px solid #aaa;
+ font-weight: bold;
+}
+
+p.sidebar-subtitle {
+ margin-top: 0em;
+ font-style: italic;
+ color: #003a6b;
+}
+
+</style>
+</head>
+<body>
+<div class="document" id="acceleo-tutorial">
+<h1 class="title">Acceleo Tutorial</h1>
+<table class="docinfo" frame="void" rules="none">
+<col class="docinfo-name" />
+<col class="docinfo-content" />
+<tbody valign="top">
+<tr><th class="docinfo-name">Authors:</th>
+<td>Laurent Goubet</td></tr>
+<tr><th class="docinfo-name">Contact:</th>
+<td><a class="first last reference external" href="mailto:laurent.goubet&#64;obeo.fr">laurent.goubet&#64;obeo.fr</a></td></tr>
+</tbody>
+</table>
+<p>Copyright © 2008, Obeo™.</p>
+<div class="section" id="new-acceleo-ui-project">
+<h1>New Acceleo UI project</h1>
+<p>Once your templates are ready, you may want to have some wizards to launch the generation from eclipse.
+You can use the ant tasks or the java code, but you can also use the <em>New Acceleo UI project</em> wizard.
+This wizard will create a new eclipse ui project which will allow the user to launch the generation via an eclipse action.
+The example below shows the default result of this plugin, a new <em>generate java</em> action on the <em>.uml</em> files.</p>
+<img alt="../images/new_acceleo_module_ui_project_result.png" src="../images/new_acceleo_module_ui_project_result.png" />
+<p>First, right click on the Acceleo generator project then <em>New-&gt;Acceleo Module UI Project</em>.</p>
+<img alt="../images/new_acceleo_module_ui_project.png" src="../images/new_acceleo_module_ui_project.png" />
+<p>Choose a correct plugin name for the project, then click next.</p>
+<img alt="../images/new_acceleo_module_ui_project_1.png" src="../images/new_acceleo_module_ui_project_1.png" />
+<p>Choose the generator project as referenced project, then click next.</p>
+<img alt="../images/new_acceleo_module_ui_project_2.png" src="../images/new_acceleo_module_ui_project_2.png" />
+<p>Lastly, modify the model filename filter, and the java code for the target folder.</p>
+<img alt="../images/new_acceleo_module_ui_project_3.png" src="../images/new_acceleo_module_ui_project_3.png" />
+<p>The wizard will create a new plugin with all the necessary code to have a new action for the selected model file that will generate code inside the specified folder.</p>
+</div>
+</div>
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/html/plugin_overview.html b/doc/org.eclipse.acceleo.doc/doc/html/plugin_overview.html
new file mode 100644
index 0000000..e0d3ae9
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/html/plugin_overview.html
@@ -0,0 +1,509 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
+<title>Acceleo Plug-ins Features Overview</title>
+<meta name="authors" content="Laurent Goubet" />
+<style type="text/css">
+
+/*
+Author: Peter Parente
+Date: 2008/01/22
+Version: 1.0
+Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
+*/
+
+body {
+ font: 100% sans-serif;
+ background: #ffffff;
+ color: black;
+ margin: 2em;
+ padding: 0em 2em;
+}
+
+p.topic-title {
+ font-weight: bold;
+}
+
+table.docinfo {
+ text-align: left;
+ margin: 2em 0em;
+}
+
+a[href] {
+ color: #436976;
+ background-color: transparent;
+}
+
+a.toc-backref {
+ text-decoration: none;
+}
+
+h1 a[href] {
+ color: #003a6b;
+ text-decoration: none;
+ background-color: transparent;
+}
+
+a.strong {
+ font-weight: bold;
+}
+
+img {
+ margin: 0;
+ border: 0;
+}
+
+p {
+ margin: 0.5em 0 1em 0;
+ line-height: 1.5em;
+}
+
+p a:visited {
+ color: purple;
+ background-color: transparent;
+}
+
+p a:active {
+ color: red;
+ background-color: transparent;
+}
+
+a:hover {
+ text-decoration: none;
+}
+
+p img {
+ border: 0;
+ margin: 0;
+}
+
+p.rubric {
+ font-weight: bold;
+ font-style: italic;
+}
+
+h1.title {
+ color: #003a6b;
+ font-size: 250%;
+ margin-bottom: 0em;
+}
+
+h2.subtitle {
+ color: #003a6b;
+ border-bottom: 0px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #555;
+ background-color: transparent;
+ margin: 0em;
+ padding-top: 0.5em;
+}
+
+h1 {
+ font-size: 160%;
+ margin-bottom: 0.5em;
+ border-bottom: 2px solid #aaa;
+}
+
+h2 {
+ font-size: 140%;
+ margin-bottom: 0.5em;
+ border-bottom: 1px solid #aaa;
+}
+
+h3 {
+ font-size: 130%;
+ margin-bottom: 0.5em;
+}
+
+h4 {
+ font-size: 110%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h5 {
+ font-size: 105%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h6 {
+ font-size: 100%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+dt {
+ font-style: italic;
+}
+
+dd {
+ margin-bottom: 1.5em;
+}
+
+div.admonition, div.note, div.tip, div.caution, div.important {
+ margin: 2em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+div.important {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+div.caution {
+ background: transparent url('../images/caution.png') 10px 2px no-repeat;
+}
+
+div.note {
+ background: transparent url('../images/note.png') 10px 2px no-repeat;
+}
+
+div.tip {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-example {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-critical-example {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+p.admonition-title {
+ font-weight: bold;
+ border-bottom: 1px solid #aaa;
+ padding-left: 30px;
+}
+
+table.docutils {
+ text-align: left;
+ border: 1px solid gray;
+ border-collapse: collapse;
+ width: 100%;
+ margin: 1.5em 0em;
+}
+
+table.docutils caption {
+ font-style: italic;
+}
+
+table.docutils td, table.docutils th {
+ padding: 0.25em 0.5em;
+}
+
+table.docutils th {
+ background-color: #dddddd;
+}
+
+div.sidebar {
+ width: 33%;
+ float: right;
+ margin: 0em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+p.sidebar-title {
+ margin-bottom: 0em;
+ color: #003a6b;
+ border-bottom: 1px solid #aaa;
+ font-weight: bold;
+}
+
+p.sidebar-subtitle {
+ margin-top: 0em;
+ font-style: italic;
+ color: #003a6b;
+}
+
+</style>
+</head>
+<body>
+<div class="document" id="acceleo-plug-ins-features-overview">
+<h1 class="title">Acceleo Plug-ins Features Overview</h1>
+<table class="docinfo" frame="void" rules="none">
+<col class="docinfo-name" />
+<col class="docinfo-content" />
+<tbody valign="top">
+<tr><th class="docinfo-name">Authors:</th>
+<td>Laurent Goubet</td></tr>
+<tr><th class="docinfo-name">Contact:</th>
+<td><a class="first last reference external" href="mailto:Laurent.Goubet&#64;obeo.fr">Laurent.Goubet&#64;obeo.fr</a></td></tr>
+</tbody>
+</table>
+<p>Copyright © 2008, 2009, Obeo™.</p>
+<div class="section" id="introduction">
+<h1>Introduction</h1>
+<p>This document provides an overview of the user-visible features of the
+Acceleo plug-ins which make it easy to develop and run Acceleo modules inside
+Eclipse. It assumes some familiarity with the language itself,
+although you do not need to be an expert to start using the plug-ins:
+using the provided example projects and the powerful completion
+feature of the Acceleo editor, it is very easy to get started once you
+understand the basic principles.</p>
+<p>Concerning the language, almost all of the OMG specification keywords are supported
+(those marked with an asterisk are not fully supported yet):</p>
+<pre class="literal-block">
+module, import, extends, template, query, public, private, protected, guard, init,
+overrides, each, before, after, for, if, elseif, else, let, elselet, trace*, macro*,
+file, mode, text_explicit*, code_explicit*, super, stdout
+</pre>
+<p>For all the details about these keywords and the MOF Model to Text Language in
+general, you can consult <a class="reference external" href="http://www.omg.org/spec/MOFM2T/1.0/">the official MTL Specification</a> available at the OMG website.</p>
+</div>
+<div class="section" id="requirements">
+<h1>Requirements</h1>
+<p>Acceleo depends on:</p>
+<ol class="arabic simple">
+<li>EMF runtime ( 2.4.X )</li>
+<li>OCL runtime ( 1.2.X )</li>
+</ol>
+</div>
+<div class="section" id="acceleo-modules-and-projects">
+<h1>Acceleo Modules and Projects</h1>
+<p>The Acceleo plugins come with a perspective called Acceleo. To open this
+perspective, select <em>Window -&gt; Open perspective -&gt; Others</em>, then click
+on <em>Acceleo</em>.</p>
+<blockquote>
+<img alt="../images/acceleo_perspective.png" src="../images/acceleo_perspective.png" />
+</blockquote>
+<p>To create a new Acceleo Module project, open the <em>New project</em> Eclipse
+wizard, and in the <em>Model to Text Transformation</em> category select <em>Acceleo
+Module Project</em>. On the next page, enter the project name. Then go to the
+next page to create one or several initial template files:</p>
+<blockquote>
+<img alt="../images/acceleo_new_template_wizard.png" src="../images/acceleo_new_template_wizard.png" />
+</blockquote>
+<p>You can specify the location and name of the new <em>.mtl</em> file to create.
+You can also initialize the contents of the template with either a fixed
+example file (<em>Copy example content</em>), or an existing Acceleo or Xpand
+template (respectively <em>Migrate .mt content</em> and <em>Migrate .xpt content</em>).</p>
+<p>The metamodel information are also required. The wizard allows you to specify the input
+metamodel of your template, either from the list of registered
+metamodels or directly by URI. You can also specify the input
+type of the template.</p>
+<p>When you have filled in all required information, you can
+click <em>Finish</em> to create the project in the workspace.</p>
+<p>Note that Acceleo Module projects are also Eclipse Plug-in projects. Acceleo
+modules themselves are stored inside the project's source folder,
+following the same conventions as Java files: a module whose qualified
+name is <em>com::example::acceleo::myModule</em> must be stored in the file
+<em>com/example/acceleo/myModule.mtl</em> in one of the project's source folders.</p>
+<blockquote>
+<img alt="../images/acceleo_project-structure.png" src="../images/acceleo_project-structure.png" />
+</blockquote>
+</div>
+<div class="section" id="acceleo-template-editor-features">
+<h1>Acceleo Template Editor Features</h1>
+<p>The Acceleo template editor is associated with Acceleo source files (<em>.mtl</em>
+files) and provides all the features of a modern programming editor to
+make you more productive when developing modules:</p>
+<ul>
+<li><p class="first">Syntax highlighting</p>
+</li>
+<li><p class="first">Smart completion</p>
+</li>
+<li><p class="first">Navigation to definitions and references</p>
+</li>
+<li><p class="first">Error highlighting</p>
+</li>
+<li><p class="first">Dynamic outline</p>
+</li>
+<li><p class="first">Code folding</p>
+<img alt="../images/acceleo_editor_overview.png" src="../images/acceleo_editor_overview.png" />
+</li>
+</ul>
+<p>Some of these features are described in details below.</p>
+<div class="section" id="smart-completion-on-acceleo-syntax-constructs">
+<h2>Smart Completion on Acceleo Syntax Constructs</h2>
+<p>The Acceleo editor provides smart completion on all the available Acceleo
+language constructs. It is activated by default using the <em>Ctrl+Space</em>
+key combination.</p>
+<p>The completion mechanism is smart enough to only present you the
+syntactically correct choices in the context where it is invoked. For
+example, when invoked at the top-level of a file (outside any
+template), only the top-level Acceleo constructs are shown:</p>
+<blockquote>
+<img alt="../images/acceleo_completion-top-level.png" src="../images/acceleo_completion-top-level.png" />
+</blockquote>
+<p>The context is also used to sort the proposed choices. For example,
+inside an <em>[if]</em> block, the <em>[elsif]</em> and <em>[else]</em> choices appear at
+the top of the completion proposals:</p>
+<blockquote>
+<img alt="../images/acceleo_completion-if.png" src="../images/acceleo_completion-if.png" />
+</blockquote>
+<p>Note that although the choices are presented as keywords inside
+brackets (e.g. <em>[for]</em>, <em>[file]</em>, etc.), you do not have to type the
+opening bracket but can simply type the first letters&nbsp;:</p>
+<blockquote>
+<img alt="../images/acceleo_completion-for.png" src="../images/acceleo_completion-for.png" />
+</blockquote>
+</div>
+<div class="section" id="smart-completion-on-scripts-and-meta-model-elements">
+<h2>Smart Completion on Scripts and Meta-model Elements</h2>
+<p>Smart completion also works inside Acceleo expressions, where it can be
+invoked using <em>Ctrl+Space</em>. It is also auto-activated after a small
+delay in some circumstances, like after a dot (<em>.</em>).</p>
+<p>Inside expressions, completion choices include elements of the
+meta-models compatible with the context and visible Acceleo elements
+(variables, templates and queries, modules) alike.</p>
+<p>In the example below, the <em>p</em> variable is a UML property, so
+completion on the partial expression <em>p.n</em> proposes both features and
+operations of the UML2 <em>Property</em> class which start with <em>n</em>:</p>
+<blockquote>
+<img alt="../images/acceleo_completion-mm.png" src="../images/acceleo_completion-mm.png" />
+</blockquote>
+<p>Starting from an empty expression, the completion proposes all the
+visible Acceleo variables and templates which can be invoked in addition
+to features and operations of the current elements (the latter are not
+visible on the screenshot):</p>
+<blockquote>
+<img alt="../images/acceleo_completion.png" src="../images/acceleo_completion.png" />
+</blockquote>
+</div>
+<div class="section" id="open-declaration">
+<h2>Open Declaration</h2>
+<p>The Acceleo editor also support the &quot;Open Declaration&quot; feature (<em>F3</em> by
+default), which allows easy navigation from any element to its
+definition. This works for almost any kind of element you can find in
+Acceleo modules: variables, modules, templates and queries, types,
+features and operations of meta-model elements, even the meta-model
+themselves from their URI.</p>
+</div>
+<div class="section" id="search-references">
+<h2>Search References</h2>
+<p>The &quot;Search references&quot; feature can be seen as the reverse of &quot;Open
+Declaration&quot;: instead of navigating from one specific usage of an
+element to its definition, it searches for all the usages of a
+particular element. This feature is invoked by default using the
+<em>Ctrl+Shift+g</em> key combination. It can be used either from the
+definition of an element (a variable, template, query, etc.) or any
+particular usage of it.</p>
+<p>In the example below, the cursor was on the definition of the
+iteration variable <em>p</em> in a <em>for</em> loop. Invoking &quot;Search references&quot;
+by pressing <em>Ctrl+Shift+g</em> opened the Eclipse search view with all the
+references to this variable inside the current module, and potential
+matches in other modules in the same project:</p>
+<blockquote>
+<img alt="../images/acceleo_search-references-1.png" src="../images/acceleo_search-references-1.png" />
+</blockquote>
+<p>As for &quot;Open Declaration&quot;, the &quot;Search References&quot; feature works for
+all kinds of elements: Acceleo variables, templates, queries and modules,
+meta-model types, features and operations.</p>
+</div>
+</div>
+<div class="section" id="running-and-debugging-acceleo-modules">
+<h1>Running and debugging Acceleo modules</h1>
+<p>Acceleo modules can be run and debugged very easily using the standard
+Eclipse mechanisms.</p>
+<p>Inside your Acceleo modules, you can annotate some of your templates using
+a special comment <em>[comment &#64;main /]</em>. This identifies these templates
+as entry points for the generation. When a module contains at least
+one such entry point, the Acceleo project builder automatically creates a
+Java class which can be used to launch the generation.</p>
+<p>That Java class contains a <em>main()</em> method which can be used to invoke
+a generation from that module. It can be called by itself as a normal
+Java program (including outside of Eclipse), or using the more
+convenient <em>Acceleo Application</em> launcher. That program requires two input
+arguments:</p>
+<ol class="arabic simple">
+<li>the input model (for example a <em>.uml</em> file)</li>
+<li>the target folder</li>
+</ol>
+<div class="section" id="launching-a-module">
+<h2>Launching a Module</h2>
+<p>To launch a generation using an Acceleo module, open the Eclipse <em>Run
+configurations</em> dialog, and create a new configuration of type <em>Acceleo
+Application</em>.</p>
+<blockquote>
+<img alt="../images/acceleo_launch-configuration.png" src="../images/acceleo_launch-configuration.png" />
+</blockquote>
+<p>You can also right-click on a <em>.mtl</em> file and select <em>Run as &gt; Acceleo
+Application</em> to open the same dialog with some of the information
+already configured to run this template.</p>
+<p>The mandatory parameters are:</p>
+<dl class="docutils">
+<dt>Project</dt>
+<dd>the project containing the module to use</dd>
+<dt>Main class</dt>
+<dd>the Java class generated from your module (if it contains entry points)</dd>
+<dt>Model</dt>
+<dd>the input model for the generation</dd>
+<dt>Target</dt>
+<dd>the target folder in which to put the generated files</dd>
+<dt>Properties</dt>
+<dd>if the templates which serve as entry points to the generation
+expect arguments, you can specify them in this text area, one per
+line.</dd>
+<dt>Runner</dt>
+<dd>you have the choice between <em>Acceleo Plug-in Application</em> (the default)
+and <em>Java Application</em>. Using the <em>Java Application</em> runner is
+strictly equivalent to invoking the generated Java class with the
+input model file and target folder as parameters. This is useful to
+check that your generator runs correctly in <em>standalone mode</em>
+(outside of Eclipse), but in this mode it is not possible to debug
+the Acceleo templates as such. On the other hand, because the <em>Acceleo
+Plug-in Application</em> runner is aware that it is executing an Acceleo
+generation, it gives you access to the Acceleo template debugger
+described in the next section.</dd>
+</dl>
+<p>Once you have specified all the required information, the
+configuration can be invoked like any Eclipse launch configuration.</p>
+</div>
+<div class="section" id="debugging-your-modules">
+<h2>Debugging your Modules</h2>
+<p>The Acceleo plug-ins also include a debugger for you Acceleo modules. The
+debugger allows you to set breakpoints inside your Acceleo templates and
+thus follow their execution step by step.</p>
+<p>To debug an Acceleo module, follow the sames steps as described above to
+create a launch configuration, but use the <em>Debug as</em> menu instead of
+<em>Run as</em>. Once you have a launch configuration, it can be invoked
+either as a normal launch or as a debug launch.</p>
+<p>To put a breakpoint in a template, simply double-click inside the left
+margin of the Acceleo editor on the target line. Note that you can only
+put breakpoints on lines which contain Acceleo expressions, not on lines
+which have only fixed text output.</p>
+<p>The Acceleo debugger has some support for conditional breakpoints: once
+you have set a breakpoint, simply click on it in the left margin. A
+dialog box appears where you can enter a name pattern:</p>
+<blockquote>
+<img alt="../images/acceleo_breakpoint_condition.png" src="../images/acceleo_breakpoint_condition.png" />
+</blockquote>
+<p>Once you have set a name pattern, the breakpoint will only be
+triggered when on elements which names match the pattern (note that
+currently breakpoint conditions are only taken into account for the
+next debug session).</p>
+<p>When you launch a debug session on your module, if you have
+breakpoints and they are enabled, the generation will pause when they
+are hit. If you then switch to the <em>Debug</em> perspective, you should see
+the familiar debug views:</p>
+<blockquote>
+<img alt="../images/acceleo_debugger.png" src="../images/acceleo_debugger.png" />
+</blockquote>
+<p>In the <em>Debug</em> view itself (top left), you can see the current
+template call stack. If you select a frame, the Acceleo editor (below)
+will open on the corresponding file and line. The <em>Variables</em> view
+(top right) allows you to inspect the current object for the
+expression being executed.</p>
+<p>As in Java, you can use the <em>Step Into</em>, <em>Step Over</em> and <em>Step Return</em>
+actions to execute the template step by step, <em>Resume</em> the execution
+until the end or another breakpoint is hit, or simply <em>Stop</em> the
+session.</p>
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_ant.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_ant.png
new file mode 100644
index 0000000..d280e7b
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_ant.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_breakpoint_condition.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_breakpoint_condition.png
new file mode 100644
index 0000000..6941db2
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_breakpoint_condition.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-for.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-for.png
new file mode 100644
index 0000000..9ce933c
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-for.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-if.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-if.png
new file mode 100644
index 0000000..ff26554
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-if.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-mm.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-mm.png
new file mode 100644
index 0000000..e022fc3
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-mm.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-top-level.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-top-level.png
new file mode 100644
index 0000000..7f23086
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion-top-level.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion.png
new file mode 100644
index 0000000..98a5125
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_completion.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_debugger.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_debugger.png
new file mode 100644
index 0000000..a5a4834
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_debugger.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor.png
new file mode 100644
index 0000000..bbbf46b
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_example.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_example.png
new file mode 100644
index 0000000..b2c8520
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_example.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_overview.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_overview.png
new file mode 100644
index 0000000..5f6670f
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_editor_overview.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_java.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_java.png
new file mode 100644
index 0000000..6d4e46e
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_java.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_launch-configuration.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_launch-configuration.png
new file mode 100644
index 0000000..1d3d3e8
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_launch-configuration.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_module_java_result.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_module_java_result.png
new file mode 100644
index 0000000..57c0be0
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_module_java_result.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_new_template_wizard.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_new_template_wizard.png
new file mode 100644
index 0000000..8d022d8
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_new_template_wizard.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_perspective.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_perspective.png
new file mode 100644
index 0000000..169ade4
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_perspective.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_project-structure.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_project-structure.png
new file mode 100644
index 0000000..c53d39a
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_project-structure.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/acceleo_search-references-1.png b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_search-references-1.png
new file mode 100644
index 0000000..8b33fd5
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/acceleo_search-references-1.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project.png
new file mode 100644
index 0000000..a778afc
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_1.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_1.png
new file mode 100644
index 0000000..e66423e
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_1.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_2.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_2.png
new file mode 100644
index 0000000..8d022d8
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_2.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_result.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_result.png
new file mode 100644
index 0000000..c3b62a7
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_project_result.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project.png
new file mode 100644
index 0000000..0a64f40
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_1.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_1.png
new file mode 100644
index 0000000..d6fa6ff
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_1.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_2.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_2.png
new file mode 100644
index 0000000..f981c3d
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_2.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_3.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_3.png
new file mode 100644
index 0000000..b280bc8
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_3.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_result.png b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_result.png
new file mode 100644
index 0000000..2223cfe
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/new_acceleo_module_ui_project_result.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/perspective.png b/doc/org.eclipse.acceleo.doc/doc/images/perspective.png
new file mode 100644
index 0000000..cebc389
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/perspective.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/images/uml_model_example.png b/doc/org.eclipse.acceleo.doc/doc/images/uml_model_example.png
new file mode 100644
index 0000000..ffc709f
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/images/uml_model_example.png
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/doc/overview.html b/doc/org.eclipse.acceleo.doc/doc/overview.html
new file mode 100644
index 0000000..35d50e9
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/overview.html
@@ -0,0 +1,32 @@
+<!-- Copyright (c) Obeo 2008 -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta name="copyright" content="Copyright (c) Obeo 2008.">
+
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link rel="STYLESHEET" href="stylesheet.css" charset="ISO-8859-1"
+ type="text/css">
+<title>Acceleo Overview</title>
+</head>
+
+<body>
+<p>
+ <a href="http://wiki.eclipse.org/Model_To_Text_Acceleo">Acceleo</a> is an implementation of the Object Management Group (OMG) MOF Model to Text Language (MTL) standard.
+</p>
+<p>
+This component is an entirely new development of the OMG MOF <a href="http://www.omg.org/spec/MOFM2T/1.0/"> Model to Text</a> (Mof2Text) language. The implementation will be compliant with the
+core feature compliance level of the Mof2Text language to start with, then with the advanced
+feature compliance.
+</p>
+
+<br/>
+ <a href="html/plugin_overview.html">Acceleo Overview</a>
+<br/>
+ <a href="html/new_module.html">New Acceleo project</a>
+<br/>
+ <a href="html/new_ui_module.html">New Acceleo UI project</a>
+<br/>
+
+</body>
+</html>
diff --git a/doc/org.eclipse.acceleo.doc/doc/rst/new_module.rst b/doc/org.eclipse.acceleo.doc/doc/rst/new_module.rst
new file mode 100644
index 0000000..0aa60b2
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/rst/new_module.rst
@@ -0,0 +1,117 @@
+=======================
+ Acceleo Tutorial
+=======================
+
+:Authors: Laurent Goubet
+:Contact: laurent.goubet@obeo.fr
+
+Copyright |copy| 2008, Obeo\ |trade|.
+
+.. |copy| unicode:: 0xA9
+.. |trade| unicode:: U+2122
+
+New Acceleo project
+================
+
+The aim of an Acceleo project is to generate text from a model.
+For this tutorial, we will create a new Acceleo module for generating java beans from a UML model.
+
+.. image:: ../images/uml_model_example.png
+
+To create a new Acceleo project, you can right click on the package explorer view then *New->Acceleo Module Project*.
+
+.. image:: ../images/new_acceleo_module_project.png
+
+Choose a correct plugin name for the project, then click next.
+
+.. image:: ../images/new_acceleo_module_project_1.png
+
+Next you can create a new Acceleo template.
+
+- Select the folder in witch you want to create the new template.
+- Then type the template name
+- Optionally you can browse an existing file, which will be copied into the template. This could be useful to create a template from an existing file.
+- Then choose the metamodel that will be used by the template ( UML in this example )
+- Finally choose the metaclass that will be used to generate the file. ( Class )
+
+.. image:: ../images/new_acceleo_module_project_2.png
+
+If you click on next, a new template wizard page will show up, allowing you to create another template.
+
+Clicking on finish will create the template(s), and some files associated with it ( more on these below ).
+
+.. image:: ../images/new_acceleo_module_project_result.png
+
+The template editor
+====================
+
+The template editor provides the following features :
+
+- Syntax highlighting
+- Content assistant
+- Error highlighting
+- Dynamic outline
+- Code folding
+
+.. image:: ../images/acceleo_editor.png
+
+For more information about the Acceleo syntax, please read the official OMG specification : <http://www.omg.org/docs/ptc/07-08-16.pdf>
+
+Creating a template for generating java beans
+==============================================
+We would like to create a bean for each of the classes defined in the model.
+Here is the code for the template :
+
+::
+
+ [module generate(http://www.eclipse.org/uml2/2.1.0/UML)/]
+
+ [template public generate(c : Class)]
+ [file (c.name.concat('.java'), false)]
+ public class [c.name.toUpperFirst()/] {
+ [for (p : Property | c.attribute)]
+ private [p.type.name/] [p.name/];
+ [/for]
+ [for (p : Property | c.attribute)]
+ public [p.type.name/] get[p.name.toUpperFirst()/]() {
+ return this.[p.name/];
+ }
+ [/for]
+ [for (o : Operation | c.ownedOperation)]
+ public [o.type.name/] [o.name/]() {
+ // TODO should be implemented
+ }
+ [/for]
+ }
+ [/file]
+ [/template]
+
+As shown below, the content assistant provides choices for the UML metamodel :
+
+.. image:: ../images/acceleo_editor_example.png
+
+The resulting java file generated by this template will look like this :
+
+.. image:: ../images/acceleo_module_java_result.png
+
+The java file
+====================
+
+Note : This feature may evolve in future releases.
+
+Next to each template file, a java file with the same name is automatically generated.
+This allows you to launch the generation via the *doGenerate()* method.
+This can be achieved either by creating a new instance of the class, or calling the *main()* method of the file.
+
+.. image:: ../images/acceleo_java.png
+
+The ant task
+====================
+
+Note : This feature may evolve in future releases.
+
+In the *tasks* folder can also be found an ant file which can be used to launch a generation with the specified template.
+In order to use this build file, copy it inside a project which contains the model to generate from, rename it to *build.xml* for example, then change the *MODEL* and *TARGET* properties.
+Launch the build via *External Tools > Run As > Ant Build*.
+
+.. image:: ../images/acceleo_ant.png
diff --git a/doc/org.eclipse.acceleo.doc/doc/rst/new_ui_module.rst b/doc/org.eclipse.acceleo.doc/doc/rst/new_ui_module.rst
new file mode 100644
index 0000000..4bfff51
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/rst/new_ui_module.rst
@@ -0,0 +1,39 @@
+=======================
+ Acceleo Tutorial
+=======================
+
+:Authors: Laurent Goubet
+:Contact: laurent.goubet@obeo.fr
+
+Copyright |copy| 2008, Obeo\ |trade|.
+
+.. |copy| unicode:: 0xA9
+.. |trade| unicode:: U+2122
+
+New Acceleo UI project
+==================
+
+Once your templates are ready, you may want to have some wizards to launch the generation from eclipse.
+You can use the ant tasks or the java code, but you can also use the *New Acceleo UI project* wizard.
+This wizard will create a new eclipse ui project which will allow the user to launch the generation via an eclipse action.
+The example below shows the default result of this plugin, a new *generate java* action on the *.uml* files.
+
+.. image:: ../images/new_acceleo_module_ui_project_result.png
+
+First, right click on the Acceleo generator project then *New->Acceleo Module UI Project*.
+
+.. image:: ../images/new_acceleo_module_ui_project.png
+
+Choose a correct plugin name for the project, then click next.
+
+.. image:: ../images/new_acceleo_module_ui_project_1.png
+
+Choose the generator project as referenced project, then click next.
+
+.. image:: ../images/new_acceleo_module_ui_project_2.png
+
+Lastly, modify the model filename filter, and the java code for the target folder.
+
+.. image:: ../images/new_acceleo_module_ui_project_3.png
+
+The wizard will create a new plugin with all the necessary code to have a new action for the selected model file that will generate code inside the specified folder.
diff --git a/doc/org.eclipse.acceleo.doc/doc/rst/plugin_overview.rst b/doc/org.eclipse.acceleo.doc/doc/rst/plugin_overview.rst
new file mode 100644
index 0000000..2909043
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/rst/plugin_overview.rst
@@ -0,0 +1,299 @@
+===============================
+ Acceleo Plug-ins Features Overview
+===============================
+
+:Authors: Laurent Goubet
+:Contact: Laurent.Goubet@obeo.fr
+
+Copyright |copy| 2008, 2009, Obeo\ |trade|.
+
+.. |copy| unicode:: 0xA9
+.. |trade| unicode:: U+2122
+
+Introduction
+============
+
+This document provides an overview of the user-visible features of the
+Acceleo plug-ins which make it easy to develop and run Acceleo modules inside
+Eclipse. It assumes some familiarity with the language itself,
+although you do not need to be an expert to start using the plug-ins:
+using the provided example projects and the powerful completion
+feature of the Acceleo editor, it is very easy to get started once you
+understand the basic principles.
+
+Concerning the language, almost all of the OMG specification keywords are supported
+(those marked with an asterisk are not fully supported yet):
+
+::
+
+ module, import, extends, template, query, public, private, protected, guard, init,
+ overrides, each, before, after, for, if, elseif, else, let, elselet, trace*, macro*,
+ file, mode, text_explicit*, code_explicit*, super, stdout
+
+For all the details about these keywords and the MOF Model to Text Language in
+general, you can consult `the official MTL Specification
+<http://www.omg.org/spec/MOFM2T/1.0/>`_ available at the OMG website.
+
+Requirements
+============
+
+Acceleo depends on:
+
+#. EMF runtime ( 2.4.X )
+#. OCL runtime ( 1.2.X )
+
+Acceleo Modules and Projects
+========================
+
+The Acceleo plugins come with a perspective called Acceleo. To open this
+perspective, select *Window -> Open perspective -> Others*, then click
+on *Acceleo*.
+
+ .. image:: ../images/acceleo_perspective.png
+
+To create a new Acceleo Module project, open the *New project* Eclipse
+wizard, and in the *Model to Text Transformation* category select *Acceleo
+Module Project*. On the next page, enter the project name. You can then
+click *Finish* directly to create an empty Acceleo project, or go to the
+next page to create one or several initial template files:
+
+ .. image:: ../images/acceleo_new_template_wizard.png
+
+In the *Template information* section, you can specify the location
+and name of the new *.mtl* file to create. In this section, you can
+also initialize the contents of the template with either a fixed
+example file (*Copy example content*), or an existing Acceleo or Xpand
+template (respectively *Migrate .mt content* and *Migrate .xpt content*).
+
+The *Metamodel information* section allows you to specify the input
+metamodel of your template, either from the list of registered
+metamodels or directly by URI. You can also specify the input
+type of the template.
+
+When you have filled in all required information, you can either
+click *Finish* to create the project in the workspace or, if you have
+enabled the *Create more templates on next pages* checkbox, go to the
+*Next* page to configure more initial templates.
+
+Note that Acceleo Module projects are also Eclipse Plug-in projects. Acceleo
+modules themselves are stored inside the project's source folder,
+following the same conventions as Java files: a module whose qualified
+name is *com::example::acceleo::myModule* must be stored in the file
+*com/example/acceleo/myModule.mtl* in one of the project's source folders.
+
+ .. image:: ../images/acceleo_project-structure.png
+
+Acceleo Template Editor Features
+============================
+
+The Acceleo template editor is associated with Acceleo source files (*.mtl*
+files) and provides all the features of a modern programming editor to
+make you more productive when developing modules:
+
+- Syntax highlighting
+- Smart completion
+- Navigation to definitions and references
+- Error highlighting
+- Dynamic outline
+- Code folding
+
+ .. image:: ../images/acceleo_editor_overview.png
+
+Some of these features are described in details below.
+
+Smart Completion on Acceleo Syntax Constructs
+-----------------------------------------
+
+The Acceleo editor provides smart completion on all the available Acceleo
+language constructs. It is activated by default using the *Ctrl+Space*
+key combination.
+
+The completion mechanism is smart enough to only present you the
+syntactically correct choices in the context where it is invoked. For
+example, when invoked at the top-level of a file (outside any
+template), only the top-level Acceleo constructs are shown:
+
+ .. image:: ../images/acceleo_completion-top-level.png
+
+The context is also used to sort the proposed choices. For example,
+inside an *[if]* block, the *[elsif]* and *[else]* choices appear at
+the top of the completion proposals:
+
+ .. image:: ../images/acceleo_completion-if.png
+
+Note that although the choices are presented as keywords inside
+brackets (e.g. *[for]*, *[file]*, etc.), you do not have to type the
+opening bracket but can simply type the first letters :
+
+ .. image:: ../images/acceleo_completion-for.png
+
+Smart Completion on Scripts and Meta-model Elements
+---------------------------------------------------
+
+Smart completion also works inside Acceleo expressions, where it can be
+invoked using *Ctrl+Space*. It is also auto-activated after a small
+delay in some circumstances, like after a dot (*.*).
+
+Inside expressions, completion choices include elements of the
+meta-models compatible with the context and visible Acceleo elements
+(variables, templates and queries, modules) alike.
+
+In the example below, the *p* variable is a UML property, so
+completion on the partial expression *p.n* proposes both features and
+operations of the UML2 *Property* class which start with *n*:
+
+ .. image:: ../images/acceleo_completion-mm.png
+
+Starting from an empty expression, the completion proposes all the
+visible Acceleo variables and templates which can be invoked in addition
+to features and operations of the current elements (the latter are not
+visible on the screenshot):
+
+ .. image:: ../images/acceleo_completion.png
+
+Open Declaration
+----------------
+
+The Acceleo editor also support the "Open Declaration" feature (*F3* by
+default), which allows easy navigation from any element to its
+definition. This works for almost any kind of element you can find in
+Acceleo modules: variables, modules, templates and queries, types,
+features and operations of meta-model elements, even the meta-model
+themselves from their URI.
+
+Search References
+-----------------
+
+The "Search references" feature can be seen as the reverse of "Open
+Declaration": instead of navigating from one specific usage of an
+element to its definition, it searches for all the usages of a
+particular element. This feature is invoked by default using the
+*Ctrl+Shift+g* key combination. It can be used either from the
+definition of an element (a variable, template, query, etc.) or any
+particular usage of it.
+
+In the example below, the cursor was on the definition of the
+iteration variable *p* in a *for* loop. Invoking "Search references"
+by pressing *Ctrl+Shift+g* opened the Eclipse search view with all the
+references to this variable inside the current module, and potential
+matches in other modules in the same project:
+
+ .. image:: ../images/acceleo_search-references-1.png
+
+As for "Open Declaration", the "Search References" feature works for
+all kinds of elements: Acceleo variables, templates, queries and modules,
+meta-model types, features and operations.
+
+Running and debugging Acceleo modules
+=================================
+
+Acceleo modules can be run and debugged very easily using the standard
+Eclipse mechanisms.
+
+Inside your Acceleo modules, you can annotate some of your templates using
+a special comment *[comment @main /]*. This identifies these templates
+as entry points for the generation. When a module contains at least
+one such entry point, the Acceleo project builder automatically creates a
+Java class which can be used to launch the generation.
+
+That Java class contains a *main()* method which can be used to invoke
+a generation from that module. It can be called by itself as a normal
+Java program (including outside of Eclipse), or using the more
+convenient *Acceleo Application* launcher. That program requires two input
+arguments:
+
+#. the input model (for example a *.uml* file)
+#. the target folder
+
+Launching a Module
+------------------
+
+To launch a generation using an Acceleo module, open the Eclipse *Run
+configurations* dialog, and create a new configuration of type *Acceleo
+Application*.
+
+ .. image:: ../images/acceleo_launch-configuration.png
+
+You can also right-click on a *.mtl* file and select *Run as > Acceleo
+Application* to open the same dialog with some of the information
+already configured to run this template.
+
+The mandatory parameters are:
+
+Project
+ the project containing the module to use
+
+Main class
+ the Java class generated from your module (if it contains entry points)
+
+Model
+ the input model for the generation
+
+Target
+ the target folder in which to put the generated files
+
+Properties
+ if the templates which serve as entry points to the generation
+ expect arguments, you can specify them in this text area, one per
+ line.
+
+Runner
+ you have the choice between *Acceleo Plug-in Application* (the default)
+ and *Java Application*. Using the *Java Application* runner is
+ strictly equivalent to invoking the generated Java class with the
+ input model file and target folder as parameters. This is useful to
+ check that your generator runs correctly in *standalone mode*
+ (outside of Eclipse), but in this mode it is not possible to debug
+ the Acceleo templates as such. On the other hand, because the *Acceleo
+ Plug-in Application* runner is aware that it is executing an Acceleo
+ generation, it gives you access to the Acceleo template debugger
+ described in the next section.
+
+Once you have specified all the required information, the
+configuration can be invoked like any Eclipse launch configuration.
+
+Debugging your Modules
+----------------------
+
+The Acceleo plug-ins also include a debugger for you Acceleo modules. The
+debugger allows you to set breakpoints inside your Acceleo templates and
+thus follow their execution step by step.
+
+To debug an Acceleo module, follow the sames steps as described above to
+create a launch configuration, but use the *Debug as* menu instead of
+*Run as*. Once you have a launch configuration, it can be invoked
+either as a normal launch or as a debug launch.
+
+To put a breakpoint in a template, simply double-click inside the left
+margin of the Acceleo editor on the target line. Note that you can only
+put breakpoints on lines which contain Acceleo expressions, not on lines
+which have only fixed text output.
+
+The Acceleo debugger has some support for conditional breakpoints: once
+you have set a breakpoint, simply click on it in the left margin. A
+dialog box appears where you can enter a name pattern:
+
+ .. image:: ../images/acceleo_breakpoint_condition.png
+
+Once you have set a name pattern, the breakpoint will only be
+triggered when on elements which names match the pattern (note that
+currently breakpoint conditions are only taken into account for the
+next debug session).
+
+When you launch a debug session on your module, if you have
+breakpoints and they are enabled, the generation will pause when they
+are hit. If you then switch to the *Debug* perspective, you should see
+the familiar debug views:
+
+ .. image:: ../images/acceleo_debugger.png
+
+In the *Debug* view itself (top left), you can see the current
+template call stack. If you select a frame, the Acceleo editor (below)
+will open on the corresponding file and line. The *Variables* view
+(top right) allows you to inspect the current object for the
+expression being executed.
+
+As in Java, you can use the *Step Into*, *Step Over* and *Step Return*
+actions to execute the template step by step, *Resume* the execution
+until the end or another breakpoint is hit, or simply *Stop* the
+session.
diff --git a/doc/org.eclipse.acceleo.doc/doc/rst2html.bat b/doc/org.eclipse.acceleo.doc/doc/rst2html.bat
new file mode 100644
index 0000000..cab9dac
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/rst2html.bat
@@ -0,0 +1,8 @@
+@ECHO OFF
+FOR %%f IN (rst\*.rst) DO (
+ FOR %%h IN (html\%%~nf.html) DO (
+ IF %%~tf GTR %%~th (
+ C:\dev\programs\python\python.exe C:\dev\programs\docutils\tools\rst2html.py %%f html\%%~nf.html --stylesheet=style/lsr.css
+ )
+ )
+)
diff --git a/doc/org.eclipse.acceleo.doc/doc/style/lsr.css b/doc/org.eclipse.acceleo.doc/doc/style/lsr.css
new file mode 100644
index 0000000..5501eaa
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/style/lsr.css
@@ -0,0 +1,220 @@
+/*
+Author: Peter Parente
+Date: 2008/01/22
+Version: 1.0
+Copyright: This stylesheet has been placed in the public domain - free to edit and use for all uses.
+*/
+
+body {
+ font: 100% sans-serif;
+ background: #ffffff;
+ color: black;
+ margin: 2em;
+ padding: 0em 2em;
+}
+
+p.topic-title {
+ font-weight: bold;
+}
+
+table.docinfo {
+ text-align: left;
+ margin: 2em 0em;
+}
+
+a[href] {
+ color: #436976;
+ background-color: transparent;
+}
+
+a.toc-backref {
+ text-decoration: none;
+}
+
+h1 a[href] {
+ color: #003a6b;
+ text-decoration: none;
+ background-color: transparent;
+}
+
+a.strong {
+ font-weight: bold;
+}
+
+img {
+ margin: 0;
+ border: 0;
+}
+
+p {
+ margin: 0.5em 0 1em 0;
+ line-height: 1.5em;
+}
+
+p a:visited {
+ color: purple;
+ background-color: transparent;
+}
+
+p a:active {
+ color: red;
+ background-color: transparent;
+}
+
+a:hover {
+ text-decoration: none;
+}
+
+p img {
+ border: 0;
+ margin: 0;
+}
+
+p.rubric {
+ font-weight: bold;
+ font-style: italic;
+}
+
+h1.title {
+ color: #003a6b;
+ font-size: 250%;
+ margin-bottom: 0em;
+}
+
+h2.subtitle {
+ color: #003a6b;
+ border-bottom: 0px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #555;
+ background-color: transparent;
+ margin: 0em;
+ padding-top: 0.5em;
+}
+
+h1 {
+ font-size: 160%;
+ margin-bottom: 0.5em;
+ border-bottom: 2px solid #aaa;
+}
+
+h2 {
+ font-size: 140%;
+ margin-bottom: 0.5em;
+ border-bottom: 1px solid #aaa;
+}
+
+h3 {
+ font-size: 130%;
+ margin-bottom: 0.5em;
+}
+
+h4 {
+ font-size: 110%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h5 {
+ font-size: 105%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h6 {
+ font-size: 100%;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+dt {
+ font-style: italic;
+}
+
+dd {
+ margin-bottom: 1.5em;
+}
+
+div.admonition, div.note, div.tip, div.caution, div.important {
+ margin: 2em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+div.important {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+div.caution {
+ background: transparent url('../images/caution.png') 10px 2px no-repeat;
+}
+
+div.note {
+ background: transparent url('../images/note.png') 10px 2px no-repeat;
+}
+
+div.tip {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-example {
+ background: transparent url('../images/tip.png') 10px 2px no-repeat;
+}
+
+div.admonition-critical-example {
+ background: transparent url('../images/important.png') 10px 2px no-repeat;
+}
+
+p.admonition-title {
+ font-weight: bold;
+ border-bottom: 1px solid #aaa;
+ padding-left: 30px;
+}
+
+table.docutils {
+ text-align: left;
+ border: 1px solid gray;
+ border-collapse: collapse;
+ width: 100%;
+ margin: 1.5em 0em;
+}
+
+table.docutils caption {
+ font-style: italic;
+}
+
+table.docutils td, table.docutils th {
+ padding: 0.25em 0.5em;
+}
+
+table.docutils th {
+ background-color: #dddddd;
+}
+
+div.sidebar {
+ width: 33%;
+ float: right;
+ margin: 0em 2em;
+ padding: 0em 1em;
+ border-top: 1px solid #aaa;
+ border-left: 1px solid #aaa;
+ border-bottom: 2px solid #555;
+ border-right: 2px solid #555;
+}
+
+p.sidebar-title {
+ margin-bottom: 0em;
+ color: #003a6b;
+ border-bottom: 1px solid #aaa;
+ font-weight: bold;
+}
+
+p.sidebar-subtitle {
+ margin-top: 0em;
+ font-style: italic;
+ color: #003a6b;
+}
diff --git a/doc/org.eclipse.acceleo.doc/doc/stylesheet.css b/doc/org.eclipse.acceleo.doc/doc/stylesheet.css
new file mode 100644
index 0000000..b4dd1bc
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/doc/stylesheet.css
@@ -0,0 +1,397 @@
+body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-family: Arial, Helvetica, sans-serif; color: #000000}
+pre { font-family: Courier, monospace}
+
+body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-size: 10pt; }
+pre { font-size: 10pt}
+
+body { background: #FFFFFF}
+h1 { font-size: 18pt; margin-top: 5; margin-bottom: 1 }
+h2 { font-size: 14pt; margin-top: 25; margin-bottom: 3 }
+h3 { font-size: 11pt; margin-top: 20; margin-bottom: 3 }
+h4 { font-size: 10pt; margin-top: 20; margin-bottom: 3; font-style: italic }
+p { margin-top: 10px; margin-bottom: 10px }
+pre { margin-left: 6; font-size: 9pt }
+a:link { color: #0000FF }
+a:hover { color: #000080 }
+a:visited { text-decoration: underline }
+ul { margin-top: 0; margin-bottom: 10 }
+li { margin-top: 0; margin-bottom: 0 }
+li p { margin-top: 0; margin-bottom: 0 }
+ol { margin-top: 0; margin-bottom: 10 }
+dl { margin-top: 0; margin-bottom: 10 }
+dt { margin-top: 0; margin-bottom: 0; font-weight: bold }
+dd { margin-top: 0; margin-bottom: 0 }
+strong { font-weight: bold}
+em { font-style: italic}
+var { font-style: italic}
+div.revision { border-left-style: solid; border-left-width: thin;
+ border-left-color: #7B68EE; padding-left:5 }
+th { font-weight: bold }
+
+.bold {
+ font-weight: bold;
+}
+
+
+a:link, a:visited {color: #1D2C9D; text-decoration: none;}
+a:hover {color: #880B0B;}
+div { margin: 0; padding: 0; }
+p { margin: 0; padding: 0; }
+ul { margin-top: 0;margin-bottom: 0; padding-left: 15px;margin-left: 15px;}
+
+
+/* Structure du site */
+
+#globale {
+ margin: 0px auto;
+ width: 930px;
+ background: url(images/base/fond-global.gif);
+ }
+#glob2 {
+ position: relative;
+ left: 10px;
+ top: 0px;
+ background: url(images/base/fond-glob2.gif);
+ width: 910px;
+ }
+
+#logo {
+ position: absolute;
+ left: 25px;
+ top: 14px;
+ width: 308px;
+ height: 92px;
+ background: url(images/base/logo-mtl.gif);
+ }
+
+.bout-logo {
+ display: block;
+ width: 308px;
+ height: 92px;
+ }
+
+#entete {
+ position: relative;
+ left: 0px;
+ top: 0px;
+ width: 930px;
+ height: 130px;
+ }
+
+#colgau {
+ float: left;
+ position: relative;
+ left: -10px;
+ top: -130px;
+ width: 10px;
+ height: 224px;
+ background: url(images/base/bandeg.gif);
+ }
+
+#coldr {
+ float: left;
+ position: relative;
+ left: 35px;
+ top: -130px;
+ width: 10px;
+ height: 224px;
+ background: url(images/base/banded.gif);
+ }
+
+#rubgau {
+ float: left;
+ position: relative;
+ background-color: #FFF;
+ left: 5px;
+ top: 0px;
+ width: 210px;
+ }
+
+#rubdr {
+ float: left;
+ position: relative;
+ background-color: #FFF;
+ left: 20px;
+ top: 0px;
+ width: 655px;
+ }
+
+#rubcentre {
+ float: left;
+ position: relative;
+ left: 5px;
+ top: 0px;
+ width: 865px;
+ }
+
+
+#colbas {
+ clear: both;
+ height: 15px;
+ }
+
+#piedpage {
+ clear: both;
+ position: relative;
+ background: url(images/base/pied-page.gif);
+ width: 930px;
+ height: 66px;
+ color: #015C92;
+ }
+
+#signat {
+ background-color: #B7B7B7;
+ text-align: center;
+ width: 930px;
+ font-size: 11px;
+ color: #787878;
+ }
+
+#signat a.kat:link, a.kat:visited {
+ color: #616161;
+ font-weight: bold;
+ text-decoration: none;
+ }
+#signat a.kat:hover {
+ color: #FFF;
+ }
+
+
+#mentions {
+ font-size: 11px;
+ position: absolute;
+ float: left;
+ left: 795px;
+ top: 12px;
+ color: #0E8C6C;
+ }
+
+#copyright {
+ font-size: 11px;
+ position: relative;
+ float: left;
+ left: 25px;
+ top: 12px;
+ width: 600px;
+ color: #0E8C6C;
+ }
+
+a.lnk-vert:link, a.lnk-vert:visited {
+ font-size: 11px;
+ color: #0E8C6C;
+ text-decoration: none;
+}
+
+a.lnk-vert:hover {
+ color: #E17B00;
+}
+
+#som {
+ background-color: #163C83;
+ color: #FFF;
+ }
+
+#som ul {
+ font-size: 14px;
+ color: #FFF;
+ list-style: none;
+ }
+
+#som li {
+ margin-top: 4px;
+ margin-bottom: 4px;
+ }
+
+#titre-som {
+ position: relative;
+ background: url(images/base/titre-som.gif);
+ height: 36px;
+ width: 210px;
+ color: #FFF;
+ }
+
+#titre-som p {
+ font-weight: bold;
+ background: url(images/base/somm-back.png);
+ font-size: 14px;
+ padding: 7px;
+ color: #FFFFFF;
+ }
+
+#ss-som {
+ position: relative;
+ background: url(images/base/ss-som.gif);
+ }
+
+#ss-som ul{
+ padding: 5px 2px 5px 30px;
+ list-style-image: url(images/base/puce2.gif);
+ }
+
+a.lnk-ssrub:link, a.lnk-ssrub:visited {
+ font-size: 14px;
+ font-weight: bold;
+ color: #FFF;
+ text-decoration: none;
+}
+
+a.lnk-ssrub:hover {
+ color: #85A3D9;
+}
+
+a.lnk-ssrub2:link, a.lnk-ssrub2:visited {
+ font-size: 12px;
+ font-weight: normal;
+ color: #FFF;
+ text-decoration: none;
+}
+
+a.lnk-ssrub2:hover {
+ color: #FACAA3;
+}
+
+a.lnk-ssrub2current:link, a.lnk-ssrub2current:visited, a.lnk-ssrub2current:hover, a.lnk-ssrub2current{
+ font-size: 12px;
+ font-weight: bold;
+ text-decoration: none;
+ color: #CE7100;
+}
+
+#blk-rubdr {
+ position: relative;
+ width: 655px;
+ }
+
+#titressrub {
+ position: relative;
+ height: 36px;
+ color: #FFF;
+ background:url("images/base/title-back.png") #F2EEE6 repeat-y center;
+ }
+
+#titressrub p {
+ font-weight: bold;
+ font-size: 18px;
+ padding: 10px;
+ color:#FFFFFF;
+ }
+
+img {
+ border:0px;
+}
+
+#contenu {
+ position: relative;
+ color: #0E8C6C;
+ left: 15px;
+ top: 0px;
+ width: 625px;
+
+ }
+
+#contenu p {
+ margin: 10px 0 10px 0;
+ text-align: justify;
+ }
+
+.just {
+ text-align: justify;
+ }
+
+#contenu a:link, a:visited {
+ font-weight: bold;
+ color: #1D2C9D;
+ }
+
+#contenu a:hover {
+ color: #8B92C6;
+ }
+
+#contenu ul {
+ list-style-image: url(images/base/puce1.gif);
+ margin: 5px 10px 5px 10px;
+ }
+
+#contenu ul.mini {
+ list-style-image: none;
+ list-style-type: square;
+}
+
+
+
+/* CSS formulaire, champs texte, boutons */
+
+.box {
+ font-size: 12px;
+ color: #617985;
+ background-color: #FFF;
+}
+
+#lang {
+ /*display:none;*/
+ float: right;
+ position: relative;
+ right: 50px;
+}
+
+#lang a {
+ color: silver;
+}
+
+#newspannel {
+ border: 0px solid #C3C3C1;
+}
+
+.homeblock
+{
+ border: 0px solid #C3C3C1;
+ margin : 4px;
+ margin :0px 0px 0px 0px;
+}
+
+div.block { clear:right;
+}
+
+div.progress { border: 1px solid #d7d7d7; float: left ; width:250px; }
+div.progress :link, div.progress :visited {
+ background: #fff;
+ border: none;
+ display: block;
+ float: left;
+ height: 1.2em;
+}
+div.progress :link:hover, div.progress :visited:hover { background: #fff }
+div.progress .closed:link, div.progress .closed:visited { background: #bae0ba }
+
+#demonstrationblock
+ {
+
+}
+
+#modulesblock
+{
+}
+
+h3
+{
+ font-size: 16px;
+}
+
+table
+{
+border-spacing:30px 8px ;
+}
+#documentationblock
+ {
+}
+
+
+#developpementblock
+{
+}
+
+#presentationblock
+{
+border: 0px solid #C3C3C1;
+
+}
diff --git a/doc/org.eclipse.acceleo.doc/index/indexed_contributions b/doc/org.eclipse.acceleo.doc/index/indexed_contributions
new file mode 100644
index 0000000..aba2526
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/index/indexed_contributions
@@ -0,0 +1,3 @@
+#This is a generated file; do not edit.
+#Wed Jul 23 14:43:06 CEST 2008
+org.eclipse.acceleo.doc=org.eclipse.acceleo.doc\n0.8.0.qualifier
diff --git a/doc/org.eclipse.acceleo.doc/index/indexed_dependencies b/doc/org.eclipse.acceleo.doc/index/indexed_dependencies
new file mode 100644
index 0000000..5073106
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/index/indexed_dependencies
@@ -0,0 +1,4 @@
+#This is a generated file; do not edit.
+#Wed Jul 23 14:43:06 CEST 2008
+lucene=1.9.1.v20080530-1600
+analyzer=org.eclipse.help.base\#3.3.100.v20080617?locale\=fr
diff --git a/doc/org.eclipse.acceleo.doc/index/indexed_docs b/doc/org.eclipse.acceleo.doc/index/indexed_docs
new file mode 100644
index 0000000..fab742e
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/index/indexed_docs
@@ -0,0 +1,2 @@
+#This is a generated file; do not edit.
+#Wed Jul 23 14:43:06 CEST 2008
diff --git a/doc/org.eclipse.acceleo.doc/index/segments b/doc/org.eclipse.acceleo.doc/index/segments
new file mode 100644
index 0000000..57262c1
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/index/segments
Binary files differ
diff --git a/doc/org.eclipse.acceleo.doc/plugin.properties b/doc/org.eclipse.acceleo.doc/plugin.properties
new file mode 100644
index 0000000..35ce2cb
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/plugin.properties
@@ -0,0 +1,14 @@
+################################################################################
+# Copyright (c) 2008, 2009 Obeo.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Obeo - initial API and implementation
+################################################################################
+# NLS_MESSAGEFORMAT_VAR
+pluginName = Acceleo Documentation
+providerName=Eclipse.org
+
diff --git a/doc/org.eclipse.acceleo.doc/plugin.xml b/doc/org.eclipse.acceleo.doc/plugin.xml
new file mode 100644
index 0000000..e97636b
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/plugin.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+Copyright (c) 2008, 2009 Obeo.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+
+Contributors:
+ Obeo - initial API and implementation
+-->
+
+<plugin>
+ <extension point="org.eclipse.help.toc">
+ <toc file="toc.xml" primary="true"/>
+ </extension>
+
+ <!-- ====================================================================== -->
+ <!-- Define TOCs -->
+ <!-- ====================================================================== -->
+
+ <extension point="org.eclipse.help.toc">
+ <toc file="topics_Reference.xml" />
+ </extension>
+
+<!-- ============================================================================= -->
+<!-- Define Javadoc locations -->
+<!-- ============================================================================= -->
+ <extension point="org.eclipse.pde.core.javadoc">
+ <javadoc path="doc.zip!/references/javadoc" archive="true">
+ <plugin id="org.eclipse.acceleo.common"/>
+ </javadoc>
+ </extension>
+
+</plugin>
diff --git a/doc/org.eclipse.acceleo.doc/references/.cvsignore b/doc/org.eclipse.acceleo.doc/references/.cvsignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/references/.cvsignore
diff --git a/doc/org.eclipse.acceleo.doc/toc.xml b/doc/org.eclipse.acceleo.doc/toc.xml
new file mode 100644
index 0000000..3518fc0
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/toc.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="Acceleo Model To Text Transformation Language (MTL)">
+ <topic label="Developer Guide">
+ <topic label="Javadoc">
+ <link toc="topics_Reference.xml"/>
+ </topic>
+ </topic>
+ <topic href="doc/overview.html" label="User Guide">
+ <topic href="doc/html/plugin_overview.html" label="Plugin overview">
+ </topic>
+ <topic href="doc/html/new_module.html" label="Create a new Module">
+ </topic>
+ <topic href="doc/html/new_ui_module.html" label="Create a new UI Module">
+ </topic>
+ </topic>
+ <topic href="doc/Legal.html" label="Legal">
+ </topic>
+</toc>
diff --git a/doc/org.eclipse.acceleo.doc/topics_Reference.xml b/doc/org.eclipse.acceleo.doc/topics_Reference.xml
new file mode 100644
index 0000000..0e1b38e
--- /dev/null
+++ b/doc/org.eclipse.acceleo.doc/topics_Reference.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<span>File created to avoid PDE warnings.
+The actual content is created during the build.</span> \ No newline at end of file