From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12086 invoked by alias); 4 Aug 2003 18:56:24 -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 12072 invoked from network); 4 Aug 2003 18:56:24 -0000 Subject: Re: ant support? From: Marc Boorshtein To: tromey@redhat.com Cc: eclipse@sources.redhat.com In-Reply-To: <874r0xmf96.fsf@fleche.redhat.com> References: <1060013806.5749.10.camel@ldap.myhost.com> <87znipmjc9.fsf@fleche.redhat.com> <1060018592.5749.12.camel@ldap.myhost.com> <874r0xmf96.fsf@fleche.redhat.com> Content-Type: text/plain Organization: OctetString Message-Id: <1060022992.5749.14.camel@ldap.myhost.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: Mon, 04 Aug 2003 18:56:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q3/txt/msg00017.txt.bz2 its a great start, thanks! On Mon, 2003-08-04 at 14:47, Tom Tromey wrote: > >>>>> "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 -- Marc Boorshtein OctetString