|
Re: Error when running stock quote example [message #1755179 is a reply to message #1755157] |
Tue, 28 February 2017 17:35 |
Andrii Berezovskyi Messages: 24 Registered: May 2016 |
Junior Member |
|
|
Hello Mohammad,
Thank you for trying Lyo. I just tried to run the sample and hit the same error. Here is what I found:
* pom.xml indicated that it depends on the WAR file from org.eclipse.lyo.oslc4j.registry. It means you need to run "mvn clean package" in the org.eclipse.lyo.oslc4j.registry directory first.
* org.eclipse.lyo.oslc4j.stockquote app depends on org.eclipse.lyo.oslc4j.stockquote.common so you need to run "mvn clean install" in org.eclipse.lyo.oslc4j.stockquote.common as well.
* you need to run "mvn clean jetty:run-exploded" inside org.eclipse.lyo.oslc4j.stockquote as opposed to "mvn clean jetty:run"
The issues I found with the application are filed under https://bugs.eclipse.org/bugs/show_bug.cgi?id=512831.
May I ask you why did you start with this application? I recommend you to use apps in lyo.docs repository and go through the tutorials on the wiki: https://wiki.eclipse.org/Lyo#Tutorials_and_Documentation
-- Andrew
Best regards,
Andrew
Eclipse Lyo project lead & OSLC Core TC voting member
[Updated on: Thu, 02 March 2017 21:01] Report message to a moderator
|
|
|
|
|
Re: Error when running stock quote example [message #1755280 is a reply to message #1755182] |
Wed, 01 March 2017 22:58 |
Andrii Berezovskyi Messages: 24 Registered: May 2016 |
Junior Member |
|
|
Hi Mohammad,
I am glad you like it. I would like to point out that we do not have LDP support for the whole OSLC 3 spec. LDP is used in TRS but otherwise not much support is in the framework. There is a repo with the early attempt to estimate the implementation effort (http://git.eclipse.org/c/lyo/org.eclipse.lyo.ldp.git) but the repository has not been maintained.
There is an LDP4j library, but its integration may prove nontrivial.
We will be glad, however, if you'll be interested in adding LDP support to Lyo beyond TRS.
If you are interested, feel free to open a bug on Bugzilla and we can look at different options. Right now we think that is may prove sufficient to copy the LDP implementation done for TRS across the rest of the framework (but it won't give us full LDP support of all types of containers and non-must features).
-- Andrew
Best regards,
Andrew
Eclipse Lyo project lead & OSLC Core TC voting member
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03178 seconds