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

Can you please provide an example that does not depend on any
pre-existing local files? I am really looking to be able to run "mvn
clean integration-test" and see a test failure where there should be none.

--
Regards,
Igor

On 2013-06-18 9:54 PM, Marc Lambrichs wrote:
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




_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top