mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 01:35:39 +02:00
Build Cleanup.
This commit is contained in:
parent
f024ed0dea
commit
4ee4285e5d
7 changed files with 26 additions and 94 deletions
|
@ -18,6 +18,5 @@ Require-Bundle: org.eclipse.core.runtime,
|
||||||
org.eclipse.cdt.make.core,
|
org.eclipse.cdt.make.core,
|
||||||
org.eclipse.core.resources,
|
org.eclipse.core.resources,
|
||||||
org.eclipse.ui,
|
org.eclipse.ui,
|
||||||
org.eclipse.ui.ide,
|
org.eclipse.ui.ide
|
||||||
org.eclipse.compare
|
|
||||||
Eclipse-AutoStart: true
|
Eclipse-AutoStart: true
|
||||||
|
|
|
@ -10,7 +10,6 @@ Bundle-Localization: plugin
|
||||||
Require-Bundle: org.eclipse.ui,
|
Require-Bundle: org.eclipse.ui,
|
||||||
org.eclipse.core.runtime,
|
org.eclipse.core.runtime,
|
||||||
org.eclipse.cdt.managedbuilder.ui,
|
org.eclipse.cdt.managedbuilder.ui,
|
||||||
org.eclipse.cdt.ui,
|
|
||||||
org.junit,
|
org.junit,
|
||||||
org.eclipse.cdt.managedbuilder.core,
|
org.eclipse.cdt.managedbuilder.core,
|
||||||
org.eclipse.cdt.core
|
org.eclipse.cdt.core
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
||||||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
|
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
|
||||||
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
|
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
|
||||||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
|
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
|
||||||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
|
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
|
||||||
|
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <launchConfigurationWorkingSet editPageId="org.eclipse.ui.resourceWorkingSetPage" factoryID="org.eclipse.ui.internal.WorkingSetFactory" label="working set" name="working set"> <item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/org.eclipse.cdt.doc.isv" type="4"/> </launchConfigurationWorkingSet>}"/>
|
||||||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/org.eclipse.cdt.doc.isv}"/>
|
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/org.eclipse.cdt.doc.isv}"/>
|
||||||
|
<booleanAttribute key="org.eclipse.ant.uiSET_INPUTHANDLER" value="false"/>
|
||||||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.cdt.doc.isv/buildDoc.xml}"/>
|
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.cdt.doc.isv/buildDoc.xml}"/>
|
||||||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
|
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
|
||||||
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
|
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
|
||||||
|
|
|
@ -5,16 +5,6 @@
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
||||||
<buildSpec>
|
<buildSpec>
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
|
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
|
||||||
<triggers>full,incremental,</triggers>
|
<triggers>full,incremental,</triggers>
|
||||||
|
@ -25,6 +15,16 @@
|
||||||
</dictionary>
|
</dictionary>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.ManifestBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.SchemaBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
|
|
|
@ -8,5 +8,14 @@
|
||||||
# Contributors:
|
# Contributors:
|
||||||
# IBM Corporation - initial API and implementation
|
# IBM Corporation - initial API and implementation
|
||||||
###############################################################################
|
###############################################################################
|
||||||
custom = true
|
bin.includes = META-INF/,\
|
||||||
bin.includes = META-INF/
|
reference/,\
|
||||||
|
guide/,\
|
||||||
|
book.css,\
|
||||||
|
about.html,\
|
||||||
|
schema.css,\
|
||||||
|
toc.xml,\
|
||||||
|
topics_Guide.xml,\
|
||||||
|
topics_Reference.xml,\
|
||||||
|
plugin.xml,\
|
||||||
|
notices.html
|
||||||
|
|
|
@ -1,77 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project name="org.eclipse.cdt.doc.isv" default="build.jars" basedir=".">
|
|
||||||
|
|
||||||
<target name="init">
|
|
||||||
<property name="plugin" value="org.eclipse.cdt.doc.isv"/>
|
|
||||||
<property name="version.suffix" value="_3.1.0"/>
|
|
||||||
<property name="full.name" value="${plugin}${version.suffix}"/>
|
|
||||||
<property name="temp.folder" value="${basedir}/temp.folder"/>
|
|
||||||
<property name="plugin.destination" value="${basedir}"/>
|
|
||||||
<property name="build.result.folder" value="${basedir}"/>
|
|
||||||
<available file="${basedir}/doc.zip" property="doc.zip.present"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build.update.jar" depends="init">
|
|
||||||
<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 zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false"/>
|
|
||||||
<delete dir="${temp.folder}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
|
|
||||||
<antcall target="buildDocZip" />
|
|
||||||
<mkdir dir="${destination.temp.folder}/${full.name}"/>
|
|
||||||
<copy todir="${destination.temp.folder}/${full.name}">
|
|
||||||
<fileset dir="${basedir}" includes="*.properties,*.xml,*.zip,*.html,*.htm,*.gif,*.css" excludes="build.properties,build.xml,buildDoc.xml"/>
|
|
||||||
</copy>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="buildDocZip" depends="init" unless="doc.zip.present">
|
|
||||||
<ant antfile="buildDoc.xml" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build.jars" depends="init">
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="gather.sources" depends="init" if="destination.temp.folder">
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build.sources" depends="init">
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="gather.logs" depends="init" if="destination.temp.folder">
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="clean" depends="init">
|
|
||||||
<delete file="${plugin.destination}/${full.name}.jar"/>
|
|
||||||
<delete file="${plugin.destination}/${full.name}.zip"/>
|
|
||||||
<delete dir="${temp.folder}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="refresh" depends="init" if="eclipse.running">
|
|
||||||
<eclipse.refreshLocal resource="${plugin}" depth="infinite"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="zip.plugin" depends="init">
|
|
||||||
<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 zipfile="${plugin.destination}/${full.name}.zip" basedir="${temp.folder}" filesonly="true"/>
|
|
||||||
<delete dir="${temp.folder}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -5,7 +5,6 @@
|
||||||
<antcall target="convertSchemaToHtml" />
|
<antcall target="convertSchemaToHtml" />
|
||||||
<!--antcall target="examplesDocCopy" /-->
|
<!--antcall target="examplesDocCopy" /-->
|
||||||
<antcall target="generateJavadoc" />
|
<antcall target="generateJavadoc" />
|
||||||
<antcall target="createDocZip" />
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="convertSchemaToHtml" if="eclipse.running">
|
<target name="convertSchemaToHtml" if="eclipse.running">
|
||||||
|
|
Loading…
Add table
Reference in a new issue