You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Scott Gray <sc...@hotwaxmedia.com> on 2010/01/11 19:54:50 UTC

Re: svn commit: r897781 - /ofbiz/trunk/build.xml

On 11/01/2010, at 9:01 PM, erwan@apache.org 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}


Re: svn commit: r897781 - /ofbiz/trunk/build.xml

Posted by Erwan de FERRIERES <er...@nereide.biz>.

Le 11/01/2010 19:54, Scott Gray a écrit :
> On 11/01/2010, at 9:01 PM, erwan@apache.org wrote:

>> + <input addproperty="component-resource-name" message="Component
>> resource name: (e.g. Mycomponent)"/>
>
> Isn't the resource name typically camel cased? i.e. MyComponent

Hi Scott,

I've been looking for other ressource names, and you're right, they're 
camel cased. I'm correcting this right away.

-- 
Erwan de FERRIERES
www.nereide.biz