buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1158644 - in /buildr/trunk: CHANGELOG lib/buildr/ide/idea.rb
Date Wed, 17 Aug 2011 11:56:39 GMT
Author: donaldp
Date: Wed Aug 17 11:56:39 2011
New Revision: 1158644

URL: http://svn.apache.org/viewvc?rev=1158644&view=rev
Log:
Change the Intellij IDEA extension to always rebuild the project files.

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/ide/idea.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1158644&r1=1158643&r2=1158644&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Wed Aug 17 11:56:39 2011
@@ -1,4 +1,5 @@
 1.4.7 (Pending)
+* Change: Change the Intellij IDEA extension to always rebuild the project files.
 * Added:  Enhance the Intellij IDEA extension to support the addition of "artifacts"
           and "configurations" to the generated project file.
 * Change: Changed the default output directory for Intellij IDEA extension to be

Modified: buildr/trunk/lib/buildr/ide/idea.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/idea.rb?rev=1158644&r1=1158643&r2=1158644&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Wed Aug 17 11:56:39 2011
@@ -568,12 +568,9 @@ module Buildr
 
         files.each do |ideafile|
           module_dir =  File.dirname(ideafile.filename)
-          # Need to clear the actions else the extension included as part of buildr will
run
-          file(ideafile.filename).clear_actions
-          idea.enhance [file(ideafile.filename)]
-          file(ideafile.filename => [Buildr.application.buildfile]) do |task|
+          idea.enhance do |task|
             mkdir_p module_dir
-            info "Writing #{task.name}"
+            info "Writing #{ideafile.filename}"
             t = Tempfile.open("buildr-idea")
             temp_filename = t.path
             t.close!



Mime
View raw message