Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Feature-based PDE-build and the unpack flag
Feature-based PDE-build and the unpack flag [message #643224] Mon, 06 December 2010 07:09 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
We have two working pde builds: We have (1) a product-based PDE build
and we have (2) a simpler feature-based PDE-Build which produces just
"add-on" plugins that can optionally be installed to the RCP application
produced from the first PDE build.

The first PDE-build correctly honors the "unpack" attributes of the
"plugin" elements of the feature.xml. This is fine and as expected.

*But* the plugins produced from the feature-based build ignore the
"unpack" attribute values and are *always* unpacked.

How can I realize that the feature-based build also honors the "unpack"
attribute values of its "plugin" elements?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: Feature-based PDE-build and the unpack flag [message #643604 is a reply to message #643224] Tue, 07 December 2010 15:48 Go to previous messageGo to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
Hi Daniel,

I had a look in my headless build and found my build.properties the
following:

runpackager = true

In case you don't use a build.properties file I suppose yould could also
directly set that as a property in your ant target.

HTH and greets from Bochum

Tom



Am 06.12.2010 08:09, schrieb Daniel Krügler:
> We have two working pde builds: We have (1) a product-based PDE build
> and we have (2) a simpler feature-based PDE-Build which produces just
> "add-on" plugins that can optionally be installed to the RCP application
> produced from the first PDE build.
>
> The first PDE-build correctly honors the "unpack" attributes of the
> "plugin" elements of the feature.xml. This is fine and as expected.
>
> *But* the plugins produced from the feature-based build ignore the
> "unpack" attribute values and are *always* unpacked.
>
> How can I realize that the feature-based build also honors the "unpack"
> attribute values of its "plugin" elements?
>
> Thanks & Greetings from Bremen,
>
> Daniel Krügler
Re: Feature-based PDE-build and the unpack flag [message #643605 is a reply to message #643604] Tue, 07 December 2010 15:49 Go to previous messageGo to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
> runpackager = true

Actually, its

runPackager = true (notice that Capital P)

sorry for that.

Tom
Re: Feature-based PDE-build and the unpack flag [message #643758 is a reply to message #643605] Wed, 08 December 2010 07:53 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 12/7/2010 16:49, Thomas Haskes wrote:
>> runpackager = true
>
> Actually, its
>
> runPackager = true (notice that Capital P)
>
> sorry for that.

Thanks very much for your help, Tom - I will try that out immediately!

Greetings from Bremen,

Daniel Krügler
Re: Feature-based PDE-build and the unpack flag [message #643895 is a reply to message #643605] Wed, 08 December 2010 15:39 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 12/7/2010 16:49, Thomas Haskes wrote:
>> runpackager = true
>
> Actually, its
>
> runPackager = true (notice that Capital P)

I checked our build.properties file and found that we have this flag
already set to true :-(

I understand you, that in your feature-based RCP build (*not* a product
build!), the unpacked flag is correctly honored?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: Feature-based PDE-build and the unpack flag [message #643932 is a reply to message #643895] Wed, 08 December 2010 17:42 Go to previous messageGo to next message
Thomas Haskes is currently offline Thomas HaskesFriend
Messages: 147
Registered: July 2009
Senior Member
> I understand you, that in your feature-based RCP build (*not* a product
> build!), the unpacked flag is correctly honored?

Sorry, no, its a product build which is based on features, but I never
tried building the features alone, so I can't tell you if the same
happens here, too. I just thought it was worth a shot.

Tom
Re: Feature-based PDE-build and the unpack flag [message #644061 is a reply to message #643224] Thu, 09 December 2010 10:14 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin SkorskyFriend
Messages: 112
Registered: July 2009
Senior Member
The "unpack" attributes of the
"plugin" elements of the feature.xml is used during install time to install bundles as folders. It has no effect at build time.

Regards,
Martin
Re: Feature-based PDE-build and the unpack flag [message #644071 is a reply to message #644061] Thu, 09 December 2010 10:17 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 12/9/2010 11:14, Martin Skorsky wrote:
> The "unpack" attributes of the
> "plugin" elements of the feature.xml is used during install time to
> install bundles as folders. It has no effect at build time.

Thanks, this helps. But how can we control the packing and unpacking of
plugins build in a feature-based PDE build? Let me emphasize that these
are plugins which completely rely on the dot class path, thus they don't
provide a "named" library.

Thanks & Greetings from Bremen,

Daniel Krügler
Previous Topic:MessageConsole Background Color Does Not Change
Next Topic:Enable JSP proposals in xml files
Goto Forum:
  


Current Time: Thu Apr 25 22:31:47 GMT 2024

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

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

Back to the top