xtext + tycho + xtext-utils unit testing fails [message #915227] |
Sun, 16 September 2012 21:41 |
Scott Finnie Messages: 94 Registered: October 2011 |
Member |
|
|
Having some problems running tests that use xtext-utils. Runs fine from the IDE but from maven it's not finding any of the test input files. Error is:
testAssociation(org.domainmodels.Ooa.integrationtest.TestOoaStructure): java.lang.IllegalStateException: Couldn't find resource on classpath. URI was 'classpath:/TestOoaStructure/AssociationTest.ooa'
Found this post which covers the same topic: http://www.eclipse.org/forums/index.php/m/832957/
Tried to make some changes as per the spray tests (http://code.google.com/a/eclipselabs.org/p/spray/source/browse/releng/org.eclipselabs.spray.parent/pom.xml) however mine still fail.
Complete newbie to maven & tycho which doesn't help. So it's quite possible I've missed some of the 'magic sauce' in changing my setup to reflect Spray.
So: is there a more up-to-date fix than the one in the post linked above? If not, any more specific pointers to changes I need to make?
If someone could explain why the test files aren't being found - even though they're on the classpath (as far as I can tell) - that would also be very useful.
thanks,
Scott.
|
|
|
Powered by
FUDForum. Page generated in 0.02879 seconds