#idempiere IRC log for Monday, 2018-02-12

Not-ff68[IDEMPIERE] fr.jkrieg updated IDEMPIERE-353100: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 location00:37
Not-ff68https://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 location00:37
Not-ff68https://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) at00:37
Not-ff68sun.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) at00:37
Not-ff68org.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 at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68org.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) at00:37
Not-ff68sun.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) at00:37
Not-ff68[IDEMPIERE] fr.jkrieg updated IDEMPIERE-353100: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-600: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 at00:38
Not-ff68org.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) at00:38
Not-ff68sun.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) at00:38
Not-ff68org.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) at00:38
Not-ff68org.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) at00:38
Not-ff68org.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) at00:38
Not-ff68org.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-ff6811 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) at00:38
Not-ff68org.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) at00:38
Not-ff68org.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) at00:38
Not-ff68org.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: Received00:38
Not-ff68fatal 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) at00:38
Not-ff68sun.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) at00:38
Not-ff68org.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) at00:38
Not-ff68[IDEMPIERE] hengsin updated IDEMPIERE-353100:52
Not-ff68[IDEMPIERE] To solve the handshake error, you need to install http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html00:52
Not-ff68[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-353100:52
Not-ff68[IDEMPIERE] hengsin updated IDEMPIERE-353101: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-353101:00
Not-ff68[IDEMPIERE] fr.jkrieg updated IDEMPIERE-353101: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-353101:03
*** test has joined #idempiere05:52
Not-ff68[IDEMPIERE] fr.jkrieg updated IDEMPIERE-353105: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 find05:53
Not-ff68org.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 to05:53
Not-ff68share 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 we05:53
Not-ff68generated 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-353105:53
*** shan has joined #idempiere06:07
*** Junior has joined #idempiere06:19
Junioryello ;)06:20
*** shan has quit IRC06:21
*** nmicoud has joined #idempiere06:28
*** a42niem has joined #idempiere07:08
*** Kiri has joined #idempiere08:29
KiriGood documentation. Where?08:32
Not-ff68[IDEMPIERE] hieplq updated IDEMPIERE-353108: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 a08:52
Not-ff68work-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 platform08:52
Not-ff68[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-353108:52
Not-ff68[IDEMPIERE] hieplq updated IDEMPIERE-353108: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-353108:53
Not-ff68[IDEMPIERE] hieplq updated IDEMPIERE-353109:17
Not-ff68[IDEMPIERE] find out a example here https://github.com/sparsick/generate-p2-repository-from-maven-artifacts09:17
Not-ff68[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-353109:17
*** CarlosRuiz has joined #idempiere09:32
Not-ff68[IDEMPIERE] hieplq created IDEMPIERE-3638 separate code for test out of main code10:07
Not-ff68[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-363810:07
*** CarlosRuiz has quit IRC10:07
*** CarlosRuiz has joined #idempiere10:32
*** Kiri has quit IRC10:50
*** CarlosRuiz has quit IRC11:32
*** CarlosRuiz has joined #idempiere11:45
*** nmicoud_ has joined #idempiere11:49
*** nmicoud has quit IRC11:52
*** CarlosRuiz has quit IRC16:12
*** CarlosRuiz has joined #idempiere16:28
*** nmicoud_ has quit IRC17:29
Not-ff68[IDEMPIERE] ViniMoraes updated IDEMPIERE-361717: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! :D17:59
Not-ff68[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-361717:59
*** CarlosRuiz has quit IRC20:50
*** ChanServ has quit IRC21:02
*** ChanServ has joined #idempiere21:10
*** moon.freenode.net sets mode: +o ChanServ21:10
*** a42niem has quit IRC22:20

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!