tag:blogger.com,1999:blog-9210566578097047576.post1724904393004498118..comments2023-11-05T02:04:07.740-08:00Comments on <coderthoughts />: Superfast Model Driven Development with EMF (II)David Bosschaerthttp://www.blogger.com/profile/13786738766478890804noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9210566578097047576.post-65682862383285484322008-01-09T18:18:00.000-08:002008-01-09T18:18:00.000-08:00Hi GlaucoCarneiro, I wasn't able to reproduce your...Hi GlaucoCarneiro, I wasn't able to reproduce your problem, but the easiest way to get all this code to work is to take JDK 1.6 and use Eclipse 3.3.1.1 as outlined <A HREF="http://coderthoughts.blogspot.com/2007/10/how-to-get-emf-and-gmf-based-uml.html" REL="nofollow">here</A>.<BR/>Then check out all 5 projects from SVN from this location: http://coderthoughts.googlecode.com/svn/trunk/emf_adventure_full<BR/>Finally run the game.Main class in the EMF_Adventure project as a Java Application and it should all work. For more information on checking out the projects from SVN straight into your eclipse workspace, see <A HREF="http://coderthoughts.blogspot.com/2007/11/osgi-services-for-dynamic-applications.html" REL="nofollow">this posting</A> and search for the word 'subversion' in that posting.<BR/><BR/>Hope this helps, DavidDavid Bosschaerthttps://www.blogger.com/profile/13786738766478890804noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-2137803502161704192008-01-09T18:01:00.000-08:002008-01-09T18:01:00.000-08:00Comment copied from here GlaucoCarneiro said... ...Comment copied from <A HREF="http://coderthoughts.blogspot.com/2007/10/how-to-get-emf-and-gmf-based-uml.html" REL="nofollow">here</A> <B>GlaucoCarneiro</B> said...<BR/><BR/> I enjoy very much this blog. And I have read all the tutorials.<BR/><BR/> I would appreciate if you explain me what's going on with the following exception. I have already reviewed everything, but I can not find out the solution.<BR/><BR/> Exception in thread "main" org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://adventure' not found. (file:/C:/.../EMF_Adventure1/bin/My.adventure.xml, 2, 120)<BR/> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:316)<BR/> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:275)<BR/> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:398)<BR/> at game.Status.intializeGame(Status.java:39)<BR/> at game.Main.main(Main.java:9)<BR/> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://adventure' not found. (file:/C:/.../EMF_Adventure1/bin/My.adventure.xml, 2, 120)David Bosschaerthttps://www.blogger.com/profile/13786738766478890804noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-82869343243682852902007-12-28T01:10:00.000-08:002007-12-28T01:10:00.000-08:00You might want to change your blog code to only do...You might want to change your blog code to only do the .readline() in each loop, not instantiate a new BufferedReader each time. I'm sure people will cut-n-paste the same code.<BR/><BR/>Also, what's up with for(;;) ? Isn't 'while(true)' more Java-esque?<BR/><BR/>AlexAlBluehttps://www.blogger.com/profile/06362201865553416948noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-54869874470219282362007-10-22T05:01:00.000-07:002007-10-22T05:01:00.000-07:00Note that the projects in subversion are based on ...Note that the projects in subversion are based on JDK 1.6, but you I've used EMF with JDK 1.4 and upwards too.David Bosschaerthttps://www.blogger.com/profile/13786738766478890804noreply@blogger.com