Skip to main content

[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
org/apache/tools/ant/BuildException

But Ant is around in the local Maven repository contained in the Hudson job workspace
.repository / org / apache / ant / ant / 1.7.1 / 
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
https://hudson.eclipse.org/sandbox/job/egit.gerrit/2122/consoleFull
didn't yet enlighten me what could be the reason of our problem.

--
Matthias

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. 

Alex 

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:
https://hudson.eclipse.org/sandbox/job/egit.gerrit/ws/.repository/org/apache/ant/ant/1.7.1/

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.

--
Matthias
_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/egit-dev



--
Matthias

Back to the top