Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] PDE builder unable to find SWT win32 plugin in linux environment

Hi,

I am trying to build a set of plugins using the PDE builder.

Almost all of these plugins have a dependency on org.eclipse.swt and

org.eclipse.swt.win32 plugin. When I run the build on a windows
machine, it works fine. However when I am trying to build from a linux
machine it gives me compile time errors, saying that it cannot find
the SWT classes.

The difference in the generated build.xml file for same plugin in
windows and linux environments is the following missing entry in the
linux env build.xml

<pathelement

path="../../../../eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.2.2.

v3236.jar"/>

however, this line is present in both

<pathelement

path="../../../../eclipse/plugins/org.eclipse.swt_3.2.2.v3236b.jar"/>

in the build.properties I have set the configs to win32 and also the
os,ws and arch in the run.sh

build.properties:

configs=win32, win32, x86



run.sh:

export os=win32

export ws=win32

export arch=x86



The eclipse installation folder on the linux machine I am trying to
build on (including plugins and features) is basically copied from the
windows machine. It is basically a constraint that I have to run the
headless build on a linux box.

Can someone please tell me why the win32 plugin is not getting
included in the build on the linux machine, and what I need to do to
fix it.

Any help would be highly appreciated.



Thanks,

Atin


Back to the top