Headless build fails to fine imported package. [message #332654] |
Mon, 03 November 2008 20:52  |
Eclipse User |
|
|
|
I have a product that builds fine when I export it via the product
export wizard. When I build that same product using the headless
build, I get a compile error that an imported package can't be found.
The package depencency is specified by using import package instead of
require bundle (and no, I can't switch it to require bundle). Any
ideas on how to fix this? Could this be a bug?
Bryan
|
|
|
Re: Headless build fails to fine imported package. [message #332676 is a reply to message #332654] |
Tue, 04 November 2008 16:22   |
Eclipse User |
|
|
|
Import-Package should work just fine. The problem is likely that the
bundle providing the package is not being considered by the build, or
did not resolve. Make sure the bundle is present in your baseLocation,
or buildDirectory. The build output should contain warnings if some
bundles did not resolve.
-Andrew
Bryan Hunt wrote:
> I have a product that builds fine when I export it via the product
> export wizard. When I build that same product using the headless build,
> I get a compile error that an imported package can't be found. The
> package depencency is specified by using import package instead of
> require bundle (and no, I can't switch it to require bundle). Any ideas
> on how to fix this? Could this be a bug?
>
> Bryan
>
|
|
|
Re: Headless build fails to fine imported package. [message #332677 is a reply to message #332676] |
Tue, 04 November 2008 16:38  |
Eclipse User |
|
|
|
The log file shows that the bundle containing the exported package was
built (even before the bundles that depend on it).
Bryan
On 2008-11-04 10:22:21 -0600, Andrew Niefer <aniefer@ca.ibm.com> said:
> Import-Package should work just fine. The problem is likely that the
> bundle providing the package is not being considered by the build, or
> did not resolve. Make sure the bundle is present in your baseLocation,
> or buildDirectory. The build output should contain warnings if some
> bundles did not resolve.
>
> -Andrew
>
> Bryan Hunt wrote:
>> I have a product that builds fine when I export it via the product
>> export wizard. When I build that same product using the headless
>> build, I get a compile error that an imported package can't be found.
>> The package depencency is specified by using import package instead of
>> require bundle (and no, I can't switch it to require bundle). Any
>> ideas on how to fix this? Could this be a bug?
>>
>> Bryan
|
|
|
Powered by
FUDForum. Page generated in 0.03111 seconds