Skip to main content



      Home
Home » Archived » Sapphire » Run Sapphire Project
Run Sapphire Project [message #1386266] Mon, 16 June 2014 05:11 Go to next message
Eclipse UserFriend
Hi guys,

I am new to Sapphire, I have read the documentation and tried to run the samples. However I have the following problem:

I downloaded and ran the samples projects: org.eclipse.sapphire.samples.

I ran it as an Eclipse application , then I created a project and then a new file, e.g. contacts.xml.
So far so good, I am able to see the "contacts" editor.

Then in order to create my own editor I cloned the project and created my own project:
org.eclipse.sapphire.myeditor.
I started customizing the "contacts" editor. To check the result I was running it again as Eclipse application and I was able to see the changes.

However, since yesteday every time I ran the project, and create the contacts.xml file it opens the default "contacts" editor rathern than my customised version. I tried to delete and create a new project but nothing changes.

Any idea why it loads the default project rather than my customised version?

Re: Run Sapphire Project [message #1386333 is a reply to message #1386266] Mon, 16 June 2014 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Since you are re-using the editor condition (the "contacts.xml" file name), you need to make sure that you aren't running your project with Sapphire samples project as both will try to claim that file. If you have the samples project in your workspace, close it before running your project. Also check you target platform. Make sure you didn't install the samples in binary form when installing the rest of Sapphire.
Re: Run Sapphire Project [message #1386556 is a reply to message #1386333] Wed, 18 June 2014 05:12 Go to previous message
Eclipse UserFriend
Thank you very much .

Indeed there was a conflict with the "samples" project. I closed it and then it worked fine.

cheers
Previous Topic:build qualifier
Next Topic:Announcing Sapphire 8 Release
Goto Forum:
  


Current Time: Mon May 05 12:59:04 EDT 2025

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

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

Back to the top