Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-09-13 07:41:25 +0000
committerEike Stepper2011-09-13 07:41:25 +0000
commit96507c6db9f6e6b131d2a429c89ba1f91d5c948f (patch)
treea7c856bb74220983a8a623279bd27874f0d7c452 /plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
parent51e4170064a1fdfac043c2de968be6724bda5668 (diff)
downloadcdo-96507c6db9f6e6b131d2a429c89ba1f91d5c948f.tar.gz
cdo-96507c6db9f6e6b131d2a429c89ba1f91d5c948f.tar.xz
cdo-96507c6db9f6e6b131d2a429c89ba1f91d5c948f.zip
tutorials
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant39
1 files changed, 23 insertions, 16 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant b/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
index 4687659df1..8096a23c00 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
@@ -7,13 +7,15 @@
<property name="emf.version" value="2.7.0" />
<property name="platform.version" value="juno" />
- <property name="javadoc.project" value="plugins/${PROJECT-NAME}" />
- <property file="${javadoc.project}/plugin.properties" />
+ <property name="project.path" value="plugins/${PROJECT-NAME}" />
+ <property file="${project.path}/plugin.properties" />
+ <property file="${project.path}/build.properties" />
<property name="javadoc.name" value="${pluginName}" />
- <property name="javadoc.destdir" value="${javadoc.project}/javadoc" />
- <property name="article.destdir" value="${javadoc.project}/html" />
- <property name="article.sources" value="${javadoc.project}/src" />
+ <property name="javadoc.destdir" value="${project.path}/javadoc" />
+ <property name="article.destdir" value="${project.path}/html" />
+ <property name="article.sources" value="${project.path}/src" />
<property name="supplemental" value="/develop/bin/org.eclipse.emf.cdo.releng.doc.supplemental" />
+ <!-- ARTICLE SKIP -->
<path id="javadoc.classpath">
<fileset dir="_target/plugins">
@@ -70,7 +72,7 @@
notree="true"
windowtitle="${javadoc.name}"
doctitle="&lt;h1>${javadoc.name}&lt;/h1>"
- overview="${javadoc.project}/overview.html"
+ overview="${project.path}/overview.html"
bottom="&lt;i>Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&lt;/i>">
<doclet name="org.jboss.apiviz.APIviz" path="${supplemental}/bin">
@@ -88,7 +90,7 @@
<link href="http://download.oracle.com/javase/${jdk.version}/docs/api" />
<link href="http://help.eclipse.org/${platform.version}/topic/org.eclipse.platform.doc.isv/reference/api" />
<link href="http://download.eclipse.org/modeling/emf/emf/javadoc/${emf.version}" />
- <!-- DEPENDENCIES -->
+ <!-- JAVADOC DEPENDENCIES -->
<tag name="ADDED" description="Added" />
<tag name="Singleton" description="Singleton" />
@@ -105,7 +107,7 @@
<!-- COPY DOC FILES -->
<copy todir="${javadoc.destdir}/resources" verbose="true" failonerror="false">
- <fileset dir="${javadoc.project}/resources" defaultexcludes="true">
+ <fileset dir="${project.path}/resources" defaultexcludes="true">
<include name="**/*" />
<exclude name="README.txt" />
</fileset>
@@ -138,7 +140,11 @@
</java>
</target>
- <target name="build.article">
+ <target name="build.article" unless="article.skip">
+ <tstamp>
+ <format property="start.time" pattern="y-M-D-H-m-s-S" />
+ </tstamp>
+
<mkdir dir="${article.destdir}" />
<copy todir="${article.destdir}" verbose="true" failonerror="false">
<fileset dir="${article.sources}" defaultexcludes="true">
@@ -154,18 +160,19 @@
failonerror="true"
private="true">
- <doclet name="org.eclipse.emf.cdo.releng.doc.article.ArticleDoclet"
- path="plugins/org.eclipse.emf.cdo.releng.doc/bin;${supplemental}/bin">
+ <doclet name="org.eclipse.emf.cdo.releng.doc.article.impl.ArticleDoclet"
+ path="plugins/org.eclipse.emf.cdo.releng.doc/bin;${supplemental}/bin;C:\develop\ws\cdo\_target\plugins\org.eclipse.emf.ecore_2.7.0.v20110605-0747.jar;C:\develop\ws\cdo\_target\plugins\org.eclipse.emf.common_2.7.0.v20110605-0747.jar">
+ <param name="-starttime" value="${start.time}" />
<param name="-basefolder" value="${basedir}" />
- <param name="-outputpath" value="plugins/org.eclipse.emf.cdo.doc/html" />
+ <param name="-project" value="${PROJECT-NAME}" />
</doclet>
- <fileset dir="${article.sources}" defaultexcludes="yes">
- <include name="**/*.java" />
+ <fileset dir="plugins">
+ <include name="${PROJECT-NAME}/src/**/*.java" />
+ <!-- ARTICLE DEPENDENCIES -->
</fileset>
- <package name="org.eclipse.emf.cdo.doc.connectors" />
- <package name="org.eclipse.emf.cdo.doc.sessions" />
+ <!-- ARTICLE PACKAGES -->
</javadoc>
</target>

Back to the top