Cross Platform Export Problem [message #463268] |
Wed, 07 February 2007 16:11 |
Eclipse User |
|
|
|
Originally posted by: dan.edmunds.ca.gmail.com
Hello,
I have downloaded and extracted the eclipse delta pack.
When I try to export my rcp app to all of the platforms it fails for:
- solaris (motif/sparc)
- hpux (motif/ai32_64)
- linux (gtk/ia64)
- qnx (photon/x86)
I am running on Windows.
When I check the error logs that it generates they all have errors
pertaining to org.eclipse.swt... classes not being resolved.
ie)
The type org.eclipse.swt.widgets.Button cannot be resolved. It is
indirectly referenced from required .class files
When I check in my eclipse/plugins dir I am missing exactly the
org.eclipse.swt.<platform> jars for the platforms that fail. Was I
supposed to download something else on top of the delta pack?
Thanks in advance,
Dan
|
|
|
|
Re: Cross Platform Export Problem [message #463342 is a reply to message #463274] |
Thu, 08 February 2007 16:47 |
Eclipse User |
|
|
|
Originally posted by: dan.edmunds.ca.gmail.com
Thanks for the quick response Patrick!
My product is defined as plugins, I was missing the SWT fragments, I've
added them now but there are no fragments for the operating systems I
mentioned below, should there be some?
I still get the same errors.
Here's my product file contents:
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.1"?>
<product name="TestProduct" id="Test.product"
application="Test.application" useFeatures="false">
<configIni use="default"/>
<plugins>
<plugin id="Test"/>
<plugin id="com.ibm.icu"/>
<plugin id="org.apache.xerces"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.expressions"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.core.runtime.compatibility.auth"/>
<plugin id="org.eclipse.core.runtime.compatibility.registry"
fragment="true"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.help"/>
<plugin id="org.eclipse.jface"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.swt.carbon.macosx" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.ppc" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.solaris.sparc" fragment="true"/>
<plugin id="org.eclipse.swt.motif.aix.ppc" fragment="true"/>
<plugin id="org.eclipse.swt.motif.hpux.PA_RISC" fragment="true"/>
<plugin id="org.eclipse.swt.motif.linux.x86" fragment="true"/>
<plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
<plugin id="org.eclipse.ui"/>
<plugin id="org.eclipse.ui.carbon" fragment="true"/>
<plugin id="org.eclipse.ui.workbench"/>
</plugins>
</product>
here's the content of the log file for the platforms that fail:
# 2/8/07 11:42:34 AM EST
# Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
2000, 2006. All rights reserved.
----------
1. ERROR in D:\workspaces\Test Workspace\Test\src\test\Application.java
(at line 0)
package test;
^
The type org.eclipse.swt.widgets.Display cannot be resolved. It is
indirectly referenced from required .class files
----------
1 problem (1 error)
Patrick Paulin wrote:
> Hi Dan,
>
> It sounds like the SWT fragments aren't getting pulled into the build.
> If your product is defined with features, the org.eclipse.rcp feature
> should bring these in. If your product is defined with plug-ins, then
> you'll need to go to the Configurations tab of the Product Configuration
> editor and make sure the SWT fragments are included in the plug-in list.
>
> Regards,
>
> Patrick Paulin
> patrick@rcpquickstart.com
>
> Dan Edmunds wrote:
>
>> Hello,
>
>> I have downloaded and extracted the eclipse delta pack.
>> When I try to export my rcp app to all of the platforms it fails for:
>> - solaris (motif/sparc)
>> - hpux (motif/ai32_64)
>> - linux (gtk/ia64)
>> - qnx (photon/x86)
>
>> I am running on Windows.
>
>> When I check the error logs that it generates they all have errors
>> pertaining to org.eclipse.swt... classes not being resolved.
>
>> ie)
>> The type org.eclipse.swt.widgets.Button cannot be resolved. It is
>> indirectly referenced from required .class files
>
>> When I check in my eclipse/plugins dir I am missing exactly the
>> org.eclipse.swt.<platform> jars for the platforms that fail. Was I
>> supposed to download something else on top of the delta pack?
>
>> Thanks in advance,
>> Dan
>
>
|
|
|
Re: Cross Platform Export Problem [message #463356 is a reply to message #463342] |
Thu, 08 February 2007 19:04 |
Patrick Paulin Messages: 44 Registered: July 2009 Location: Madison, Wisconsin |
Member |
|
|
Hmmm. You're right. Those fragments aren't packaged in the delta pack for
some reason. I found this bug entry which seems relevant for the
photon.qnx.x86 platform.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=94081
In any case, your best bet might be to download the RCP Runtime Binary for
these 4 platforms and extract the fragments from them.
If anyone has info on why these fragments are not included, I'd be
interested...
--- Patrick
patrick@rcpquickstart.com
Dan Edmunds wrote:
> My product is defined as plugins, I was missing the SWT fragments, I've
> added them now but there are no fragments for the operating systems I
> mentioned below, should there be some?
Patrick Paulin
Eclipse RCP/OSGi Trainer and Consultant
Modular Mind, Ltd.
patrick@modumind.com
www.modumind.com
twitter.com/pjpaulin
linkedin.com/in/pjpaulin
|
|
|
Powered by
FUDForum. Page generated in 0.04368 seconds