mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
Adding auto-tagging to build scripts.
This commit is contained in:
parent
3799e8d91e
commit
e26773312d
1 changed files with 134 additions and 5 deletions
|
@ -5,10 +5,8 @@
|
|||
</target>
|
||||
|
||||
<target name="build" depends="zips,test"/>
|
||||
<target name="nightly" depends="zips,test,copy"/>
|
||||
<target name="cdtbuild" depends="zips,test,upload"/>
|
||||
<target name="cdtnotest" depends="zips,upload"/>
|
||||
<target name="nightlynotest" depends="zips,copy"/>
|
||||
<target name="nightly" depends="tag,zips,test,copy"/>
|
||||
<target name="cdtbuild" depends="tag,zips,test,upload"/>
|
||||
|
||||
<target name="init">
|
||||
<touch file="${user.home}/.cvspass" />
|
||||
|
@ -36,12 +34,14 @@
|
|||
<property name="baseos" value="${osgi.os}"/>
|
||||
<property name="basews" value="${osgi.ws}"/>
|
||||
<property name="basearch" value="${osgi.arch}"/>
|
||||
<property name="tagbranch" value=""/>
|
||||
<property name="tagname" value="v${timestamp}"/>
|
||||
<condition property="onWindows">
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
<mkdir dir="${buildDirectory}"/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="fetch" depends="init">
|
||||
<ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild">
|
||||
<property name="builder" value="${basedir}/platform"/>
|
||||
|
@ -182,4 +182,133 @@
|
|||
</mail>
|
||||
</target>
|
||||
|
||||
<target name="tagone">
|
||||
<ant cvsroot=":ext:dschaefer@dev.eclipse.org:/cvsroot/tools" cvsrsh="ssh"
|
||||
command="rtag ${tagbranch} ${tagname} ${tagmodule}"/>
|
||||
</target>
|
||||
|
||||
<target name="tag" depends="init">
|
||||
<property name="cdtTag" value="${tagname}"/>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.aix"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.linux"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.linux.ia64"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.linux.ppc"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.linux.x86"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.linux.x86_64"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.macosx"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.qnx"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.solaris"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.core.win32"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.refactoring"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.refactoring.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt.core/org.eclipse.cdt.ui.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.core"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.core.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.core"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.core.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.gnu.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.core"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.core.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.mi.core"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.mi.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.ui"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.ui.tests"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-doc/org.eclipse.cdt.doc.isv"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-doc/org.eclipse.cdt.doc.user"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-launch/org.eclipse.cdt.launch"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt-feature"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.releng"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.sdk"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.sdk-feature"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.testing"/>
|
||||
</antcall>
|
||||
<antcall target="tagone">
|
||||
<param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.testing-feature"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Add table
Reference in a new issue