Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Problem loading resources from classpath in tests


I have a test case which needs the resource "classpath:/com/pany/eclipse/i18n_dsl/tests/Application.i18n"

In the code in org.eclipse.xtext.resource.ClassloaderClasspathUriResolver, this is truncated to "com/pany/eclipse/i18n_dsl/tests/Application.i18n" and then passed off to the OSGi classloader. I verified that target/classes/com/pany/eclipse/i18n_dsl/tests/Application.i18n exists.

The tests pass when run from inside Eclipse.

Why can't Tycho Surefire 0.13.0 load the resource?


Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."         

Back to the top