Mailinglist Archive: opensuse-java (11 mails)

< Previous Next >
Re: [opensuse-java] specific ant version for build
  • From: Michal Vyskocil <mvyskocil@xxxxxxx>
  • Date: Wed, 17 Mar 2010 16:14:39 +0100
  • Message-id: <201003171614.39802.mvyskocil@xxxxxxx>
On Friday 12 March 2010 04:19:28 pm Denny Beyer wrote:
Dear all,
In one project (home:lumnis yabs) in need to use ant v1.7.1 to build, but
for 11.1 or 11.0 only ant 1.7.0 is avialable, which the ant build script
refuses to accept with the message that ant 1.7.1 should be used.

How do I accomplish this. I set the required version number in the spec
file, but that couldn't be found for 11.1 etc. I would prefer to use them
for opensuse_11.1 repo, and stick to the standard version for all versions
later than that.

any help is highly appreciated,
Denny

There are two possibilities:
* create link of ant from 11.2, openSUSE:Factory or Java:packages and build it
for 11.1 and 11.0 (and disable build of that package for 11.2+) - this might
require to link also some of dependencies, which were added for ant 1.7.1
(jdepend?)
* add Java:packages/openSUSE_11.1 as a repository, so the latest version of
Java packages will be available (if they builds, so if not, you have to check
it, as I don't take a care about older openSUSE releases). Add the last line
from listing above to the proper place


$ osc meta prj $PROJECT -e
<repository name="openSUSE_11.1">
<path repository="standard" project="openSUSE:11.1"/>
<path repository="openSUSE_11.1" project="Java:packages"/>

Afaik this cannot be done by web interface.

Regards
Michal Vyskocil
< Previous Next >
List Navigation
References