Hi Anders,

I tested always using my current configuration. Version: 3.4.0 Build id: 
I20071101-2000 with emf (2.4.0.v200711062140)

Some quick remarks :
Very RAM consuming : 512MB for Eclipse it barely enough when you run Complete 
analysis on a project. I suspect that actually not
only the project selected is analysed but all open projects (since I can see 
the same number of Complete analysis task in Progress
view). Does this option work from any node ?
The filter does not filter view entity
Did not found any errors in current trunk ! Did not try to introduce some and 
test, though...
Looks like something should be done regarding interface type service. For all 
of them I got :
    !ENTRY OFBizExplorerV2 4 4 2007-12-05 07:53:18.796
    !MESSAGE Unable to resolve service paymentRefundInterface

The previous problems are solved but I got (in log, no problems appear at the 
UI level)

!ENTRY org.eclipse.ui 4 0 2007-12-05 07:53:16.718
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: The 'no null' constraint is violated
 at org.eclipse.emf.common.util.BasicEList.validate(BasicEList.java:175)
 at org.eclipse.emf.ecore.util.EcoreEList.validate(EcoreEList.java:69)
 at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:645)
 at 
org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:331)
 at 
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:288)
 at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:626)
 at dk.itu.smartemf.explorer.impl.ProjectImpl.getServices(ProjectImpl.java:194)
 at dk.itu.smartemf.explorer.ExplorerView$8.run(ExplorerView.java:186)
 at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
 at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
 at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
 at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225)
 at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
 at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1193)

Got also

!ENTRY org.eclipse.ui 4 0 2007-12-05 09:35:32.484
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
 at org.eclipse.jface.viewers.CustomHashtable.put(CustomHashtable.java:333)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2549)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1840)
 at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847)
 at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847)
 at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847)
 at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1815)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1771)
 at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1757)
 at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1430)
 at 
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
 at 
org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:390)
 at 
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
 at 
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1428)
 at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:534)
 at 
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1387)
 at 
org.eclipse.jface.viewers.StructuredViewer.addFilter(StructuredViewer.java:567)
 at dk.itu.smartemf.explorer.ExplorerView$7.run(ExplorerView.java:172)
 at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
 at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
 at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
 at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225)
 at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
 at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1193)

Sorry not more time today...

Jacques


De : "Anders Hessellund" <[EMAIL PROTECTED]>
Hi,

!ENTRY OFBizExplorerV2 4 4 2007-11-30 15:21:26.343
> !MESSAGE Unable to resolve path: geronimo
>

I've fixed this error and uploaded a new version of the plugin and
eclipse-bundle. You can download it here:

   http://www.itu.dk/~hessellund/smartemf/index.php?page=sourcecode

I missed the error because I was testing against an older version of OFBiz
which still used the ${ofbiz.home}-variable in component-load.xml.

I just also noticed  that OFBizExplorerV2 has open *all* my projects without
> any questions, annoying...
>

I've also fixed the inconvenience about the plugin opening all projects.
Now, when you hit "Analyze All", it only analyzes OFBiz projects that are
already open. Give it a spin, and tell me if it works on your installation
now.

-- Anders

2007/11/30, Jacques Le Roux <[EMAIL PROTECTED]>:
>
> Actually I was a bit too enthusiast. I know it's not targetted to use
> 3.4M3 and EMF 2.4 but I get a lot of errors like this one in
> Eclipse log and only folders containing only simple-methods service are
> "visible as trees" in the OFBizExplorerV2 view
>
> !ENTRY OFBizExplorerV2 4 4 2007-11-30 15:21:26.343
> !MESSAGE Unable to resolve path: geronimo
>
> !ENTRY OFBizExplorerV2 4 4 2007-11-30 15:21:26.343
> !MESSAGE Error occurred while loading folder framework
> !STACK 0
> dk.itu.smartemf.explorer.ExplorerException: Unable to resolve path:
> geronimo
> at dk.itu.smartemf.explorer.ResourceLoader.resolveOFBizPath(
> ResourceLoader.java:103)
> at dk.itu.smartemf.explorer.ComponentLoadParser.processStartElement(
> ComponentLoadParser.java:59)
> at dk.itu.smartemf.explorer.Parser.processDocument(Parser.java:41)
> at dk.itu.smartemf.explorer.Parser.processDocument(Parser.java:29)
> at dk.itu.smartemf.explorer.ResourceLoader$3.run(ResourceLoader.java:254)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> Jacques
>
> De : "Jacques Le Roux" <[EMAIL PROTECTED]>
> > Just tried with 3.4M3 and EMF 2.4 with 7 OFBiz projects (differents
> instances) and ... it worked (after a ... long time).
> >
> > This look like a great enhancement. What about simple-method services
> (kidding ;o) ?
> >
> > Jacques
> >
> > De : "Anders Hessellund" <[EMAIL PROTECTED]>
> > he he, sure! I am writing a paper about it which is due in three weeks.
> > After that, I'll make the source available.
> >
> > -- Anders
> >
> > 2007/11/30, Hans Bakker <[EMAIL PROTECTED]>:
> > >
> > > very interesting....however......
> > > If you would make the source also downloadable now AND contribute it
> to
> > > the OFBiz project, we could help you further develop it..... :-)
> > >
> > > On Fri, 2007-11-30 at 14:22 +0100, Anders Hessellund wrote:
> > > > Hi,
> > > >
> > > > I've written a little, very pre-liminary Eclipse plugin for OFBiz.
> The
> > > > purpose of the plugin is to navigate the logical structure of OFBiz
> > > projects
> > > > and check conformance between service interfaces and java
> > > implementations.
> > > > Check out this little flash demo of the tool in action. At the end
> of
> > > the
> > > > demo, there is a link to the download site.
> > > >
> > > >    http://www.itu.dk/~hessellund/smartemf/ofbizexplorer.htm
> > > >
> > > > Any feedback, suggestions etc is greatly appreciated!
> > > >
> > > > -- Anders
> > > --
> > > http://Antwebsystems.com : OFBiz Quality support for competitive
> rates.
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Anders Hessellund
> > IT University of Copenhagen
> > Rued Langgaards Vej 7
> > 2300 København S, DK
> > www.itu.dk/people/hessellund/
> >
>
>


-- 
Anders Hessellund
IT University of Copenhagen
Rued Langgaards Vej 7
2300 København S, DK
www.itu.dk/people/hessellund/

Reply via email to