Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » build.xml badly generated
build.xml badly generated [message #544718] Mon, 05 July 2010 11:06 Go to next message
Zakarov is currently offline ZakarovFriend
Messages: 24
Registered: January 2010
Junior Member
hello every body ,

i use hudson with eclipse PDE to generate a packaged version of eclipse .

but i have a compilation error with a plugin (org.myplugin) : [exec] [javac] The type org.eclipse.swt.events.HelpListener cannot be resolved. It is indirectly referenced from required .class files

when i check the build.xml generated for this plugin i find that this pathelement is missing :
<pathelement path=" ../../../eclipsePde64/plugins/org.eclipse.swt.win32.win32.x8 6_64_3.5.1.v3555a.jar "/>

i tried to generate this build.xml using the PDE Tools of eclipse and its generated correctly .

i do not understand why hudson is not doing the same :s..!!?

Thank you in advance.


Zakarov
Re: build.xml badly generated [message #544864 is a reply to message #544718] Mon, 05 July 2010 18:05 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Is "org.myplugin" platform specific?
If the feature that includes "org.myplugin" specifies os/ws/arch values on
that inclusion, then fragments that have platform filters that don't match
those values will get excluded from the classpath.

Also, if those os/ws/arch specify lists, then the fragments can also be
excluded due to a bug
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=271373).

When exporting or creatign the build.xml from the UI, I think that PDE/UI
does something so that the platform filters to get ignored here.

-Andrew
Zakarov wrote:

> hello every body ,
>
> i use hudson with eclipse PDE to generate a packaged version of eclipse .
>
> but i have a compilation error with a plugin (org.myplugin) : [exec]
> [javac] The type org.eclipse.swt.events.HelpListener cannot be resolved.
> It is indirectly referenced from required .class files
>
> when i check the build.xml generated for this plugin i find that this
> pathelement is missing :
> <pathelement path="
> ../../../eclipsePde64/plugins/org.eclipse.swt.win32.win32.x8
> 6_64_3.5.1.v3555a.jar "/>
>
> i tried to generate this build.xml using the PDE Tools of eclipse and its
> generated correctly .
>
> i do not understand why hudson is not doing the same :s..!!?
>
> Thank you in advance.
Previous Topic:PDE-Build
Next Topic:build.xml badly generated
Goto Forum:
  


Current Time: Thu Apr 25 05:50:44 GMT 2024

Powered by FUDForum. Page generated in 0.02868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top