lib/buildr/ide/idea7x.rb in vic-buildr-1.3.3 vs lib/buildr/ide/idea7x.rb in vic-buildr-1.3.4

- old
+ new

@@ -15,12 +15,12 @@ require 'buildr/core/project' require 'buildr/packaging' require 'stringio' -require 'rexml/document' + module Buildr module Idea7x #:nodoc: include Extension @@ -158,10 +158,12 @@ xml.library do xml.CLASSES do xml.root :url=> path end xml.JAVADOC - xml.SOURCES + xml.SOURCES do + xml.root :url=>"jar://#{path.sub(/\.jar$/, "-sources.jar")}!/" + end end end end end