|
From: Jarek C. <jar...@po...> - 2012-03-01 20:10:19
|
Damien, just tried:
1. ant clean
2. cut off the net
3. ant build
Of course earlier I did builds with the net on, so it's like there is a
point 0:
0. ant build with the net on
This works. So please give the exact steps you take and which fail. If
you need to change the user between 0 and the next steps, then maybe
copying .ivy dirs, as Matthieu suggested, would solve the problem. But
not for the ivy.jar. Ivy jar resides in ${lib.dir}/ivy which defaults to
./lib/ivy. Just have that directory filled and building process will not
download ivy.jar. No unknownHostException. Just tested.
Jarek
W dniu 02/28/2012 06:30 PM, Damien Radtke pisze:
> Since the maintainer of the openSUSE jEdit package doesn't seem to do
> very much, I've spent some time the last couple days trying to package
> up jEdit 4.5.0 via the open build service. The main issue I've run
> into so far is the lack of available internet during the build itself;
> it first downloads all dependencies, and then runs the build in a
> chrooted environment with no network access. With the relatively
> recent introduction of Ivy into jEdit's build file, this tends to
> cause problems, notably an UnknownHostException when it tries to fetch
> the Ivy jar.
>
> It's not too hard to create a patch that removes the dependency on Ivy
> itself, but then that means those dependencies have to be resolved
> manually. As an example, taking away Ivy seems to have removed
> ant-launcher.jar from the classpath. I got it to work by manually
> adding /usr/share/ant/lib/ant-launcher.jar to the classpath, but then
> ran into an issue with ant-contrib being in the wrong place.
>
> So my question is, what exactly does Ivy provide in the jEdit build
> process so that I can add some workarounds?
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>
>
|