Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Patch: another releng patch

When building an RPM, I want to be able to start with a pristine set
of sources.  I found the appended patch useful for this, as it lets me
check out the tree without building it.  I can then "tar" up this tree
and use it as the base source for my CDT spec file.

Tom

Index: build.xml
===================================================================
RCS file: /home/tools/org.eclipse.cdt.releng/build.xml,v
retrieving revision 1.17
diff -u -r1.17 build.xml
--- build.xml 25 Jun 2004 12:31:45 -0000 1.17
+++ build.xml 29 Jun 2004 18:39:59 -0000
@@ -48,6 +48,26 @@
 		<unzip src="${eclipseZip}" dest="${buildDirectory}"/>
 	</target>
 	
+	<target name="fetch" depends="init">
+		<ant antfile="build.xml" dir="${pde.build.scripts}"
+				target="preBuild">
+			<property name="builder" value="${basedir}/platform" />
+		</ant>
+		<ant antfile="build.xml" dir="${pde.build.scripts}"
+				target="preBuild">
+			<property name="builder" value="${basedir}/sdk" />
+		</ant>
+
+		<ant antfile="build.xml" dir="${pde.build.scripts}"
+				target="fetch">
+			<property name="builder" value="${basedir}/platform" />
+		</ant>
+		<ant antfile="build.xml" dir="${pde.build.scripts}"
+				target="fetch">
+			<property name="builder" value="${basedir}/sdk" />
+		</ant>
+	</target>
+
 	<target name="test" depends="init" unless="hasErrors">
 		<ant antfile="build.xml" dir="${pde.build.scripts}">
 			<property name="builder" value="${basedir}/testing" />


Back to the top