On 11/01/2010, at 9:01 PM, [email protected] wrote:

Author: erwan
Date: Mon Jan 11 08:01:22 2010
New Revision: 897781

URL: http://svn.apache.org/viewvc?rev=897781&view=rev
Log:
A patch from Chris Snow : provide hints in create-component ant target (https://issues.apache.org/jira/browse/OFBIZ-3401), OFBIZ-3401

Modified:
   ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=897781&r1=897780&r2=897781&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Jan 11 08:01:22 2010
@@ -545,10 +545,10 @@

    <target name="create-component"
description="Creates the layout of an OFBiz component in the hot-deploy folder."> - <input addproperty="component-name" message="Component name: "/> - <input addproperty="component-resource-name" message="Component resource name: "/>
-        <input addproperty="webapp-name" message="Webapp name: "/>
- <input addproperty="base-permission" message="Base permission: "/> + <input addproperty="component-name" message="Component name: (e.g. mycomponent)"/> + <input addproperty="component-resource-name" message="Component resource name: (e.g. Mycomponent)"/>

Isn't the resource name typically camel cased? i.e. MyComponent

+ <input addproperty="webapp-name" message="Webapp name: (e.g. mycomponent)"/> + <input addproperty="base-permission" message="Base permission: (e.g. MYCOMPONENT)"/>
        <echo>The following hot-deploy component will be created:
              Name: ${component-name}
              Resource Name: ${component-resource-name}

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to