Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Lyo/FAQ"

< Lyo
(Created page with "= Frequently Asked Questions about Lyo = == Lyo Designer == '''Q: The validation throws a ''"The feature 'extends' contains an unresolved proxy"'' error''' A: Mak...")
 
Line 10: Line 10:
  
 
A: See the previous question.
 
A: See the previous question.
 +
 +
== Lyo SDK ==
 +
 +
'''Q: An OSLC adaptor start on a strange URL that has my machine's hostname inside'''
 +
 +
A: In earlier versions, Lyo used <code>InetAddress.getLocalHost().getCanonicalHostName()</code> to get your hostname. In newer versions, you can set the <code>%servlet-package%.baseurl</code> context parameter in <code>web.xml</code> (where <code>%servlet-package%</code> is the package name where the <code>ServletListener</code> class is located) to something like <code>https://example.xyz</code>. The server will append the context path and will use it throughout the adaptor.

Revision as of 15:58, 5 April 2018

Frequently Asked Questions about Lyo

Lyo Designer

Q: The validation throws a "The feature 'extends' contains an unresolved proxy" error

A: Make sure you have cloned the lyo.tools repository and imported the org.eclipse.lyo.tools.domainmodels project. Once you have done that, close and reopen the modelling project you have been working on. Validation errors should go away.

Q: The validation throws a "The feature 'extends' has a reference to which cannot be found." error

A: See the previous question.

Lyo SDK

Q: An OSLC adaptor start on a strange URL that has my machine's hostname inside

A: In earlier versions, Lyo used InetAddress.getLocalHost().getCanonicalHostName() to get your hostname. In newer versions, you can set the %servlet-package%.baseurl context parameter in web.xml (where %servlet-package% is the package name where the ServletListener class is located) to something like https://example.xyz. The server will append the context path and will use it throughout the adaptor.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.