Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Some help with tycho and classpaths

When you run a plugin test from Eclipse, the classpath is computed according to your target platform and your workspace.
When tests are run from Tycho, the classpath is computed from the target platform that you configured. It is possible to configure the Tycho surefire plugin to exclude some bundles or add new ones.

Hope this helps

On Thu, Dec 15, 2016 at 10:36 AM, Nicholaos Petalidis <nikos@xxxxxxxxxxxx> wrote:
Apologies if this has been answered before, but I 've been trying to make my build process behave the same way as Eclipse does, but with minor success.

The thing I don't understand is that when tests run through the tycho-surefire-plugin seem to pick-up different classpaths than when they run from within eclipse. This is particularly evident with logging frameworks such as log4j or commons-logging that expect for log configurations to be on the classpath and I simply cannot find a way to configure both eclipse and tycho-surefire to behave the same.

Can someone point me to some documentation that explains how the two differ in this respect? 

Best regards,

Nikos Petalidis
Consulting Software Engineer

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top