Hi, I already sent this email, but it did not appear in the ML archive. Perhaps it wasn't accepted because I wasn't subscribed? (I am now) Please excuse me for trying again, should this result in a double post.
---- I recently started my first project with buildr & eclipse. Everything is fine, much better than maven I hope ;) The only problem is, "buildr eclipse" only adds the complile.with from buildfile to eclipse-cp. The dependencies of these are missing. If I build the project using buildr, it recursively downloads all necessary libraries. But Eclipse classpath is still missing these. Have some examples: I added commons-config and -logging, -lang was missing, had to add it manually: compile.with 'commons-configuration:commons-configuration:jar:1.10' compile.with 'commons-logging:commons-logging:jar:1.2' compile.with 'commons-lang:commons-lang:jar:2.6' I added junit compile.with 'junit:junit:jar:4.12' result is: java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing so, let's have a look into junit.pom: <dependencies><dependency><groupId>org.hamcrest</groupId><artifactId>hamcrest-core</artifactId><version>1.3</version></dependency></dependencies> there it is. then why isn't it integrated into my eclipse CP? (see attachment) Yes, I issued "buildr eclipse" and refreshed the project from disk. Everything works fine for explicitely mentioned deps. should I use builr4eclipse? thanks, Jan
<classpath> <classpathentry kind="src" path="src/main/java" excluding="**/.svn/|**/CVS/"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="target/classes"/> <classpathentry kind="var" path="M2_REPO/junit/junit/4.12/junit-4.12.jar" sourcepath="M2_REPO/junit/junit/4.12/junit-4.12-sources.jar" javadocpath="M2_REPO/junit/junit/4.12/junit-4.12-javadoc.jar"/> <classpathentry kind="var" path="M2_REPO/commons-configuration/commons-configuration/1.10/commons-configuration-1.10.jar" sourcepath="M2_REPO/commons-configuration/commons-configuration/1.10/commons-configuration-1.10-sources.jar" javadocpath="M2_REPO/commons-configuration/commons-configuration/1.10/commons-configuration-1.10-javadoc.jar"/> <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.6/commons-lang-2.6.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.6/commons-lang-2.6-sources.jar" javadocpath="M2_REPO/commons-lang/commons-lang/2.6/commons-lang-2.6-javadoc.jar"/> <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.2/commons-logging-1.2.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.2/commons-logging-1.2-sources.jar" javadocpath="M2_REPO/commons-logging/commons-logging/1.2/commons-logging-1.2-javadoc.jar"/> <classpathentry kind="var" path="M2_REPO/org/apache/logging/log4j/log4j-core/2.1/log4j-core-2.1.jar" sourcepath="M2_REPO/org/apache/logging/log4j/log4j-core/2.1/log4j-core-2.1-sources.jar" javadocpath="M2_REPO/org/apache/logging/log4j/log4j-core/2.1/log4j-core-2.1-javadoc.jar"/> </classpath>
