Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Proper way to get CDT test plugins

Hi Jonah,

thank you for the response. I was very unclear - I was thinking of (binary) plugins residing in p2 repositories. Yes, I know the CDT repository (which is also cloned as part of CDT Oomph project) contains the source code of those plugins. I was just wondering whether they are available already packaged. Maybe the CDT test packages are not of usual concern for developers developing on top of CDT (but not modifying CDT itself), but the packages also contain test-oriented API useful for developers extending CDT (such as Codan's CheckerTestCase).

I usually clone also CDT sources because I learn about it by inspecting it. But sometimes I can't import the sources along my projects and therefore I miss the test plugins.

Also, when I made my CDT-based projects Tycho-enabled so I could put them in CI, all plugins except the org.eclipse.cdt.codan.core.tests and org.eclipse.cdt.core.tests are downloaded and resolved.

I just thought that the core API concepts regarding testing (as mentioned Codan's CheckerTestCase) are part of the CDT SDK feature. But it seems they are not or I am doing something incorrectly.

I hope this detailed explanation will more useful for sketching my issue.

Regards,
Ivan

On Mon, Sep 18, 2017 at 9:18 AM, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Hi Ivan,

The test plug-ins you mentioned are in the same CDT repo (there is
only one repo[1]) as the rest of the code. You don't have to import
all the projects, but you should be able to find the ones you depend
on in there.

If you have come back to CDT development after a long time away, you
may need to change how you handle your target platform. There is a
cdt.target[2] file that you can use to get your non-CDT dependencies
into your target platform.

[1] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/
[2] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/releng/org.eclipse.cdt.target/cdt.target

HTH,
Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 17 September 2017 at 17:30, Ivan Šeďo <ikoframe@xxxxxxxxx> wrote:
> Hi,
>
> after some time I resumed my work built on Eclipse CDT and made it work
> against Oxygen including latest CDT. Now I have an error in my projects
> because it cannot resolve plugins such as org.eclipse.cdt.core.tests and
> org.eclipse.cdt.codan.core.tests.
>
> If I check out along my projects also CDT using Oomph then the the mentioned
> dependencies are resolved.
>
> Is there any way of getting those plugins without checking the source of the
> whole CDT? I tried to look for some repositories that could contain test
> plugins and features but without success.
>
> Thanks,
> Ivan
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top