[ 
https://issues.apache.org/jira/browse/OFBIZ-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670719#action_12670719
 ] 

Vikas Mayur commented on OFBIZ-2169:
------------------------------------

Hi Jacopo, This is much needed feature in OFBiz.

I have tested this patch and it worked like a charm. Great Work!

Also I would like to suggest few things:
1) Add the ability so that user can review his inputs by prompting with a 
message "Do you wish to continue (Y/N)?", or with some other options so that 
user can re-enter values to the questions. Iterate this until user is sure of 
his inputs. 
2) For base-permission question, if user enter some thing like TeSt, convert it 
to TEST as per OFBiz conventions.
3) Add an entry of "<fileset dir="../../framework/base/lib/j2eespecs" 
includes="*.jar"/>" in build.xml file, in case if user write any Java events. 
4) error.jsp is missing.

> Ant target for the automatic creation of an ofbiz component in the hot-deploy 
> folder 
> -------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2169
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2169
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>            Reporter: Jacopo Cappellato
>             Fix For: Release Branch 9.3
>
>         Attachments: create-component.patch
>
>
> Ant target for the automatic creation of an ofbiz component in the hot-deploy 
> folder.
> Apply the patch and run the command:
> ant create-component
> You will be prompted for:
> 1) component name (e.g. "test")
> 2) component resource name (e.g. "Test")
> 3) webapp name (e.g. "testapp")
> 4) base permission (e.g. "TEST")
> and the target will create the component in the hot-deploy folder.
> Restart ofbiz and the new application will be up and running.
> I would like to add more targets like: create-screen, create-service etc...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to