Skip to main content

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

Thanks, Tom. I have included this with other changes I'm making to get rid 
of the nightly build update site and handle multiple streams. This might 
actually help me with automating the tagging as well.

Doug Schaefer, IBM's Eclipse CDT Architect
Ottawa (Palladium), Ontario, Canada



Tom Tromey <tromey@xxxxxxxxxx> 
Sent by: cdt-patch-admin@xxxxxxxxxxx
06/29/2004 02:30 PM
Please respond to
cdt-patch


To
cdt-patch <cdt-patch@xxxxxxxxxxx>
cc

Subject
[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" />
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch




Back to the top