Not-ff68 | [IDEMPIERE] fr.jkrieg updated IDEMPIERE-3531 | 00:37 |
---|---|---|
Not-ff68 | [IDEMPIERE] Very happy to see some movement on this. I've been having a play in my spare time but without much success. My initial attempt didn't work, I got the following error when running {{monospaced}}mvn verify -P online{{monospaced}}: {quote} [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location | 00:37 |
Not-ff68 | https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6 .3.1: Unable to read repository at https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1/content.xml. Received fatal alert: handshake_failure -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location | 00:37 |
Not-ff68 | https://sourceforge.net/projects/idempiere/fil es/binary.file/jarfile/jp-p2/jp-6.3.1 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:122) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at | 00:37 |
Not-ff68 | sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at | 00:37 |
Not-ff68 | org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1 at | 00:37 |
Not-ff68 | org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:302) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:270) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:176) at | 00:37 |
Not-ff68 | org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84) at | 00:37 |
Not-ff68 | org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:267) at | 00:37 |
Not-ff68 | org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) ... 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1/content.xml. at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:243) at | 00:37 |
Not-ff68 | org.eclipse.tycho.p2.remote.RemoteRepositoryCacheManager.createCache(RemoteRepositoryCacheManager.java:67) at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66) at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88) at | 00:37 |
Not-ff68 | org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668) at | 00:37 |
Not-ff68 | org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:61) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:53) at | 00:37 |
Not-ff68 | org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:298) ... 22 more Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source) at | 00:37 |
Not-ff68 | sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:553) at | 00:37 |
Not-ff68 | [IDEMPIERE] fr.jkrieg updated IDEMPIERE-3531 | 00:38 |
Not-ff68 | [IDEMPIERE] Very happy to see some movement on this. I've been having a play in my spare time but without much success. My initial attempt didn't work, I got the following error when running {{mvn verify -P online}}: {quote} [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6 | 00:38 |
Not-ff68 | .3.1: Unable to read repository at https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1/content.xml. Received fatal alert: handshake_failure -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location https://sourceforge.net/projects/idempiere/fil es/binary.file/jarfile/jp-p2/jp-6.3.1 at | 00:38 |
Not-ff68 | org.apache.maven.DefaultMaven.execute(DefaultMaven.java:122) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at | 00:38 |
Not-ff68 | sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at | 00:38 |
Not-ff68 | org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'jasper' from location https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1 at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:302) at | 00:38 |
Not-ff68 | org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:270) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:176) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128) at | 00:38 |
Not-ff68 | org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223) at | 00:38 |
Not-ff68 | org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:267) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) ... | 00:38 |
Not-ff68 | 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://sourceforge.net/projects/idempiere/files/binary.file/jarfile/jp-p2/jp-6.3.1/content.xml. at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:243) at org.eclipse.tycho.p2.remote.RemoteRepositoryCacheManager.createCache(RemoteRepositoryCacheManager.java:67) at | 00:38 |
Not-ff68 | org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66) at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57) at | 00:38 |
Not-ff68 | org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at | 00:38 |
Not-ff68 | org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:61) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:53) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:298) ... 22 more Caused by: javax.net.ssl.SSLHandshakeException: Received | 00:38 |
Not-ff68 | fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at | 00:38 |
Not-ff68 | sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:553) at org.eclipse.ecf.provider.filetransfer.httpclient4.SNIAwareHttpClient$1.connectSocket(SNIAwareHttpClient.java:64) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:412) at | 00:38 |
Not-ff68 | org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447) at | 00:38 |
Not-ff68 | [IDEMPIERE] hengsin updated IDEMPIERE-3531 | 00:52 |
Not-ff68 | [IDEMPIERE] To solve the handshake error, you need to install http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html | 00:52 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 00:52 |
Not-ff68 | [IDEMPIERE] hengsin updated IDEMPIERE-3531 | 01:00 |
Not-ff68 | [IDEMPIERE] hiep, doesn't import existing Maven projects able to populate workplace from POM ? | 01:00 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 01:00 |
Not-ff68 | [IDEMPIERE] fr.jkrieg updated IDEMPIERE-3531 | 01:03 |
Not-ff68 | [IDEMPIERE] If you have the Maven extension installed in Eclipse (m2e), then I believe that the answer is yes. It seems to be working for me so far (though I haven't yet managed a full build due to the handshake error which hiep has kindly reported). All you need to do is "Import|Maven|Existing Maven Project" and browse to the root pom.xml file. Import will populate the eclipse workspace from the pom structure. | 01:03 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 01:03 |
*** test has joined #idempiere | 05:52 | |
Not-ff68 | [IDEMPIERE] fr.jkrieg updated IDEMPIERE-3531 | 05:53 |
Not-ff68 | [IDEMPIERE] Ok, I've managed to successfully build and run iDempiere using Maven-Tycho. Here's what I've learned: * For some reason the maven-download-plugin wasn't working for me - I was getting a "ClassNotFoundException". I had to downgrade the property download-maven-version from 1.4.0 to 1.3.0 this in the parent pom.xml to make this work. * Having fixed the above, I got an error: "Failure to find | 05:53 |
Not-ff68 | org.olap4j:olap4j:jar:0.9.7.309-JS-3". Pasting this error message into Google led me to the tip [here|https://community.jaspersoft.com/questions/826431/failure-find-orgolap4jolap4jjar097309-js-3], which worked - after adding the http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/ repository to the parent POM, the Tycho build succeeded. Unfortunately, as hiep alluded to, there is no way to | 05:53 |
Not-ff68 | share the target platform that Tycho generates with Eclipse/PDE, which makes the ongoing development cycle a bit slow. There might be a way around this: # Have a Maven build that collects all of the OSGi Maven dependencies (ie, those found in a Maven repository but not in any P2 repository) and build a local p2 repository from them. # Define a target file that directly references all of the P2 sites, and the one we | 05:53 |
Not-ff68 | generated in step 1. # Reference this target file from both within Eclipse/PDE and from within Maven/Tycho by using the eclipse-target-definition packaging type in Tycho. This way both build environments can share the same target definition. Thanks a bunch to hiep for making a solid start on this. | 05:53 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 05:53 |
*** shan has joined #idempiere | 06:07 | |
*** Junior has joined #idempiere | 06:19 | |
Junior | yello ;) | 06:20 |
*** shan has quit IRC | 06:21 | |
*** nmicoud has joined #idempiere | 06:28 | |
*** a42niem has joined #idempiere | 07:08 | |
*** Kiri has joined #idempiere | 08:29 | |
Kiri | Good documentation. Where? | 08:32 |
Not-ff68 | [IDEMPIERE] hieplq updated IDEMPIERE-3531 | 08:52 |
Not-ff68 | [IDEMPIERE] hi [~hengsin] the projects still is plugin project. tycho make maven see it like maven project. the good point make every developer don't need change anything behavior. just one bad point about target platform. actually issue come from bundles got from maven repositorys. target platform don't aware about it, so can't resolve bundle in site it (ever "mvn verify" already feed it to cache local) i see a | 08:52 |
Not-ff68 | work-around: make a maven task build up new P2 repository for bundle from maven repository 1. collect dependency bundles from maven repository, 2. make P2 for this bundles 3. so we have enough bundle on P2 to resolve, so can define a target platform | 08:52 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 08:52 |
Not-ff68 | [IDEMPIERE] hieplq updated IDEMPIERE-3531 | 08:53 |
Not-ff68 | [IDEMPIERE] thanks [~fr.jkrieg] for your test. about third-party-ce-artifacts i already do a fix and commit. | 08:53 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 08:53 |
Not-ff68 | [IDEMPIERE] hieplq updated IDEMPIERE-3531 | 09:17 |
Not-ff68 | [IDEMPIERE] find out a example here https://github.com/sparsick/generate-p2-repository-from-maven-artifacts | 09:17 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3531 | 09:17 |
*** CarlosRuiz has joined #idempiere | 09:32 | |
Not-ff68 | [IDEMPIERE] hieplq created IDEMPIERE-3638 separate code for test out of main code | 10:07 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3638 | 10:07 |
*** CarlosRuiz has quit IRC | 10:07 | |
*** CarlosRuiz has joined #idempiere | 10:32 | |
*** Kiri has quit IRC | 10:50 | |
*** CarlosRuiz has quit IRC | 11:32 | |
*** CarlosRuiz has joined #idempiere | 11:45 | |
*** nmicoud_ has joined #idempiere | 11:49 | |
*** nmicoud has quit IRC | 11:52 | |
*** CarlosRuiz has quit IRC | 16:12 | |
*** CarlosRuiz has joined #idempiere | 16:28 | |
*** nmicoud_ has quit IRC | 17:29 | |
Not-ff68 | [IDEMPIERE] ViniMoraes updated IDEMPIERE-3617 | 17:58 |
Not-ff68 | [IDEMPIERE] Hi hiep, even with the !important my css had not work. but i found a modified style in my css file that was interrupting the background css, then i deleted then and your tip works! Thank you! :D | 17:59 |
Not-ff68 | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-3617 | 17:59 |
*** CarlosRuiz has quit IRC | 20:50 | |
*** ChanServ has quit IRC | 21:02 | |
*** ChanServ has joined #idempiere | 21:10 | |
*** moon.freenode.net sets mode: +o ChanServ | 21:10 | |
*** a42niem has quit IRC | 22:20 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!