From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10458 invoked by alias); 4 Aug 2003 18:54:45 -0000 Mailing-List: contact eclipse-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: eclipse-owner@sources.redhat.com Received: (qmail 10442 invoked from network); 4 Aug 2003 18:54:44 -0000 To: Marc Boorshtein Cc: eclipse@sources.redhat.com Subject: Re: ant support? References: <1060013806.5749.10.camel@ldap.myhost.com> <87znipmjc9.fsf@fleche.redhat.com> <1060018592.5749.12.camel@ldap.myhost.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Okay.. I'm going home to write the ``I HATE RUBIK's CUBE HANDBOOK FOR DEAD CAT LOVERS''.. Date: Mon, 04 Aug 2003 18:54:00 -0000 In-Reply-To: <1060018592.5749.12.camel@ldap.myhost.com> Message-ID: <874r0xmf96.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00016.txt.bz2 >>>>> "Marc" == Marc Boorshtein writes: Marc> ok, thanks! this might sound like a dumb question, but how do I Marc> apply this patch? I've never worked with patches and rpms. Hmm, there's no simple way to explain it. In the below I assume you're going to go out on the net (or man pages or whatever) and read up about rpmbuild, patch, etc. The simplest thing to do is to make a new eclipse source file and then rebuild. So first, install (rpm -i) prepare the SRPM (rpmbuild -bp). The new eclipse build directory will be ../BUILD/eclipse-something. Go to the ant plugin subdirectory: plugins/org.eclipse.ant.core. Apply the patch with "patch -p0 < patch-file". Now go back to the eclipse build directory (../..). Run: ./build -bc /usr/share/java/libgcj-3.5-tree-ssa.jar -arch x86 -os linux -ws gtk -target makeSourceTarball This will make a new eclipse-src.tar.gz file (in ".."). Copy this over the eclipse-src.tar.gz in SOURCES. Now go to SPECS and do a full eclipse build ("rpmbuild -ba eclipse-blahblah.spec"). I know that's pretty brief, but I don't have time to go into all the details. I'm afraid you'll have to do a lot of the legwork on your own. For this to work you'll need the ant RPM (and all its dependencies) installed. You'll also need gcc-ssa and friends. Tom