Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to build an environment that compiles source code
How to build an environment that compiles source code [message #1809063] Mon, 08 July 2019 08:20 Go to next message
chao chen is currently offline chao chenFriend
Messages: 13
Registered: June 2019
Junior Member
I want to be familiar with how a Papyrus is implemented. Can someone tell me how to build an environment that compiles source code? I will have problems using Oomph according to the instructions of the official website.

This is the error message:
Executing bootstrap tasks
Java(TM) SE Runtime Environment 1.8.0_91-b15
Product org.eclipse.applications.papyrus.cdo.neon
Workspace C:\Users\admin\papyrus-master11\ws
Project org.eclipse.papyrus.master
Project org.eclipse.papyrus.dev.master
Project org.eclipse.papyrus.main.infra.master
Project org.eclipse.papyrus.main.views.master
Project org.eclipse.papyrus.main.uml.master
Project org.eclipse.papyrus.main.uml-alf.master
Project org.eclipse.papyrus.main.uml-text.master
Project org.eclipse.papyrus.main.emffacet.master
Project org.eclipse.papyrus.main.doc.master
Project org.eclipse.papyrus.main.alltests.master
Project org.eclipse.papyrus.main.misc.master
Project org.eclipse.papyrus.main.toolsmiths.master
Project org.eclipse.papyrus.dev.Oomph.master
Project org.eclipse.papyrus.dev.releng.master
Bundle org.eclipse.oomph.setup 1.13.0.v20190526-0607, build=4011, branch=5ffd461a6f7f4b06d996440c76a4ef40ca218660
Bundle org.eclipse.oomph.setup.core 1.13.0.v20190528-0537, build=4011, branch=5ffd461a6f7f4b06d996440c76a4ef40ca218660
Bundle org.eclipse.oomph.setup.installer 1.13.0.v20190527-1358, build=4011, branch=5ffd461a6f7f4b06d996440c76a4ef40ca218660
Bundle org.eclipse.oomph.setup.p2 1.10.0.v20180706-1242, build=4011, branch=5ffd461a6f7f4b06d996440c76a4ef40ca218660
Performing Workspace C:\Users\admin\papyrus-master11\ws
Performing P2 Director (Papyrus with CDO + + Core Development Tools + + Releng Tools + + Code Quality Tools + + Papyrus Test Generation Framework Tools + Code Quality Tools)
Offline = false
Mirrors = true
Resolving 53 requirements from 12 repositories to C:\Users\admin\papyrus-master11\eclipse
Requirement org.eclipse.xtend.sdk.feature.group
Requirement org.eclipse.acceleo.feature.group
Requirement com.mountainminds.eclemma.feature.feature.group (optional)
Requirement net.sf.eclipsecs.feature.group (optional)
Requirement edu.umd.cs.findbugs.plugin.eclipse.feature.group (optional)
Requirement org.eclipse.oomph.projectconfig.feature.group
Requirement org.eclipse.oomph.projectcopy.feature.group
Requirement org.eclipse.oomph.workingsets.feature.group
Requirement org.eclipse.oomph.version.feature.group
Requirement org.sonatype.tycho.m2e.feature.feature.group
Requirement org.eclipse.emf.sdk.feature.group
Requirement org.eclipse.gmf.runtime.notation.sdk.feature.group
Requirement org.eclipse.gmf.runtime.sdk.feature.group
Requirement org.eclipse.gmf.sdk.feature.group
Requirement org.eclipse.uml2.sdk.feature.group
Requirement org.eclipse.papyrus.sdk.feature.feature.group
Requirement org.eclipse.pde.api.tools.ee.feature.feature.group
Requirement org.eclipse.mylyn.ide_feature.feature.group
Requirement org.eclipse.mylyn.java_feature.feature.group
Requirement org.eclipse.mylyn.pde_feature.feature.group
Requirement org.eclipse.mylyn.team_feature.feature.group
Requirement org.eclipse.mylyn.gerrit.feature.feature.group
Requirement org.eclipse.mylyn_feature.feature.group
Requirement org.eclipse.mylyn.bugzilla_feature.feature.group
Requirement org.eclipse.mylyn.git.feature.group
Requirement org.eclipse.mylyn.hudson.feature.group
Requirement org.eclipse.mylyn.wikitext_feature.feature.group
Requirement org.eclipse.egit.feature.group
Requirement org.eclipse.egit.mylyn.feature.group
Requirement org.eclipse.m2e.feature.feature.group
Requirement org.eclipse.platform.ide
Requirement org.eclipse.platform.feature.group
Requirement org.eclipse.rcp.feature.group
Requirement org.eclipse.oomph.setup.feature.group
Requirement org.eclipse.papyrus.extra.cdo.feature.feature.group
Requirement org.eclipse.emf.cdo.feature.group
Requirement org.eclipse.emf.cdo.compare.feature.group
Requirement org.eclipse.net4j.feature.group
Requirement org.eclipse.net4j.db.h2.feature.group
Requirement org.eclipse.oomph.targlets.feature.group
Requirement org.eclipse.oomph.setup.targlets.feature.group
Requirement org.eclipse.oomph.setup.pde.feature.group
Requirement org.eclipse.oomph.setup.git.feature.group
Requirement org.eclipse.oomph.setup.mylyn.feature.group
Requirement org.eclipse.mylyn.tasks.core
Requirement org.eclipse.mylyn.tasks.ui
Requirement org.eclipse.oomph.setup.projects.feature.group
Requirement org.eclipse.oomph.setup.workingsets.feature.group
Requirement org.eclipse.m2m.qvt.oml.sdk.feature.group
Requirement org.eclipse.gmf.tooling.codegen.xtend2.feature.group
Requirement org.eclipse.upr.utp (optional)
Requirement org.eclipse.upr.utp.papyrus (optional)
Requirement org.eclipse.oomph.setup.jdt.feature.group
Repository http://update.eclemma.org/
Repository http://eclipse-cs.sourceforge.net/update/
Repository http://findbugs.cs.umd.edu/eclipse/
Repository http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.9.0/N/LATEST/
Repository http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases/
Repository http://download.eclipse.org/releases/mars
Repository http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon
Repository http://download.eclipse.org/modeling/emf/cdo/updates/integration
Repository http://download.eclipse.org/oomph/updates/milestone/latest
Repository http://download.eclipse.org/egit/updates
Repository http://download.eclipse.org/mylyn/releases/latest
Repository http://download.eclipse.org/upr/nightly/standardized/update/
Adding repository http://update.eclemma.org/
Adding repository http://download.eclipse.org/egit/updates
Adding repository http://download.eclipse.org/releases/mars
Adding repository http://findbugs.cs.umd.edu/eclipse/
Adding repository http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases/
Adding repository http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.9.0/N/LATEST/
Adding repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository http://download.eclipse.org/upr/nightly/standardized/update/
Adding repository http://download.eclipse.org/modeling/emf/cdo/updates/integration
Adding repository http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon
Adding repository http://download.eclipse.org/mylyn/releases/latest
Fetching content.xml.xz from http://download.eclipse.org/releases/mars/201506241002/
Adding repository http://eclipse-cs.sourceforge.net/update/
Fetching content.jar from http://download.eclipse.org/mylyn/drops/3.25.0/v20190328-1711/ (58.22kB)
Fetching content.jar from http://download.eclipse.org/mylyn/drops/3.25.0/v20190328-1711/
ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at http://eclipse-cs.sourceforge.net/update/content.xml.
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:246)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:246)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:246)
... 2 more

Took 3 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.

[Updated on: Mon, 08 July 2019 08:36]

Report message to a moderator

Re: How to build an environment that compiles source code [message #1809065 is a reply to message #1809063] Mon, 08 July 2019 08:42 Go to previous messageGo to next message
Quentin Le Menez is currently offline Quentin Le MenezFriend
Messages: 47
Registered: September 2014
Location: Paris Saclay, France
Member
Hi Chao,

It's been a task I have to finalize to update the oomph setup of Papyrus (should be up and running soon-ish with the several latest released versions).

There are two ways (just in case one does not pan out for you) to do what you want to do:
1- Using oomph: For this one you should be able to follow the guide with very little adaptation to the new oomph layout (be aware that, from my latest experience with it, it seems oomph does not like when you create the necessary workspace and git folders ahead of time). At the end of the installation you should have your workspace and the git repository all cloned and ready for you.
2- From scratch: Downlaod the latest Eclipse package you want to use from here [1], then clone the git repository with egit from the following address [2]. From there you can install Papyrus from the latest released update site [3] and you should have the necessary setup to go on. Those steps are also detailed later on the Papyrus dev wiki page.

HTH,
Quentin

[1] https://www.eclipse.org/downloads/packages/release/2019-06/r
[2] https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/
[3] https://download.eclipse.org/modeling/mdt/papyrus/updates/releases/2019-06/
Re: How to build an environment that compiles source code [message #1809066 is a reply to message #1809065] Mon, 08 July 2019 08:49 Go to previous messageGo to next message
Quentin Le Menez is currently offline Quentin Le MenezFriend
Messages: 47
Registered: September 2014
Location: Paris Saclay, France
Member
Hi again,
I see you have updated your answer, there are strange output on your trace:
Java(TM) SE Runtime Environment 1.8.0_91-b15 <-- This seems really old (and versions previous to 195/200+ have been know to produce ssl handshake errors)
Product org.eclipse.applications.papyrus.cdo.neon <-- This seem super old as well
Re: How to build an environment that compiles source code [message #1809147 is a reply to message #1809065] Wed, 10 July 2019 07:49 Go to previous message
chao chen is currently offline chao chenFriend
Messages: 13
Registered: June 2019
Junior Member
Thank you very much for your reply. I have tried to import the source code , but there are a lot of plugins missing. Is there any way to solve the missing plugin problem at one time?My development environment is Eclipse Modeling Tools
The following pictures are missing parts

[Updated on: Wed, 10 July 2019 08:27]

Report message to a moderator

Previous Topic:Activity Partition Behavior
Next Topic:Moka Statemachines - NullPointerException
Goto Forum:
  


Current Time: Mon Dec 16 03:04:36 GMT 2019

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

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

Back to the top