Markus Lang | 6 Apr 13:20
Favicon

Problem deploying XForms plugins

Hi,

I'm currently trying to get the three XForms plugins running but unfortunately I'm not able to get them
working. Basically I have the same Error/Problem already discussed in the
http://lists.nuxeo.com/pipermail/apogee/2006-February/000017.html posting but it seems to me,
that the org.nuxeo.xforms.ui.editors plugin isn't able to load any icons at all. 

For example: If I try to open a .xhtml file via right click -> Open With -> XForms Editor I receive the same
errors as in the mentioned mailing list posting:
java.lang.NoClassDefFoundError
	at org.nuxeo.xforms.ui.editors.ModelTreeProvider.getImage(ModelTreeProvider.java:150)
	at org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:1878)
	at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:231)
	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:85)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
...

If I than switch in the XForms Editor to the "Model View" Tab I see an empty tree with no icons except the plus
icon and no content at all. If I expand this single plus icon I receive those three error messages:
	at org.nuxeo.xforms.ui.editors.ModelTreeProvider$InstanceContainer.getImage(ModelTreeProvider.java:266)
	at org.nuxeo.xforms.ui.editors.ModelTreeProvider.getImage(ModelTreeProvider.java:152)
	at org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:1878)
	at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:231)
	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:85)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
...

java.lang.NoClassDefFoundError
(Continue reading)

Bogdan Stefanescu | 6 Apr 14:56

Re: Problem deploying XForms plugins

Hi Markus,
Can you send me please the 3 plugins you exported?
I will test them on my machine.

Regards,
Bogdan

P.S. What version of Eclipse are you using?

Markus Lang wrote:

>Hi,
>
>I'm currently trying to get the three XForms plugins running but unfortunately I'm not able to get them
working. Basically I have the same Error/Problem already discussed in the
http://lists.nuxeo.com/pipermail/apogee/2006-February/000017.html posting but it seems to me,
that the org.nuxeo.xforms.ui.editors plugin isn't able to load any icons at all. 
>
>For example: If I try to open a .xhtml file via right click -> Open With -> XForms Editor I receive the same
errors as in the mentioned mailing list posting:
>java.lang.NoClassDefFoundError
>	at org.nuxeo.xforms.ui.editors.ModelTreeProvider.getImage(ModelTreeProvider.java:150)
>	at org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:1878)
>	at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:231)
>	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:85)
>	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
>	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>...
>
>If I than switch in the XForms Editor to the "Model View" Tab I see an empty tree with no icons except the plus
(Continue reading)

Bogdan Stefanescu | 6 Apr 14:20

Re: Problem deploying XForms plugins

Hi Markus,
Can you send me please the 3 plugins you exported?
I will test them on my machine.

Regards,
Bogdan

P.S. What version of Eclipse are you using?

Markus Lang wrote:

>Hi,
>
>I'm currently trying to get the three XForms plugins running but unfortunately I'm not able to get them
working. Basically I have the same Error/Problem already discussed in the
http://lists.nuxeo.com/pipermail/apogee/2006-February/000017.html posting but it seems to me,
that the org.nuxeo.xforms.ui.editors plugin isn't able to load any icons at all. 
>
>For example: If I try to open a .xhtml file via right click -> Open With -> XForms Editor I receive the same
errors as in the mentioned mailing list posting:
>java.lang.NoClassDefFoundError
>	at org.nuxeo.xforms.ui.editors.ModelTreeProvider.getImage(ModelTreeProvider.java:150)
>	at org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:1878)
>	at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:231)
>	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:85)
>	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
>	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>...
>
>If I than switch in the XForms Editor to the "Model View" Tab I see an empty tree with no icons except the plus
(Continue reading)

Markus Lang | 6 Apr 16:04
Favicon

RE: Problem deploying XForms plugins

Hey Bogdan,

My version of Eclipse is the currently newest available (3.1.2)

Best regards,
Markus

> -----Original Message-----
> From: Bogdan Stefanescu [mailto:bs@...] 
> Sent: Thursday, April 06, 2006 2:56 PM
> To: Markus Lang
> Cc: apogee@...
> Subject: Re: [Apogee] Problem deploying XForms plugins
> 
> Hi Markus,
> Can you send me please the 3 plugins you exported?
> I will test them on my machine.
> 
> Regards,
> Bogdan
> 
> P.S. What version of Eclipse are you using?
> 
> 
> Markus Lang wrote:
> 
> >Hi,
> >
> >I'm currently trying to get the three XForms plugins running 
> but unfortunately I'm not able to get them working. Basically 
(Continue reading)

Sato | 8 Apr 09:06
Picon

RE: Apogee proposal v3

Hi Eric,

How does JSR-170 support change Apogee project?

> As the JCR does not define a data model, Apogée will still need to provide a convenient way to handle
content / data model (this is more detailed in the content repository and storage specification of the
apogée project). 

If you have a draft model, we will give you feedbacks from our team. 

BTW,
I will participate as a staff of db4objects, not TMT.

Best,
Takenori 

-----------------------------
db4objects, Inc.
Senior Lead Architect
db4o Japan Community Chairman
Regional Manager Japan
Takenori Sato
Address:2-14-5, Akasaka, Minato, Tokyo
TEL:+1-3-3505-5831
URL:http://www.db4o.com/japan/
-----------------------------

-----Original Message-----
From: apogee-bounces@...
[mailto:apogee-bounces@...] On Behalf Of Eric Barroca
(Continue reading)

Bogdan Stefanescu | 10 Apr 12:38

Re: Apogee proposal v3


Hi Sato,

I am working on integration of JCR support.
I've alreay refactroed the Apogee plugin. I will commit my changes in
the evening.

The integration of JCR is totally changing the Apogee architecture.
There was 2 types of approaches:
1. using an Apogee object model and mapping the underlying models (like
JCR or other models) to the apogee one.
This is more dificult to implement (you should define a generic model
over JCR model or any other type of models) and is redundand
2. using directly the JCR model in UI
This is easier to implement but is limiting Apogee to use only JCR
compatible repositories

Because we will use JCR for the local implementation of the repository,
defining an Apogee repository model make no sense.
So finally, I choosed to use a wrapping mechanism (a sort of proxy
objects to the real objects from the underlying model)
that adapts the underlying to the Apogee UI.
The wrapping layer is very thin and simple - only a few classes.

All underlying objects are refered from the UI through a proxy object
implementing the IApogeeObject
There are three type of apogee objects:
- "Root" - is a collection of repositories defined by the user
- "Repository" represent a user defined repository and usually it adapts
an underlying repository object
(Continue reading)

Bogdan Stefanescu | 10 Apr 17:41

Apogee Workshop


Hello all,

Nuxeo is organizing a "sprint" (a sort of workshop) around CPS and
Apogee between 17 and 21april
I invite anyone interested in participating at the Apogee workshop.
We will focus on the Apogee model and JCR integration and also on
accessing remote JCR repositories using ICE.

The sprint will be organized in Paris (at Nuxeo headquarters)
For anyone insterested, please post a mail on the apogee list.

Best regards,
Bogdan

--

-- 

Bogdan Stefanescu - Apogee project Team Leader

Nuxeo - Open Source ECM - www.nuxeo.com
Apogée - the rich client platform for ECM
http://apogee.nuxeo.org/ - http://www.nuxeo.com/en
Bogdan Stefanescu | 11 Apr 16:35

Re: Apogee proposal v3

I am cc-ing myself .. to give more details about the approach I took for
the apogee model

So there was three possible way to implement the Apogee model:
1. a custom repository object model + mappings for other repository models
This make no sense since Apogee will use JCR for the local repository
2. An adapter factory mechanism to adapt on the fly unkown objects from
the underlying repository model into an interface known by Apogee
This is may be the best aproach since an adapter factory is used for a
class of objects, and so, no new objects are created to wrap the real object
(as in the proxy case)
3. A proxy object model that wraps real objects and adapt them to the
Apogee UI and logic
This is the aproach I've choosed: Small proxy objects usually having 2
members: a reference to the real object and a reference to the parent
proxy - as defined by the Apogee object tree.

Why not using the adapter factory approach?
There is a problem that I don't know how to solve using this approach.
First I will explain how the adapter factory model works.

For example an eclipse viewer provider should implement the function
"Image getImage(Object object)"
that is returning the image corresponding to the given object.
Using the adapter factory model we can write something like this:

public Image getImage(Object object) {
    ApogeeAdapter adapter = ApogeeAdapterManager.getAdapter(object);
    if (adapter != null) {
        return adapter.getImage(object);
(Continue reading)

Bogdan Stefanescu | 13 Apr 11:37

Re: Problem deploying XForms plugins

Ok so it seems the XForms plugin is using some features specific to
Eclipse 3.2
I will check this

Thank you,
Bogdan

Markus Lang wrote:

>Bogdan Stefanescu wrote:
>
>  
>
>>The plugins are working on my machine.
>>I have an eclipse 3.2M3 for  linux gtk.
>>Try using eclipse 3.2 may be is an incompatibility issue ...
>>I will install an eclipse 3.1.2 to try to reproduce the problem
>>    
>>
>I've just installed the 3.2M6 eclipse version on my Windows XP machine
>and it seams, that the same plugins are working fine with this version.
>At least I don't get any of those error messages at all and the model
>view tab is displaying me the XForms structure including the icons.
>
>So it's looks like an Eclipse 3.1.2 issue.
>
>Regards,
>Markus
>  
>
(Continue reading)

ganshuman | 14 Apr 05:45
Favicon

I can't run xforms editor. can I get hel p from here.


HI all!
  I get souce code of apogee, and import project from "apogee\src\trunk", but I get lots of error in project.
when I fix error, and run the project , I got trouble with it. It don't work. I cann't  create apogee file
system site .
  I just want to run xforms editor like
http://blogs.nuxeo.com/sections/blogs/eric_barroca/2006_02_14_eclipse-apogee-xforms-engine-released
 mention. can I get some help from here.

 

 

 

HI all!

  I get souce code of apogee, and import project from "apogee\src\trunk", but I get lots of error in project. when I fix error, and run the project , I got trouble with it. It don't work. I cann't  create apogee file system site .

  I just want to run xforms editor like http://blogs.nuxeo.com/sections/blogs/eric_barroca/2006_02_14_eclipse-apogee-xforms-engine-released  mention. can I get some help from here.

 
 
 







中 国 每 年 用 掉 多 少 双 一 次 性 筷 子 ?
450亿双。这会耗费170万立方米的木材,需要砍伐大约2500万棵大树!
_______________________________________________
Apogee mailing list
Apogee@...
(Continue reading)


Gmane