ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Vicente Nunez Zuleta <>
Subject Ant RPM task broken on Redhat 8.0, 9.0?
Date Sat, 19 Apr 2003 03:48:47 GMT

Ant RPM task doesn't work on Redhat 8.0; Seems than is looking for rpm,
not rpmbuild.

This is my ant definition:

    <rpm specFile="${rpm}/SPECS/${specfile}" topDir="${basedir}"
cleanBuildDir="yes" removeSpec="yes" removeSource="yes" />

And this is the output:

     [copy] Copying 1 file to /home/josevnz/cvs/XXX/rpm/SPECS
      [tar] Building tar:
      [rpm] -bb: unknown option
      [rpm] Building the RPM based on the rpm/SPECS/XXX.spec file


My ant version:
[josevnz@localhost rpm]$ ant -version
Apache Ant version 1.5.3 compiled on April 9 2003

I'm using Redhat 8.0, Sun JDK 1.4.1_02.

Does anyone know a workaround for this? There is a bug in the ant
bugzilla database
( but is more
than four months old (the first posting started at 2003-01-16 but no
signs of a fix so far).

Thanks in advance,


View raw message