Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRE:[buckminster-dev] Maven and rmap (and possible resolution for StackOverflowError)
https://www.eclipse.org/forums/index.php/mv/msg/4474/13480/#msg_13480
Originally posted by: hollings.cern.ch
Stefan,
I can answer the first question, I think.
I put a post in the news feed about this subject, so I'll just copy/paste it
here:
Hi,
I just ran into and resolved this problem (which I believe has also been
discussed under the buckminster-dev list under the title "Error Resolving
Buckminster"). I got the same stack trace and everything. Here is what I did
to install buckminster and subclipse when it wasn't working:
1) Add the subclipse site (http://subclipse.tigris.org/update_1.2.x)
2) Check both the Europa Discovery Site an the new subclipse site in the
update menu 3) Install all the buckminster things (specifically, the core
and
the features) from the Europa discovery site 4) Installed subversion **and
the subversion integration that is provided at the subclipse discovery
site**
<-- important
5) Downloaded the sample cquery: http://www.eclipse.org/buckminster/samples/queries/demo.cque ry 6) Ran it
7) Experienced stack overflow
In order to resolve this, I used the instructions here: http://wiki.eclipse.org/index.php/Getting_started_with_Buckm inster , which
results in a different subversion integration (the one provided by
buckminster and not subclipse). After that, the sample worked like a charm.
The following message is displayed:
java.lang.StackOverflowError
2) In my Rmap ,I need to point only maven repositories ,the problem is
that when I specify a component type (maven) I don't know really the
syntax to follow (should I specify a path to my pom.xml or what?)
i need an exemple to clarify this.
Actually I have to build eclipse plugins in order to get at the end an
artifact (a jar) that contains a plugin and all the plugins that
depends on him.
So after writing a CQUERY and RMAP I don't know how to get the final
artifact with Buckminster.
I would be grateful if someone will try to help me .
I think I have solve my problem it was very simple but now I have to
solve the dependencies between plugins, so if a plugin
A need a plugin B ; I must mention this kind of dependency on the RMAP
the problem is that Ilike this plugins would be bring from a maven
repository
The only thing that I know is that the pom.xml must be mention but the
syntax that I wrote is always wrong :-(
So is there any one who can give he right syntax when I'm looking
basically for an extended jar type but assuming Maven repository
dependency information contained in a Pom.
Thanks.
________________________________
From: Imen Kalboussi
Sent: jeudi 27 mars 2008 09:20
To: 'buckminster-dev@eclipse.org'
Subject: how can I build my eclipse plugin?
Hi,
Actually I have to build eclipse plugins in order to get at the end an
artifact (a jar) that contains a plugin and all the plugins that
depends on him.
So after writing a CQUERY and RMAP I don't know how to get the final
artifact with Buckminster.
I would be grateful if someone will try to help me .
I am not sure I have understood what you mean when you say that "you
must mention the dependency in the RMAP". The RMAP is just a pointer to
the repositories that will or may contain the components you require. A
dependency will be captured by the plugin information where it would be
discovered automatically or it could be expressed explicitly in a
buckminster.cspec that you created. But in a basic plugin development
usecase you would not have to do that.
Could you post the RMAP that you have prepared to this list, so we can
have a look at what you have done so far ? And/or provide as much
additonal context as possible.
Stefan
Imen Kalboussi wrote:
>
> Hi,
>
> I think I have solve my problem it was very simple but now I have to
> solve the dependencies between plugins, so if a plugin
>
> A need a plugin B ; I must mention this kind of dependency on the RMAP
> the problem is that Ilike this plugins would be bring from a maven
> repository
>
> The only thing that I know is that the pom.xml must be mention but the
> syntax that I wrote is always wrong L
>
> So is there any one who can give he right syntax when I'm looking
> basically for an extended jar type but assuming Maven repository
>
> dependency information contained in a Pom.
>
> Thanks.
>
>
------------------------------------------------------------ ------------
>
> *From:* Imen Kalboussi
> *Sent:* jeudi 27 mars 2008 09:20
> *To:* 'buckminster-dev@eclipse.org'
> *Subject:* how can I build my eclipse plugin?
>
> Hi,
>
> Actually I have to build eclipse plugins in order to get at the end an
> artifact (a jar) that contains a plugin and all the plugins that
> depends on him.
>
> So after writing a CQUERY and RMAP I don't know how to get the final
> artifact with Buckminster.
>
> I would be grateful if someone will try to help me .
>
> Thanks
>
>
------------------------------------------------------------ ------------
>
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>