Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323452 - Cannot import example models
Summary: Cannot import example models
Status: CLOSED WONTFIX
Alias: None
Product: AMP
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Miles Parker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 21:49 EDT by Scott Christley CLA
Modified: 2011-05-31 18:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Christley CLA 2010-08-23 21:49:06 EDT
Both the "import example models from download" and "import example models from VCS" link from the Samples do not do anything.  I'm not able to run the tutorial.
Comment 1 Miles Parker CLA 2010-08-23 23:02:50 EDT
Hi Scott,

When you say "don't do anything" do you literally mean that you select them from the cheat sheets and there isn't anything there, or what?

I want to make sure that they are working correctly, but you can just grab them from Eclipse CVS or pfs directly. All the cheat sheets do is some hand-holding.

http://eclipse.org/amp/documentation/contents/Installation_Guide.html#Obtaining_Example_Models

But please do let me know what's breaking in the cheat sheet. Also what version / distribution are you using?

thanks,

Miles
Comment 2 Scott Christley CLA 2010-08-23 23:40:58 EDT
I got the installation from:

http://eclipse.org/amp/installing/

and installed the modeling components.

I have this in the About window

Eclipse Modeling Tools

Version: Helios Release
Build id: 20100617-1415


Well I may not be understanding the workflow, I understanding a bit more after flailing around, so I got further.  I try the cheat sheet from the Help menu or Samples what-a-ma-callit.  It takes me to a blank looking project screen, but I do see there is a tutorial like thing on the right side.

When I do "import example models from download", it has some text about selecting a ExampleProject folder in the installation directory, but I don't have anything like that in the download.

When I do "import example models from VCS", I am able to download some file ascape.psf, but I get an error when trying to "import a team project set".  The error is

Project for repository type org.eclipse.team.svn.core.svnanture could not be load as the type cound not be found.

I guess this is because I'm missing some SVN think, I tried the instructions on the installing webpage above but they don't seem to match the version of eclipse, different menu options and such.
Comment 3 Miles Parker CLA 2010-08-24 00:48:44 EDT
Hey Scott-

Sorry you're having these annoyances. 

> Well I may not be understanding the workflow, I understanding a bit more after
> flailing around, so I got further.  I try the cheat sheet from the Help menu or
> Samples what-a-ma-callit.  It takes me to a blank looking project screen, but I
> do see there is a tutorial like thing on the right side.

Yeah, the Cheat Sheet is pretty well hidden -- its a bit non-obvious that it has been opened if you've never been in Eclipse before. (Maybe worth a bug in Platform UA for.) 

> When I do "import example models from download", it has some text about
> selecting a ExampleProject folder in the installation directory, but I don't
> have anything like that in the download.

No -- I need to figure out a way to make it more obvious that that is only for the (non-existent as yet) IDE build. Or I'll just leave it out of the regular update site build.

> When I do "import example models from VCS", I am able to download some file
> ascape.psf, but I get an error when trying to "import a team project set".  The
> error is
> Project for repository type org.eclipse.team.svn.core.svnanture could not be
> load as the type cound not be found.

> I guess this is because I'm missing some SVN think, I tried the instructions on
> the installing webpage above but they don't seem to match the version of
> eclipse, different menu options and such.

Yeah, you've hit the other #1 Eclipse annoyance of all time which is that there is no SVN support OOTB (for annoying licensing reasons).

But you actually don't need the example models from ascape.psf -- just get the escape one's. I'll try to make it clearer that the Ascape example are optional. They are pretty cool though because if you install Ascape you can then click on models in the User Docs and actually have them run in the IDE.

Anyway, SVN is easy enough to install -- just click on "Eclipse MarketPlace.." search for SVN and click install. WHile you're at it you can grab Ascape as well by searching for it.
Comment 4 Miles Parker CLA 2010-08-24 01:05:25 EDT
(In reply to comment #3)
> Anyway, SVN is easy enough to install -- just click on "Eclipse MarketPlace.."
> search for SVN and click install. WHile you're at it you can grab Ascape as
> well by searching for it.

Or you could, if the search wasn't broken (bug 311267). So forget about the Ascape stuff for the time being, I think there is also a build install issue because of a mutual Ascape.core dependency. Now, back to our regularly scheduled bug..
Comment 5 Miles Parker CLA 2010-08-24 16:11:43 EDT
Scott, you inspired me.. http://milesparker.blogspot.com/2010/08/making-eclipse-more-welcoming.html

The Ascape Eclipse Discovery issues is fixed but I think there is still an issue with Ascape dependencies since they both use the same core library. The next build should fix that.
Comment 6 Miles Parker CLA 2011-05-31 18:00:54 EDT
We're moving from SVN to Git and that should take care of this issue. So I'm going to set this as won't fix pending a better resolution.