Skip to content

Commit

Permalink
Use the new build-help-index mojo instead of ant calls
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Apr 19, 2023
1 parent 83885f0 commit 845d94b
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 364 deletions.
7 changes: 0 additions & 7 deletions bundles/org.eclipse.jdt.doc.isv/buildDoc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
<target name="all" depends="init" unless="index.present">
<antcall target="convertSchemaToHtml" />
<antcall target="generateJavadoc" />
<antcall target="build.index" />
<!--antcall target="createDocZip" /-->
</target>


<target name="build.index" description="Builds search index for the plug-in: org.eclipse.jdt.doc.isv" if="eclipse.running">
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}"/>
</target>

<target name="convertSchemaToHtml" if="eclipse.running">
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.eclipse.jdt.doc.isv/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
Expand Down
106 changes: 0 additions & 106 deletions bundles/org.eclipse.jdt.doc.user/build.xml

This file was deleted.

44 changes: 2 additions & 42 deletions bundles/org.eclipse.jdt.doc.user/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,48 +34,8 @@
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<executions>
<execution>
<id>dont_skip_me</id>
<phase>compile</phase>
<configuration>
<skip>false</skip>
<applicationsArgs>
<args>-consolelog</args>
<args>-debug</args>
<args>-application</args>
<args>org.eclipse.ant.core.antRunner</args>
<args>-quiet</args>
<args>-buildfile</args>
<args>build.xml</args>
<args>build.index</args>
</applicationsArgs>
<dependencies>
<dependency>
<artifactId>org.eclipse.osgi.compatibility.state</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.ant.core</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.apache.ant</artifactId>
<type>eclipse-plugin</type>
</dependency>
<dependency>
<artifactId>org.eclipse.help.base</artifactId>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
</configuration>
<goals>
<goal>eclipse-run</goal>
</goals>
</execution>
</executions>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down
6 changes: 0 additions & 6 deletions bundles/org.eclipse.pde.doc.user/buildDoc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
<target name="all" depends="init" unless="index.present">
<antcall target="convertSchemaToHtml" />
<antcall target="generateJavadoc" />
<antcall target="build.index" />
<!--antcall target="createDocZip" /-->
</target>

<target name="build.index" description="Builds search index for the plug-in: org.eclipse.pde.doc.user." if="eclipse.running">
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}"/>
</target>

<target name="convertSchemaToHtml" if="eclipse.running">
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.eclipse.pde.doc.user/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
Expand Down
7 changes: 0 additions & 7 deletions bundles/org.eclipse.platform.doc.isv/buildDoc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
<antcall target="convertSchemaToHtml" />
<antcall target="examplesDocCopy" />
<antcall target="generateJavadoc" />
<antcall target="build.index" />
<!--antcall target="createDocZip" /-->
</target>


<target name="build.index" description="Builds search index for the plug-in: org.eclipse.platform.doc.isv" if="eclipse.running">
<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}"/>
</target>

<target name="convertSchemaToHtml" if="eclipse.running">
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.eclipse.platform.doc.isv/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
Expand Down
6 changes: 1 addition & 5 deletions bundles/org.eclipse.platform.doc.user/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
customBuildCallbacks=customBuildCallbacks.xml


bin.includes = META-INF/,\
plugin.properties,\
*.xml, *.html,book.css,concepts/, gettingStarted/, images/,\
reference/, tasks/, tips/, whatsNew/, index*/


bin.excludes = build.properties,\
customBuildCallbacks.xml
bin.excludes = build.properties
149 changes: 0 additions & 149 deletions bundles/org.eclipse.platform.doc.user/customBuildCallbacks.xml

This file was deleted.

Loading

0 comments on commit 845d94b

Please sign in to comment.