Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » create.product does not include java code
create.product does not include java code [message #489064] Thu, 01 October 2009 12:18 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
The action create.product does not include the binary resources, i.e. compiled java code.
The pde product export works as expected...
Re: create.product does not include java code [message #489075 is a reply to message #489064] Thu, 01 October 2009 12:54 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I noticed that all my plugins have their classpath set to ".", i.e. there are no embedded jars.
Re: create.product does not include java code [message #489076 is a reply to message #489064] Thu, 01 October 2009 12:50 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 10/01/2009 02:18 PM, Erdal Karaca wrote:
> The action create.product does not include the binary resources, i.e.
> compiled java code.

It works for my products. I think you need to be a bit more specific.

> The pde product export works as expected...

Can you provide a sample?

Regards,
Thomas Hallgren
Re: create.product does not include java code [message #493129 is a reply to message #489076] Fri, 23 October 2009 10:30 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
i included the birt chart engine:

<searchPath name="birt">
<provider readerType="cvs"
componentTypes="eclipse.feature,osgi.bundle,buckminster" mutable="true" source="true">
<uri format=":pserver:dev.eclipse.org:/cvsroot/birt,source/{0}">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>

The plugins generated by the site.p2 action do not contain any compiled code...
Is the searchPath ok?
Re: create.product does not include java code [message #493142 is a reply to message #493129] Fri, 23 October 2009 11:31 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Erdal,
I'm confused. In what way is the validity of a search path related to a create.product action?

Do you get the source of the birt projects into your workspace at all? In what project is the create.product action
defined? How is it defined? From where do you execute the site.p2 action? On what project?

- thomas

On 10/23/2009 12:30 PM, Erdal Karaca wrote:
> i included the birt chart engine:
>
> <searchPath name="birt">
> <provider readerType="cvs"
> componentTypes="eclipse.feature,osgi.bundle,buckminster" mutable="true"
> source="true">
> <uri format=":pserver:dev.eclipse.org:/cvsroot/birt,source/{0}">
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
>
> The plugins generated by the site.p2 action do not contain any compiled
> code...
> Is the searchPath ok?
Re: create.product does not include java code [message #493153 is a reply to message #493142] Fri, 23 October 2009 12:14 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
First, I thought it would be create.product (copied from the example plugin).
But if I call the action bundle.jars, the sources are not compiled, either.

I have a feature that contains a product definition and the cquery/rmap.

This is my feature config (see attachment, screenshot):

my-feature
+ product definition
+ cquery
+ rmap
+ build/product.ant (defines create.product)

I open my cquery and choose 'Resolve to wizard'.
So, I materialized the projects, some from cvs (birt) and others from svn (mine). Materialization works just fine, i.e. birt plugins and my plugins are checked out onto the file system AND they contain the sources.

When calling bundle.jars (or site.p2 or create.product), everything is created, except the bundles which were checked out from cvs/svn do not contain the compiled sources.

I set cbi.include.source=true, but that did not resolve the problem...

I am sorry for confusing you, I should have described my scenario, first.
Re: create.product does not include java code [message #493178 is a reply to message #493153] Fri, 23 October 2009 13:52 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
ok, thomas resolved this on irc:

If you want your plugins to be compiled, they have to be materialized into the workspace.
I materialized onto the file system, and thus, pde did not compile...
Previous Topic:actions do not work after update
Next Topic:New Buckminster Build - when?
Goto Forum:
  


Current Time: Tue Apr 23 14:32:33 GMT 2024

Powered by FUDForum. Page generated in 0.03776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top