Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] getResource on eclipse-test-plugin

Here it is. It's just to give you an idea of what we're doing. The
setup of com.test.level5.util.unittest/pom.xml is what we're trying to
figure out: we need using getClass().getResource() to work.

thx.
Marc

On 6/18/13 6:50 PM, Igor Fedorenko wrote:
> Provide small complete example and exact steps to reproduce the
> problem and I'll have a look.
> 
> -- Regards, Igor
> 
> On 2013-06-18 8:22 PM, Marc Lambrichs wrote:
>> Hi Igor,
>> 
>> Apparently more people have been struggling with this. It's not
>> on the wiki, nor can it be found as an answer to one of the
>> earlier questions.
>> 
>> So, yes, the "resources/" directory is in the build.properties.
>> Should there be an explicit testResource added to the build-tag
>> in our pom? Can you give us an example?
>> 
>> Marc
>> 
>> On 6/18/13 5:37 PM, Igor Fedorenko wrote:
>>> Resources folders have to be included in build.properties. This
>>> is not specific to Tycho, this is needed to run the test plugin
>>> in PDE as well.
>>> 
>>> -- Regards, Igor
>>> 
>>> On 2013-06-18 6:04 PM, Marc Lambrichs wrote:
>>>> In a eclipse-test-plugin bundle we want to do a 
>>>> getClass().getResource().
>>>> 
>>>> Any pointers on how to configure this in our pom?
>>>> 
>>>> Cheers, Marc
>>>> 
>>>> _______________________________________________ tycho-user 
>>>> mailing list tycho-user@xxxxxxxxxxx 
>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>> 
>>> _______________________________________________ tycho-user
>>> mailing list tycho-user@xxxxxxxxxxx 
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> _______________________________________________ tycho-user
>> mailing list tycho-user@xxxxxxxxxxx 
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> 
> _______________________________________________ tycho-user mailing
> list tycho-user@xxxxxxxxxxx 
> https://dev.eclipse.org/mailman/listinfo/tycho-user


-- 
--
m.vr.gr.
Marc Lambrichs
==============================
Mélange IT B.V.
Postbus 3581
1001 AJ  Amsterdam
==============================
T +31 (0)20 618 58 52
F +31 (0)20 618 59 58
M +31 (0)6 1296 1703
------------------------------

Attachment: example.tar.gz
Description: GNU Zip compressed data


Back to the top