Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Trunk Build

Hi Eric,

thanks, I got over this issue at last. 
The issues actually started once I had to move to a new build server. There, the environment variable MAVEN_HOME was set instead of M2_HOME. I wasn't even aware that I was running an ant based build until I ran into the jpars issue...
A second problem was that even after setting M2_HOME it was not available inside my Jenkins build server. I have a workaround for that, though.

Thanks for your help,
Sabine

-----Original Message-----
From: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Eric Gwin
Sent: Mittwoch, 25. April 2012 13:25
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] Trunk Build

Sabine,

Do you have Maven 3 installed with a M2_HOME env variable pointing to the install?
Also make sure you are using ant 1.7.x rather than 1.8 or you will have issues with jpa.test.

Then when running "ant -f antbuild.xml <target>" maven will be detected and the correct build path will be followed.

Looks like it is time for me to remove the bundle antbuild.xml files and clear out old build targets. They were left in to ease the transition to Maven/Tycho for the bundle builds, but are now causing more confusion than help.

=Eric

On 25/04/2012 6:04 AM, Heider, Sabine wrote:
> Hi Tom,
>
> I keep having problems with the trunk build although I call "clean". This is the build error:
>
> BUILD FAILED
> /home/hudson/build/space/eclipselink/trunk/antbuild.xml:394: The following error occurred while executing this line:
> /home/hudson/build/space/eclipselink/trunk/jpa/eclipselink.jpars.test/antbuild.xml:223: The following error occurred while executing this line:
> /home/hudson/build/space/eclipselink/trunk/jpa/eclipselink.jpars.test/antbuild.xml:319: Cannot find JPARS: '../../plugins/org.eclipse.persistence.jpars_2.4.0.qualifier.jar'.
>
> The jpars jar really isn't present in my filesystem.
> Is there anything wrong with my setup?
>
> Thanks for your help,
> Sabine
>
> -----Original Message-----
> From: eclipselink-dev-bounces@xxxxxxxxxxx [mailto:eclipselink-dev-bounces@xxxxxxxxxxx] On Behalf Of Tom Ware
> Sent: Freitag, 20. April 2012 17:16
> To: Dev mailing list for Eclipse Persistence Services
> Subject: [eclipselink-dev] Trunk Build
>
> Hi All,
>
>     If you are building the trunk stream and the JPA-RS part of the build fails,
> try to do a "clean" from the base directory and build again.
>
> ant -f antbuild.xml clean
>
>     It appears as though tycho/maven is having trouble figuring out one of the
> dependencies and starting clean addresses the issue.
>
> -Tom
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top