lib/java/eclipse.rb in buildr-1.0.0 vs lib/java/eclipse.rb in buildr-1.1.0
- old
+ new
@@ -111,10 +111,10 @@
file(project.path_to(".project")=>sources) do |task|
puts "Writing #{task.name}" if verbose
File.open(task.name, "w") do |file|
xml = Builder::XmlMarkup.new(:target=>file, :indent=>2)
xml.projectDescription do
- xml.name project.name
+ xml.name project.name.tr(":", "-")
xml.projects
xml.buildSpec do
xml.buildCommand do
xml.name "org.eclipse.jdt.core.javabuilder"
end