Pierre, Did you uninstall the old plugin first and then do a fresh install; apparently "update" won't work.
Also Eclipse 3.5.2 won't run the new plugin, and thats the error I got. Should work with 3.6 or 3.7. Gareth. -----Original Message----- From: Pierre Smits [mailto:[email protected]] Sent: 15 December 2011 07:45 To: [email protected] Subject: Re: Ofbiz explorer plugin Hi Daniel, I did a update of eclipse with url below. When opening the view I got following error: Unable to create view ID org.ofbiz.plugin.explorerview: org/eclipse/emf/ecore/util/Switch Any ideas on how to resolve? Regards, Pierre 2011/12/14 Daniel McAllister <[email protected]> > I did an update on the Ofbiz Plugin update site. > The update site Url has changed to simplify the deployment process. > http://rasztasd.github.com/ofbiz-eclipse-project-explorer/ > > The current version is 1.0.1. > > Please remove the current plugin if you have installed before installing. > > On Tue, Dec 13, 2011 at 5:03 PM, Daniel McAllister > <[email protected]> > wrote: > > Ok, I'll do that next. > > > > On Tue, Dec 13, 2011 at 4:31 PM, Gareth O'Brien <[email protected]> > wrote: > >> Hey Daniel, > >> > >> I tend to be an IDE junkie so I'm liking the plugin a lot. Any > >> chance > it's > >> ready for a new download package on the update site? 1.05? > >> > >> Thanks, > >> > >> Gareth. > >> > >> -----Original Message----- > >> From: Daniel McAllister [mailto:[email protected]] > >> Sent: 13 December 2011 14:27 > >> To: [email protected] > >> Subject: Re: Ofbiz explorer plugin > >> > >> Hello > >> I have continued work on the Eclipse Ofbiz plugin. > >> > >> For now it parses service Ecas, Views, Forms. > >> It implements Eclipse Hyperlinks for controller.xml, forms, > >> screens, > java > >> code and beanshell. > >> > >> The functions are only working if you open the Ofbiz view to > >> popuplate > all > >> the inner data structures the Hyperlink are working with. > >> > >> There is a Validate current file button that works for now only for > >> controller.xml. It marks request that override other request. > >> View-maps that overrides others. Viewmaps and request that > >> references invalid objects. (it's not 100% feature complete) > >> > >> On Fri, Oct 28, 2011 at 7:34 PM, <[email protected]> wrote: > >>> Hello Daniel, > >>> > >>> I haven't taken changes from the trunk. May be if you have CI > >>> server, you can add a step to update the 'Update site' :-) > >>> > >>> Few other suggestions: (Some of these might already exist in the > >>> trunk version, so you can ignore them). > >>> 1. Under controller, it shows request map, but not the view maps. > >>> It would nice to have 'View Implementation' option in addition to > >>> current 'View Definition' for the view. Similar to to 'Service > >>> Definition' and 'Service Implementation' > >>> > >>> 2. Please use different icons to show services with Java > >>> implementation, as they are the only ones for which you can view > >>> implementation. You already have filter to see Java services. > >>> > >>> 3. Allow viewing implementation of simple service. > >>> > >>> 4. I assume the refresh on a project (right click menu), just > >>> refreshes that project. I have multiple ofbiz branches in my workspace. > >>> > >>> 5. It would be nice to chance the file extensions to something > >>> else and attach property listener so that the tree can be updated > >>> after change to file. But, I guess this falls in broader OfBiz > >> enhancements. > >>> > >>> 6. A option to see reference of a service. > >>> > >>> 7. A view over ECAs > >>> > >>> Regards, > >>> Kiran Gawde > >>> > >>> Senior Software Architect > >>> Object Edge Inc > >>> (925) 943 5558 x108 > >>> > >>> "There are two kind of people: Those who do the work and those who > >>> take the credit. Try to be in the first group because there is > >>> less competition there." > >>> "Never give up on what you really want to do. The person with big > >>> dreams is more powerful than one with all the facts". > >>> > >>> > >>> > >>> > >>> From: Daniel McAllister <[email protected]> > >>> To: [email protected] > >>> Date: 10/06/2011 03:41 AM > >>> Subject: Re: Ofbiz explorer plugin > >>> > >>> > >>> > >>> On 2011. okt. 6., csütörtök, 10.35.54 CEST, Daniel McAllister wrote: > >>>> On 2011. okt. 5., szerda, 19.50.44 CEST, [email protected] wrote: > >>>>> Hello Daniel, > >>>>> > >>>>> I tried it out. What would be nice is that once you double click > >>>>> on an item, it should open corresponding file on the right. > >>>>> > >>>>> Regards, > >>>>> Kiran Gawde > >>>>> > >>>>> Senior Software Architect > >>>>> Object Edge Inc > >>>>> (925) 943 5558 x108 > >>>>> > >>>>> "There are two kind of people: Those who do the work and those > >>>>> who take the credit. Try to be in the first group because there > >>>>> is less competition there." > >>>>> "Never give up on what you really want to do. The person with > >>>>> big > >>> dreams > >>>>> is more powerful than one with all the facts". > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> From: Daniel McAllister<[email protected]> > >>>>> To: [email protected] > >>>>> Date: 10/05/2011 09:46 AM > >>>>> Subject: Ofbiz explorer plugin > >>>>> > >>>>> > >>>>> > >>>>> Hello, > >>>>> > >>>>> I want to give you an update on my ongoing project the Ofbiz > >>>>> Eclipse Explorer. > >>>>> The code is not "production ready" yet. That means there are > >>>>> still features that are not turned on, or not fully implemented. > >>>>> > >>>>> The project site is here: > >>>>> https://github.com/rasztasd/ofbiz-eclipse-project-explorer > >>>>> > >>>>> I would recommend you to checkout the code. Import the > >>>>> org.ofbiz.plugin project in eclipse as a Java project (You can > >>>>> use Git plugin too). Open plugin.xml with the Plug-in manifest > >>>>> editor > >>>>> (default) and on the top right corner press Export "Deployable > >>>>> plugins and fragments". By > >>> default > >>>>> you only need a stock 3.6 Java Eclipse. > >>>>> > >>>>> After you installing the plugin, you can turn on the Ofbiz > >>>>> explorer view, by clicking: Window->Show view->Other->Ofbiz > >>>>> explorer > >>>>> > >>>>> Current feature sets. > >>>>> A view that shows a Tree of Ofbiz artifacts. > >>>>> -Projects > >>>>> -Directories (hotdeploy subdirectories, framework, application, > >>>>> etc) -Components -Webapps -Services -Entites -Controller.xml > >>>>> entries > >>>>> > >>>>> There is a filter on top of the Tree where you can search for: > >>>>> -service names > >>>>> -uri's like /admin/control/doSomething (note that the "control" > >>>>> is hard-coded and not calculated from web.xml) -entites > >>>>> > >>>>> There are popup menus associated to these Tree item's. > >>>>> Service, Controller.xml entries and Entites has go to definition > >>>>> in the Xml file (shows up the editor and selects the > >>>>> corresponding line > >>> number) > >>>>> Java service has a go to Java implementation. > >>>>> > >>>>> If you click on Analyze all in the View then every Java Services > >>>>> are parsed (by static code parsing). It will mark lines in the > >>>>> Java editor with errors where you use a Service input or output > >>>>> parameter that you didn't define in the service's Xml > >>>>> definition. The implementation is very basic, it will only find > >>>>> those places where you use a string literal for the Map's key. > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> Ok, that's a good one. Anyway for now you can right click and > >>>> select show definition/show java implementation. > >>> > >>> Ok I have implemented it :) It's in the Master branch and working OK. > >>> The update site is not updated. > >>> > >> > >> >
