Re: test-classes not used as classpath

2011-08-05 Thread Baptiste MATHUS
Hi, This is expected behaviour. Test-sources see main-sources, not the contrary, and it's a very good thing. Compiled test-sources logically don't get packaged inside the resulting archive (say jar, war...). If you want a resources accessible from main-sources, put them inside src/main/resources

test-classes not used as classpath

2011-08-05 Thread Michel Jung
Hi My test-classes folder is not in the classpath - neither in eclipse, nor when running the application with maven. I created a new sample app, like this: src/main/java/com/example/Main: public static void main(final String[] args) { System.out.println(Main.class.getResourceAsStream