Created
January 13, 2012 08:24
-
-
Save daniperez/1605072 to your computer and use it in GitHub Desktop.
Buildr eclipse .classpath bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories.remote << 'https://repository.jboss.org/nexus/content/groups/public' | |
repositories.remote << 'http://repo1.maven.org/maven2/' | |
define 'foo' do | |
eclipse.natures :java | |
compile.with transitive('org.drools:knowledge-api:jar:5.4.0.Beta1') | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Vector; | |
public class Foo { | |
// 'buildr eclipse' will add the jre container entry at the end of | |
// .classpath and Drools jars contain already a compiler (apparently | |
// not implementing java generics). Eclipse won't be able to compile | |
// this line. | |
private Vector<int> bar = new Vector<int>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment