Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] SWT dependecy

Hi Christian, 

Thanks for your quick answer.

>>make sure you don't have any 32bit configurations for maven tycho environments.

It seems to work now. Taking into account the configuration provided by vogella in his tutorial I removed this lines:

<environment>
       <os>linux</os>
       <ws>gtk</ws>
       <arch>x86</arch>
      </environment>

 <environment>
       <os>win32</os>
       <ws>win32</ws>
       <arch>x86</arch>
      </environment>

It is correct now, right?

>> also: swtbot != swt

You are right. It was a desperate attempt.

Thanks!

Kind regards,

Anthony



On Tue, Apr 7, 2020 at 1:54 PM Christian Dietrich <christian.dietrich@xxxxxxxxx> wrote:

Hi,

make sure you dont have any 32bit configurations for maven tycho environments.

also: swtbot != swt

Am 07.04.20 um 13:51 schrieb Antonio Garmendía:
Hi all,

I just started to work with Tycho (https://www.vogella.com/tutorials/EclipseTycho/article.html) and just trying to build some EMF generated plugins from a meta-model (e.g. *.edit and *.editor plugins). The thing is that I am getting a build failure due to:

The type org.eclipse.swt.widgets.Composite cannot be resolved. It is indirectly referenced from required .class files

In the target platform, I included the SWT libraries:

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="2.8.0.201906121535"/>
<unit id="org.eclipse.swtbot.feature.group" version="2.8.0.201906121535"/>
<unit id="org.eclipse.swtbot.forms.feature.group" version="2.8.0.201906121535"/>
<unit id="org.eclipse.swtbot.ide.feature.group" version="2.8.0.201906121535"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="2.8.0.201906121535"/>
</location>

I don't know what I'm missing, Any hints?

Thanks in advance.

Kind regards,
Anthony

Libre de virus. www.avast.com

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top