diff options
| author | jlescot | 2007-11-08 15:51:29 +0000 |
|---|---|---|
| committer | jlescot | 2007-11-08 15:51:29 +0000 |
| commit | cee7962414bfa96343c5b6c19ad9c92c5ce5bb86 (patch) | |
| tree | 3c7091ed24e46946bf7fefbde5fdbdfc3a7330ad | |
| parent | 51d4d474d5ed8547173d293a6b9a09d31ea5e2cf (diff) | |
| download | org.eclipse.ecoretools-cee7962414bfa96343c5b6c19ad9c92c5ce5bb86.tar.gz org.eclipse.ecoretools-cee7962414bfa96343c5b6c19ad9c92c5ce5bb86.tar.xz org.eclipse.ecoretools-cee7962414bfa96343c5b6c19ad9c92c5ce5bb86.zip | |
Initial contribution (from information given in the wiki page : http://wiki.eclipse.org/Modeling_Project_Releng/Releng_Module)
16 files changed, 538 insertions, 0 deletions
diff --git a/doc/org.eclipse.emf.ecoretools.doc/.project b/doc/org.eclipse.emf.ecoretools.doc/.project new file mode 100644 index 0000000..f63013e --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.emf.ecoretools.doc</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + </natures> +</projectDescription> diff --git a/doc/org.eclipse.emf.ecoretools.doc/META-INF/MANIFEST.MF b/doc/org.eclipse.emf.ecoretools.doc/META-INF/MANIFEST.MF new file mode 100644 index 0000000..75c20c3 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName (Incubation) +Bundle-SymbolicName: org.eclipse.emf.ecoretools.doc;singleton:=true +Bundle-Version: 0.8.0.qualifier +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Require-Bundle: org.eclipse.help +Eclipse-LazyStart: true diff --git a/doc/org.eclipse.emf.ecoretools.doc/about.html b/doc/org.eclipse.emf.ecoretools.doc/about.html new file mode 100644 index 0000000..1b8f940 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/about.html @@ -0,0 +1,28 @@ +<!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"> +<h2>About This Content</h2> + +<p>June 5, 2007</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" 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 ("Redistributor") 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> + +</body> +</html>
\ No newline at end of file diff --git a/doc/org.eclipse.emf.ecoretools.doc/about.ini b/doc/org.eclipse.emf.ecoretools.doc/about.ini new file mode 100644 index 0000000..b7e87ca --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.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.emf.ecoretools.doc/about.mappings b/doc/org.eclipse.emf.ecoretools.doc/about.mappings new file mode 100644 index 0000000..7d795dc --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.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.emf.ecoretools.doc/about.properties b/doc/org.eclipse.emf.ecoretools.doc/about.properties new file mode 100644 index 0000000..8d40532 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/about.properties @@ -0,0 +1,17 @@ +# 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=Ecore Tools Documentation + +featureText=Ecore Tools Documentation\n\ +Version: {featureVersion}\n\ +Build id: {0}\n\ +\n\ +(c) Copyright Eclipse contributors and others. 2007. All rights reserved.\n\ +Visit http://www.eclipse.org/modeling/emft/?project=ecoretools#ecoretools + diff --git a/doc/org.eclipse.emf.ecoretools.doc/build.properties b/doc/org.eclipse.emf.ecoretools.doc/build.properties new file mode 100644 index 0000000..9c86577 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/build.properties @@ -0,0 +1 @@ +custom = true diff --git a/doc/org.eclipse.emf.ecoretools.doc/build.xml b/doc/org.eclipse.emf.ecoretools.doc/build.xml new file mode 100644 index 0000000..822d17d --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/build.xml @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="org.eclipse.emf.ecoretools.doc" default="build.jars" basedir="."> + + <property name="pluginVersion" value="2.3.0"/> + <property name="projectName" value="ecoretools"/> + + <property name="basews" value="${ws}"/> + <property name="baseos" value="${os}"/> + <property name="basearch" value="${arch}"/> + <property name="basenl" value="${nl}"/> + + <!-- Compiler settings --> + <property name="javacFailOnError" value="false"/> + <property name="javacDebugInfo" value="on"/> + <property name="javacVerbose" value="true"/> + <property name="compilerArg" value=""/> + <property name="javacSource" value="1.5"/> + <property name="javacTarget" value="1.5"/> + <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}"/> + + <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}/org.eclipse.${projectName}.doc"> + <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: org.eclipse.${projectName}.doc 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}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}.jar" basedir="${temp.folder}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}" filesonly="false" whenempty="skip" update="false"/> + <delete dir="${temp.folder}"/> + </target> + + <target name="gather.bin.parts" depends="init" if="destination.temp.folder"> + <mkdir dir="${destination.temp.folder}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}"/> + <copy todir="${destination.temp.folder}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}" failonerror="true" overwrite="false"> + <fileset dir="${build.result.folder}" + includes="about.*,modeling*.png,plugin.*,toc*.xml,topics_*.xml,doc.zip,index/**,META-INF/**"/> + </copy> + <eclipse.versionReplacer path="${destination.temp.folder}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}" version="${pluginVersion}.${forceContextQualifier}"/> + </target> + + <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.eclipse.${projectName}.doc."> + <property name="eclipseDir" location="../.."/> + + <chmod perm="754" file="build/antJavadoc.sh"/> + <exec executable="bash" dir="build"> + <arg line="./antJavadoc.sh ${eclipseDir}"/> + </exec> + + <antcall target="build.index"/> + + <zip destfile="${build.result.folder}/doc.zip" compress="true"> + <zipfileset dir="css" prefix="css"/> + <zipfileset dir="images" prefix="images"/> + <zipfileset dir="references" prefix="references"/> + <zipfileset dir="tutorials" prefix="tutorials"/> + </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="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: org.eclipse.${projectName}.doc of all the zips, jars and logs created."> + <delete file="${plugin.destination}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}.jar"/> + <delete file="${plugin.destination}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}.zip"/> + <delete dir="${temp.folder}"/> + </target> + + <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder."> + <eclipse.convertPath fileSystemPath="D:/eclipse/${projectName}/eclipse/plugins/org.eclipse.${projectName}.doc" property="resourcePath"/> + <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/> + </target> + + <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: org.eclipse.${projectName}.doc."> + <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}/org.eclipse.${projectName}.doc_${pluginVersion}.${forceContextQualifier}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/> + <delete dir="${temp.folder}"/> + </target> + +</project> diff --git a/doc/org.eclipse.emf.ecoretools.doc/build/antJavadoc.sh b/doc/org.eclipse.emf.ecoretools.doc/build/antJavadoc.sh new file mode 100644 index 0000000..0b3e330 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/build/antJavadoc.sh @@ -0,0 +1,141 @@ +#!/bin/sh + +# BEGIN CUSTOMIZATIONS + +# The plugin name +pluginName="org.eclipse.emf.ecoretools"; + +# string labels for javadoc content +windowTitle="Ecore Tools Javadoc"; +groupTitle="Ecore Tools"; + +# 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!"; + 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.emf.ecoretools.doc/build/javadoc.xml.template b/doc/org.eclipse.emf.ecoretools.doc/build/javadoc.xml.template new file mode 100644 index 0000000..bf3811e --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.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.platform.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 2007 Anyware Technologies.<br> 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-Xmx180m"/> + + <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.emf.ecoretools.doc/build/overview.html b/doc/org.eclipse.emf.ecoretools.doc/build/overview.html new file mode 100644 index 0000000..d6a420c --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.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) 2007 IBM Corporation and others. + * 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 2007/11/08 15:51:29 jlescot 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.emf.ecoretools.doc/plugin.properties b/doc/org.eclipse.emf.ecoretools.doc/plugin.properties new file mode 100644 index 0000000..d9f1f61 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/plugin.properties @@ -0,0 +1,4 @@ +# NLS_MESSAGEFORMAT_VAR +pluginName = Ecore Tools Documentation +providerName=Eclipse.org + diff --git a/doc/org.eclipse.emf.ecoretools.doc/plugin.xml b/doc/org.eclipse.emf.ecoretools.doc/plugin.xml new file mode 100644 index 0000000..e442210 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/plugin.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> +<plugin> + <!-- ====================================================================== --> + <!-- Define primary TOC --> + <!-- ====================================================================== --> + <extension point="org.eclipse.help.toc"> + <toc file="toc.xml" primary="true"/> + <index path="index"/> + </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"> + <!-- @pluginIDs@ --> + <!-- list plugin IDs here, eg. <plugin id="org.eclipse.foo.bar"/> <plugin id="org.eclipse.foo.baz"/> --> + <plugin id="org.eclipse.emf.ecoretools.diagram"/> + <plugin id="org.eclipse.emf.ecoretools.properties"/> + <plugin id="org.eclipse.emf.tabbedproperties"/> + <plugin id="org.eclipse.gmf.runtime.diagram.ui.outline"/> + </javadoc> + </extension> + +</plugin> diff --git a/doc/org.eclipse.emf.ecoretools.doc/references/.cvsignore b/doc/org.eclipse.emf.ecoretools.doc/references/.cvsignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/references/.cvsignore diff --git a/doc/org.eclipse.emf.ecoretools.doc/toc.xml b/doc/org.eclipse.emf.ecoretools.doc/toc.xml new file mode 100644 index 0000000..c6b72f6 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.doc/toc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?NLS TYPE="org.eclipse.help.toc"?> + +<toc label="EMF Ecore Tools Table of Contents"> + <topic label="Javadoc" href="references/javadoc/index.html"/> +</toc> diff --git a/doc/org.eclipse.emf.ecoretools.doc/topics_Reference.xml b/doc/org.eclipse.emf.ecoretools.doc/topics_Reference.xml new file mode 100644 index 0000000..714e7f9 --- /dev/null +++ b/doc/org.eclipse.emf.ecoretools.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> |
