Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Building EclipseLink

På fredag 09. august 2013 kl. 18:53:06, skrev Eric Gwin <eric.gwin@xxxxxxxxxx>:
Andreas,

You need ant, maven, and java installed. then run from your trunk dir "ant -f antbuild.xml" should start the build. the ant build will call maven. it may stop after the maven build with a "no bnd" error. (I'll be fixing that when I return on Monday.), but by then the bundles will all have been built and should be available in the plugins dir.

I think 2.5 should be available on the sonatype OSS and eclipse maven sites (vacation brain - I'll verify and let you know).
 
Thanks, it was the "ant -f antbuild.xml" part I was missing. Is that information available somewhere?
 
Juse curious; Why isn't EL using Maven, and not Ant, when Maven is used by Ant?
 
I know 2.5 is available at sonatype, but I was wondering about 2.5.1-SNAPSHOT builds, are they anywhere?
 
Anyway, thanks for the info, I'm building EL now to test the converter-fixes.
 
Oh, the build just barfed (I'm using Maven-3.1) with:
 
     [java] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
     [java]     at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:92)
     [java]     at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:144)
     [java]     at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:126)
     [java]     at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
     [java]     at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
     [java]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
     [java]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
     [java]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
     [java]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
     [java]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:606)
     [java]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
     [java]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
     [java]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
     [java]     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
BUILD FAILED
/home/andreak/dev/eclipselink.runtime/antbuild.xml:341: Java returned: 1
 
I guess I have to bild with Maven-3.0 and not 3.1...
 
--
Andreas Joseph Krogh <andreak@xxxxxxxxxxxx>      mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc
 

Back to the top