lib/buildr/ide/idea.rb in assaf-buildr-1.3.3 vs lib/buildr/ide/idea.rb in assaf-buildr-1.3.4

- old
+ new

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