You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by la...@apache.org on 2008/10/26 23:00:58 UTC

svn commit: r708049 - /incubator/buildr/trunk/lib/buildr/ide/eclipse.rb

Author: lacton
Date: Sun Oct 26 15:00:58 2008
New Revision: 708049

URL: http://svn.apache.org/viewvc?rev=708049&view=rev
Log:
Comments

Modified:
    incubator/buildr/trunk/lib/buildr/ide/eclipse.rb

Modified: incubator/buildr/trunk/lib/buildr/ide/eclipse.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/ide/eclipse.rb?rev=708049&r1=708048&r2=708049&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/ide/eclipse.rb (original)
+++ incubator/buildr/trunk/lib/buildr/ide/eclipse.rb Sun Oct 26 15:00:58 2008
@@ -171,8 +171,11 @@
         @xml.classpathentry :kind=>'output', :path=>relative(target)
       end
 
-      # Write a classpathentry of kind 'var' (variable) for Maven2 dependencies.
-      # E.g., var([lib1, lib2], 'M2_REPO', '/home/me/.m2/repo')
+      # Write a classpathentry of kind 'var' (variable) for a library in a local repo.
+      # * +libs+ is an array of library paths.
+      # * +var_name+ is a variable name as defined in Eclipse (e.g., 'M2_REPO').
+      # * +var_value+ is the value of this variable (e.g., '/home/me/.m2').
+      # E.g., <tt>var([lib1, lib2], 'M2_REPO', '/home/me/.m2/repo')</tt>
       def var libs, var_name, var_value
         libs.each do |lib_path|
           lib_artifact = file(lib_path)