mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Upgraded doc.user plugin.xml
This commit is contained in:
parent
c7241a4d1a
commit
da22a3b5db
2 changed files with 1 additions and 57 deletions
|
@ -1,57 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
- <project name="org.eclipse.cdt.doc.user" default="build.jars" basedir=".">
|
|
||||||
- <target name="init">
|
|
||||||
<property name="plugin" value="org.eclipse.cdt.doc.user" />
|
|
||||||
<property name="version.suffix" value="_3.0.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}" />
|
|
||||||
</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">
|
|
||||||
<mkdir dir="${destination.temp.folder}/${full.name}" />
|
|
||||||
<zip zipfile="${destination.temp.folder}/${full.name}/doc.zip" basedir="${basedir}" includes="*.css, concepts/**, getting_started/**, images/**, reference/**, tasks/**" />
|
|
||||||
- <copy todir="${destination.temp.folder}/${full.name}">
|
|
||||||
<fileset dir="${basedir}" includes="*.properties,*.xml,*.zip,*.html,*.htm,*.gif,*.css" excludes="build.properties,build.xml" />
|
|
||||||
</copy>
|
|
||||||
</target>
|
|
||||||
<target name="build.jars" depends="init" />
|
|
||||||
<target name="gather.sources" depends="init" if="destination.temp.folder" />
|
|
||||||
<target name="build.sources" depends="init" />
|
|
||||||
<target name="gather.logs" depends="init" if="destination.temp.folder" />
|
|
||||||
- <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>
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?eclipse version="3.0"?>
|
||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.cdt.doc.user"
|
id="org.eclipse.cdt.doc.user"
|
||||||
name="C/C++ Development User Guide"
|
name="C/C++ Development User Guide"
|
||||||
|
|
Loading…
Add table
Reference in a new issue