[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Hudson CI build failure for EGit: "required class is missing: org/apache/tools/ant/BuildException"

Did sandbox hudson recently experience any change in environmentÂ
(e.g. environment variables,Âmaven settings.xml, file system permissionÂ
or the like) for sandbox hudson ?

The egit.gerrit job is struggling to run maven-antrun-plugin claiming it can't find

But Ant is around in the local Maven repository contained in the Hudson job workspace
I downloadedÂant-1.7.1.jarÂand verified it contains BuildException whichÂ
maven-antrun-pluginÂfails to find.

I also ran a build with Maven debug options but wading through the build log
didn't yet enlighten me what could be the reason of our problem.


2011/11/22 Alex Blewitt <alex.blewitt@xxxxxxxxx>
Has there been a change in the ANT_HOME environment variable? That might point elsewhere confusing the classes and thus not being loadable.Â


Sent from my iPhone 4S

On 22 Nov 2011, at 17:02, Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx> wrote:

Since a few days the verification build for EGit proposed changes is broken.

It seems it can't find some Ant classes any longer when trying to run the
maven-antrun-plugin used to build EGit's documentation bundle :
required class is missing: org/apache/tools/ant/BuildException

But the local Maven repository has this Ant version which contains this class:

I tried several times to wipe the Hudson workspace and re-run the build
to re-download all binaries contained in the localÂmaven repository butÂ
this doesn't seem to help.

I also can't reproduce this problem when running the same build locally on my laptop
(also tried here starting from empty local maven repository).

Does anyone have a clue what's going on here ?

Until this problem is resolved I disabled the verification build for EGit
in order not to blindly vote -1 on all proposed changes.

egit-dev mailing list