Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eclipselink library failed to build(version 2.7.5). please help.(Eclipselink library failed to build. please help.)
Eclipselink library failed to build(version 2.7.5). please help. [message #1820840] Thu, 30 January 2020 08:58 Go to next message
Ratnakar Lingamallu is currently offline Ratnakar LingamalluFriend
Messages: 2
Registered: January 2020
Junior Member
Requirement:
get the source code of eclipselink 2.7.5 and build it to get the artifacts such as eclipselink-2.7.5.jar and other geneated artifacts.

Procedure followed:
Followed the procedure mentioned in https://wiki.eclipse.org/EclipseLink/Building#Environment_Setup

but getting the following error after running the command
ant -f antbuild.xml

generate-local-compdeps:
[echo] Generating local 'Compile Dependency P2 Repository' using Tycho.
[echo] -Dclassworlds.conf=D:\softwares\apache-maven-3.6.1/bin/m2.conf
[echo] -Dmaven.multiModuleProjectDirectory=buildsystem/compdeps
[echo] -Dmaven.home=D:\softwares\apache-maven-3.6.1
[echo] -B clean verify
[java] [INFO] Scanning for projects...
[java] [INFO] Computing target platform for MavenProject: org.eclipse.persistence:org.eclipse.persistence.sun-misc:1.0.5-SNAPSHOT @ D:\testing\thirdparty\eclipselink-2.7.5fromgit\buildsystem\compdeps\sun.misc\pom.xml
[java] [INFO] Resolving dependencies of MavenProject: org.eclipse.persistence:org.eclipse.persistence.sun-misc:1.0.5-SNAPSHOT @ D:\testing\thirdparty\eclipselink-2.7.5fromgit\buildsystem\compdeps\sun.misc\pom.xml
[java] [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[java] [ERROR] Cannot resolve project dependencies:
[java] [ERROR] Software being installed: org.eclipse.persistence.sun-misc 1.0.5.qualifier
[java] [ERROR] Missing requirement: org.eclipse.persistence.sun-misc 1.0.5.qualifier requires 'osgi.bundle; org.eclipse.osgi 0.0.0' but it could not be found
[java] [ERROR]
[java] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[java] [ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.persistence:org.eclipse.persistence.sun-misc:1.0.5-SNAPSHOT @ D:\testing\thirdparty\eclipselink-2.7.5fromgit\buildsystem\compdeps\sun.misc\pom.xml: See log for details -> [Help 1]
[java] [ERROR]
[java] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[java] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[java] [ERROR]
[java] [ERROR] For more information about the errors and possible solutions, please read the following articles:

BUILD FAILED

Please help to resolve the issue.
Re: Eclipselink library failed to build(version 2.7.5). please help. [message #1832778 is a reply to message #1820840] Thu, 24 September 2020 20:19 Go to previous message
John Bullock is currently offline John BullockFriend
Messages: 5
Registered: September 2020
Junior Member
I have a very similar problem building eclipselink.runtime for several version. I have tried 2.6.5, 2.7.1 and the 3.0.0-SNAPSHOT (master).

I have also followed carefully the environment setup instructions and placed junit and jmockit jars in extension.lib.external. I get this error on running

$ ant -f antbuild.xml

[java] [ERROR] Cannot resolve project dependencies:
[java] [ERROR] Software being installed: org.eclipse.persistence.sdo 2.7.1.qualifier
[java] [ERROR] Missing requirement: org.eclipse.persistence.sdo 2.7.1.qualifier requires 'package org.eclipse.persistence.internal.libraries.asm [6.0.0,7.0.0)' but it could not be found
[java] [ERROR]
[java] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.

This seems to be a common problem reported here in the forum. There must be a missing step in the build instructions https://wiki.eclipse.org/EclipseLink/Building#Building_with_Ant.

Any advice appreciated.
  • Attachment: antbuild.out
    (Size: 10.62KB, Downloaded 15 times)
Previous Topic:Eclipselink - dead locks in aqcuire and release deferred locks - Eclipselink 2.4.2 and above
Next Topic:Eclipse Link Support with DBC File
Goto Forum:
  


Current Time: Tue Jun 22 03:03:43 GMT 2021

Powered by FUDForum. Page generated in 0.02154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top