Discussion:
[tycho-user] Replacement for the folder with .class files from the PDE build
Evgeniya Katunina
2017-06-29 09:06:12 UTC
Permalink
Hi all,

I have an issue with my plug-ins when building them with the Maven/Tycho: when I used PDE build I listed bin/ in the bin.includes and bin/ contained all .class files for a plug-in and all worked fine. Now I excluded bin/ folder from the build.properties files and replaced it with the path to the according Tycho directory with .class files -- $plugin_name$/target/classes/ but my plug-ins still are not able to load classes during their runtime. Could you please advise me something to deal with it?

Thanks,
Evgeniya
Sievers, Jan
2017-06-29 09:44:08 UTC
Permalink
you will need a bin.includes=.

see e.g. https://github.com/eclipse/tycho-demo/blob/master/itp01/tycho.demo.itp01/build.properties

Jan

On 29.06.17, 11:06, "tycho-user-***@eclipse.org on behalf of Evgeniya Katunina" <tycho-user-***@eclipse.org on behalf of ***@synopsys.com> wrote:

Hi all,

I have an issue with my plug-ins when building them with the Maven/Tycho: when I used PDE build I listed bin/ in the bin.includes and bin/ contained all .class files for a plug-in and all worked fine. Now I excluded bin/ folder from the
build.properties files and replaced it with the path to the according Tycho directory with .class files -- $plugin_name$/target/classes/ but my plug-ins still are not able to load classes during their runtime. Could you please advise me something to deal with
it?

Thanks,
Evgeniya
Evgeniya Katunina
2017-06-29 15:23:20 UTC
Permalink
Jan and all,

I replaced that path with a dot but the issue remained. This is how the repository looked before using Maven/Tycho -- https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse and this link is the state with the Maven/Tycho usage -- https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/tree/test_maven_and_usual_build_compatibility . Could you please help to resolve my issue?

Thank you,
Evgeniya

-----Original Message-----
From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Sievers, Jan
Sent: Thursday, June 29, 2017 12:44 PM
To: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] Replacement for the folder with .class files from the PDE build

you will need a bin.includes=.

see e.g. https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_eclipse_tycho-2Ddemo_blob_master_itp01_tycho.demo.itp01_build.properties&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=fV68A39iu_J_YfvlwqC-qlT0P6SAMH1TorHEtxa43ek&s=Fe6g7zx_0OByzwlnXakisMlnHhMZPhhCK_1qwaCKMOk&e=

Jan

On 29.06.17, 11:06, "tycho-user-***@eclipse.org on behalf of Evgeniya Katunina" <tycho-user-***@eclipse.org on behalf of ***@synopsys.com> wrote:

Hi all,

I have an issue with my plug-ins when building them with the Maven/Tycho: when I used PDE build I listed bin/ in the bin.includes and bin/ contained all .class files for a plug-in and all worked fine. Now I excluded bin/ folder from the build.properties files and replaced it with the path to the according Tycho directory with .class files -- $plugin_name$/target/classes/ but my plug-ins still are not able to load classes during their runtime. Could you please advise me something to deal with it?

Thanks,
Evgeniya

Loading...