Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem exporting as Deployable Feature
Problem exporting as Deployable Feature [message #31911] |
Tue, 11 November 2008 10:18 |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
Hi, I have a Feature Project that includes 6 Plug-ins Projects.
The testings work fine. The Plug-ins Projects build perfectly.
But when I try to export the Feature as a Deployable Feature, there are
tons of errors building (compiling) the Plug-in Projects. It complains
about all imports (for example, SWT classes). It is like the Java Build
Path is lost or something like that when build is fired from the Feature
export process.
BTW, if I export all plug-ins as Plug-in or Fragment it works fine.
This worked fine with Eclipse R3.2 and now it is failing with Eclipse
R3.4.1. Is there any change I am required to do in this new version?
The same problem happens creating a Site Project.
Thanks in advance,
Chemi.
|
|
|
Re: Problem exporting as Deployable Feature [message #31947 is a reply to message #31911] |
Tue, 11 November 2008 15:21 |
Eclipse User |
|
|
|
Originally posted by: zx.code9.com
Chemi wrote:
> Hi, I have a Feature Project that includes 6 Plug-ins Projects.
> The testings work fine. The Plug-ins Projects build perfectly.
> But when I try to export the Feature as a Deployable Feature, there are
> tons of errors building (compiling) the Plug-in Projects. It complains
> about all imports (for example, SWT classes). It is like the Java Build
> Path is lost or something like that when build is fired from the Feature
> export process.
> BTW, if I export all plug-ins as Plug-in or Fragment it works fine.
>
> This worked fine with Eclipse R3.2 and now it is failing with Eclipse
> R3.4.1. Is there any change I am required to do in this new version?
Can you post your feature.xml?
Also, I assume you have nothing manually added to your build path, and
all dependencies are coming from Require-Bundle/Import-Package and your
Bundle-ClassPath is setup properly?
Cheers,
~ Chris
|
|
|
Re: Problem exporting as Deployable Feature [message #31978 is a reply to message #31947] |
Tue, 11 November 2008 16:06 |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
Chris Aniszczyk wrote:
> Can you post your feature.xml?
>
> Also, I assume you have nothing manually added to your build path, and
> all dependencies are coming from Require-Bundle/Import-Package and
> your Bundle-ClassPath is setup properly?
>
> Cheers,
>
> ~ Chris
Hi Chris.
But I have continued with my investigation during the day and I have
found "the problem" which doesn't make any sense to me.
The problem appears when you have more than one item listed in ws, os,
arch or nl properties.
For example with this content it fails:
<plugin
id="es.org.chemi.games.sokoban"
os="linux,win32"
ws="gtk,motif,win32"
nl="en"
arch="x86"
download-size="0"
install-size="0"
version="3.2.1"
unpack="false"/>
but with this one it works:
<plugin
id="es.org.chemi.games.sokoban"
os="linux"
ws="gtk"
nl="en"
arch="x86"
download-size="0"
install-size="0"
version="3.2.1"
unpack="false"/>
Does it make sense to you? what is the relationship between those
properties and Java compilation problems?
I have seen the same behavior with 3.3.2, 3.4.1 and 3.5M3
Thanks in advance,
Chemi.
I am going to try to create a dummy test case from scratch.
|
|
|
Re: Problem exporting as Deployable Feature [message #32048 is a reply to message #31978] |
Tue, 11 November 2008 19:13 |
Andrew Niefer Messages: 990 Registered: July 2009 |
Senior Member |
|
|
PDE/Build doesn't support lists in the os/ws/arch entries.
I'm surprised this worked in 3.2
-Andrew
Chemi wrote:
> Chris Aniszczyk wrote:
>> Can you post your feature.xml?
>>
>> Also, I assume you have nothing manually added to your build path, and
>> all dependencies are coming from Require-Bundle/Import-Package and
>> your Bundle-ClassPath is setup properly?
>>
>> Cheers,
>>
>> ~ Chris
>
> Hi Chris.
> But I have continued with my investigation during the day and I have
> found "the problem" which doesn't make any sense to me.
> The problem appears when you have more than one item listed in ws, os,
> arch or nl properties.
>
> For example with this content it fails:
>
> <plugin
> id="es.org.chemi.games.sokoban"
> os="linux,win32"
> ws="gtk,motif,win32"
> nl="en"
> arch="x86"
> download-size="0"
> install-size="0"
> version="3.2.1"
> unpack="false"/>
>
> but with this one it works:
>
> <plugin
> id="es.org.chemi.games.sokoban"
> os="linux"
> ws="gtk"
> nl="en"
> arch="x86"
> download-size="0"
> install-size="0"
> version="3.2.1"
> unpack="false"/>
>
> Does it make sense to you? what is the relationship between those
> properties and Java compilation problems?
> I have seen the same behavior with 3.3.2, 3.4.1 and 3.5M3
>
> Thanks in advance,
>
> Chemi.
>
> I am going to try to create a dummy test case from scratch.
|
|
|
Re: Problem exporting as Deployable Feature [message #32119 is a reply to message #32048] |
Wed, 12 November 2008 07:32 |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
Andrew Niefer wrote:
> PDE/Build doesn't support lists in the os/ws/arch entries.
> I'm surprised this worked in 3.2
>
> -Andrew
Hi Andrew. Thanks for your answer.
But let me ask something else, is there any technical reason for this? I
mean, I thought those four properties were just descriptive. For
example, if I have tested my plug-in in Win32 and Motif, I document
there this. Why a Plug-in can't document more than one Window System?
And why this could affect to the compilation?
Finally, why the Feature Editor let me select more than one value if it
is not supported?
Thanks again,
Chemi.
|
|
| | |
Re: Problem exporting as Deployable Feature [message #584725 is a reply to message #31947] |
Tue, 11 November 2008 16:06 |
Chemi Messages: 107 Registered: July 2009 |
Senior Member |
|
|
Chris Aniszczyk wrote:
> Can you post your feature.xml?
>
> Also, I assume you have nothing manually added to your build path, and
> all dependencies are coming from Require-Bundle/Import-Package and
> your Bundle-ClassPath is setup properly?
>
> Cheers,
>
> ~ Chris
Hi Chris.
But I have continued with my investigation during the day and I have
found "the problem" which doesn't make any sense to me.
The problem appears when you have more than one item listed in ws, os,
arch or nl properties.
For example with this content it fails:
<plugin
id="es.org.chemi.games.sokoban"
os="linux,win32"
ws="gtk,motif,win32"
nl="en"
arch="x86"
download-size="0"
install-size="0"
version="3.2.1"
unpack="false"/>
but with this one it works:
<plugin
id="es.org.chemi.games.sokoban"
os="linux"
ws="gtk"
nl="en"
arch="x86"
download-size="0"
install-size="0"
version="3.2.1"
unpack="false"/>
Does it make sense to you? what is the relationship between those
properties and Java compilation problems?
I have seen the same behavior with 3.3.2, 3.4.1 and 3.5M3
Thanks in advance,
Chemi.
I am going to try to create a dummy test case from scratch.
|
|
|
Re: Problem exporting as Deployable Feature [message #584765 is a reply to message #31978] |
Tue, 11 November 2008 19:13 |
Andrew Niefer Messages: 990 Registered: July 2009 |
Senior Member |
|
|
PDE/Build doesn't support lists in the os/ws/arch entries.
I'm surprised this worked in 3.2
-Andrew
Chemi wrote:
> Chris Aniszczyk wrote:
>> Can you post your feature.xml?
>>
>> Also, I assume you have nothing manually added to your build path, and
>> all dependencies are coming from Require-Bundle/Import-Package and
>> your Bundle-ClassPath is setup properly?
>>
>> Cheers,
>>
>> ~ Chris
>
> Hi Chris.
> But I have continued with my investigation during the day and I have
> found "the problem" which doesn't make any sense to me.
> The problem appears when you have more than one item listed in ws, os,
> arch or nl properties.
>
> For example with this content it fails:
>
> <plugin
> id="es.org.chemi.games.sokoban"
> os="linux,win32"
> ws="gtk,motif,win32"
> nl="en"
> arch="x86"
> download-size="0"
> install-size="0"
> version="3.2.1"
> unpack="false"/>
>
> but with this one it works:
>
> <plugin
> id="es.org.chemi.games.sokoban"
> os="linux"
> ws="gtk"
> nl="en"
> arch="x86"
> download-size="0"
> install-size="0"
> version="3.2.1"
> unpack="false"/>
>
> Does it make sense to you? what is the relationship between those
> properties and Java compilation problems?
> I have seen the same behavior with 3.3.2, 3.4.1 and 3.5M3
>
> Thanks in advance,
>
> Chemi.
>
> I am going to try to create a dummy test case from scratch.
|
|
| | |
Goto Forum:
Current Time: Fri Sep 20 13:40:09 GMT 2024
Powered by FUDForum. Page generated in 0.23212 seconds
|