Eclipse plugin for OFBiz - try it out!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Jacques Le Roux
Administrator
Hi Anders,

Just great ! I will try it as soon as I can

Bravo !

Jacques

De : "Anders Hessellund" <[hidden email]>

> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

hans_bakker
In reply to this post by Anders Hessellund-2
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.



Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
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 <[hidden email]>:

>
> 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/
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

hans_bakker
I looked at the flash demo and it sure looks impressive..
congratulations....i am only wondering why you not make the source
available now....

On Fri, 2007-11-30 at 15:00 +0100, Anders Hessellund wrote:

> 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 <[hidden email]>:
> >
> > 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.
> >
> >
> >
> >
>
>
--
http://Antwebsystems.com : OFBiz Quality support for competitive rates.



Reply | Threaded
Open this post in threaded view
|

RE: Eclipse plugin for OFBiz - try it out!

CaseT
In reply to this post by Anders Hessellund-2
Anders,
Awesome piece of work! I'll download it today.
The presentation was great as well.

Thanks much, Case


Case Torres
[hidden email]


-----Original Message-----
From: Anders Hessellund [mailto:[hidden email]]
Sent: Friday, November 30, 2007 5:23 AM
To: ofbiz
Subject: Eclipse plugin for OFBiz - try it out!

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

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Jacques Le Roux
Administrator
In reply to this post by Anders Hessellund-2
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" <[hidden email]>
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 <[hidden email]>:

>
> 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/

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
Thanks,

Just tried with 3.4M3 and EMF 2.4 with 7 OFBiz projects (differents
> instances) and ... it worked (after a ... long time).


he he, both usability and stability leave plenty of room for improvement.
Keep an eye on the PDE Error View when running the plugin, that should
indicate my errors. So far, I've focused on writing the analysis engine. I
probably should have mentioned in the original mail that apart from
requiring Eclipse 3.3 and EMF 2.3, one should note that the plugin
identifies ofbiz-projects by checking if the following file exists (path
relative to project root):

   /framework/base/config/component-load.xml

What about simple-method services (kidding ;o) ?


That should be pretty easy to do....but at the moment I'd rather focus on
figuring out whether this plugin actually adds any value.

Anyway, please report any technical/conceptual errors then I'll return the
favor by making the source code available around Christmas ;)

-- Anders


2007/11/30, Jacques Le Roux <[hidden email]>:

>
> 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" <[hidden email]>
> 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 <[hidden email]>:
> >
> > 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 | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
In reply to this post by CaseT
Thanks,

When you encounter errors/problems with the plugin, please let me know.

-- Anders

2007/11/30, Case Torres <[hidden email]>:

>
> Anders,
> Awesome piece of work! I'll download it today.
> The presentation was great as well.
>
> Thanks much, Case
>
>
> Case Torres
> [hidden email]
>
>
> -----Original Message-----
> From: Anders Hessellund [mailto:[hidden email]]
> Sent: Friday, November 30, 2007 5:23 AM
> To: ofbiz
> Subject: Eclipse plugin for OFBiz - try it out!
>
> 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
>
>


--
Anders Hessellund
IT University of Copenhagen
Rued Langgaards Vej 7
2300 København S, DK
www.itu.dk/people/hessellund/
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
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" <[hidden email]>

> 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" <[hidden email]>
> 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 <[hidden email]>:
> >
> > 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/
>

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Walter Vaughan
In reply to this post by Anders Hessellund-2
Anders Hessellund wrote:

>Thanks,
>
>When you encounter errors/problems with the plugin, please let me know.
>  
>
Windows and a previous Pentaho installation... :)

Installed the all in one bundle in on my windows box. Kept getting "you
must have Java 6" error even after I removed all the JDK's I had
installed and JRE's and installed JDK 1.6.03.

Finally I checked the Path environment and the first thing was
.C:\pentaho\java\bin which was the cause of the problem..

Removed that and it starts up fine.
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Scott Gray
In reply to this post by Anders Hessellund-2
I haven't downloaded the plugin yet but the demo looks very very cool!  I
would love to see tools like this become part of the project.

Thanks
Scott

On 01/12/2007, Anders Hessellund <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
In reply to this post by Jacques Le Roux
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 <[hidden email]>:

>
> 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" <[hidden email]>
> > 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" <[hidden email]>
> > 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 <[hidden email]>:
> > >
> > > 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 | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Jacques Le Roux
Administrator
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" <[hidden email]>
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 <[hidden email]>:

>
> 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" <[hidden email]>
> > 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" <[hidden email]>
> > 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 <[hidden email]>:
> > >
> > > 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 | Threaded
Open this post in threaded view
|

Re: Eclipse plugin for OFBiz - try it out!

Anders Hessellund-2
In reply to this post by Anders Hessellund-2
Hi,

I've updated some details on the plugin and (as promised) made the source
code available. You can download it from the link below. Please let me know
if you encounter any problems.

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

-- Anders

2007/11/30, Anders Hessellund <[hidden email]>:

>
> 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<http://www.itu.dk/%7Ehessellund/smartemf/ofbizexplorer.htm>
>
> Any feedback, suggestions etc is greatly appreciated!
>
> -- Anders
>



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