You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2008/01/09 08:13:02 UTC

svn commit: r610284 - /incubator/buildr/trunk/lib/java/packaging.rb

Author: assaf
Date: Tue Jan  8 23:13:01 2008
New Revision: 610284

URL: http://svn.apache.org/viewvc?rev=610284&view=rev
Log:
With a typo fix

Modified:
    incubator/buildr/trunk/lib/java/packaging.rb

Modified: incubator/buildr/trunk/lib/java/packaging.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/java/packaging.rb?rev=610284&r1=610283&r2=610284&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/java/packaging.rb (original)
+++ incubator/buildr/trunk/lib/java/packaging.rb Tue Jan  8 23:13:01 2008
@@ -235,8 +235,8 @@
       # * :map -- A Hash used to map component type to paths within the EAR.
       #     By default each component type is mapped to a directory with the same name,
       #     for example, EJBs are stored in the /ejb path.  To customize:
-      #                       package(:ear).dirs[:war] = 'web-applications' 
-      #                       package(:ear).dirs[:lib] = nil # store shared libraries on root of archive
+      #                       package(:ear).map[:war] = 'web-applications' 
+      #                       package(:ear).map[:lib] = nil # store shared libraries on root of archive
       #
       # EAR components are added by means of the EarTask#add, EarTask#<<, EarTask#push methods
       # Component type is determined from the artifact's type. 
@@ -268,7 +268,7 @@
       # The following example also specifies a different directory inside the EAR where to store the webapp.
       #
       #      package(:ear).add project(:remoteService).package(:war), 
-      #                                 :path => 'web-services', :context_root => '/Some/URL/Path'
+      #                                 :path=>'web-services', :context_root=>'/Some/URL/Path'
       #
       # [1] http://java.sun.com/j2ee/sdk_1.2.1/techdocs/guides/ejb/html/Overview5.html#10106
       # [2] http://java.sun.com/j2ee/verified/packaging.html