-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved: createPlugin - improve process and templates (OFBIZ-13048) #778
Conversation
With the parameterization of the menu location, improvements to the createPlugin templates are warranted. added: StaticProperties.properties template SystemPropertyData.xml template modified: build.gradle - renamed 'minilang' folder to 'scripts', as minilang functions (XML) are deprecated in favour of groovy functions - added process to generate plugin.properties file from StaticProperties.properties template - added process to generate pluginSystemPropertyData.xml file from SystemPropertyData.xml template modified: web.xml template - context-param for mainMenuLocation - improved legibility of other context-params modified: ofbiz-component.xml template - added entity-resource loader for pluginSystemProperties.xml - addd modified: CommonScreens.xml template - changed menu location - added decorator-section 'pre-body', having reference to MainActionMenu and decoration-section-include modified: Menus.xml template - added MainActionMenu modified: controller.xml template - added request-map and view-map for 'New' menu-item in MainActionMenu (Menus.xml template) modified: Screens.xml template - added pre-body decorator section too main screen - added 'New' screen modified: Forms.xml template - added 'New' form modified: UiLabels.xml template - remove 'it' and 'zh*'' translations - updated 'en' translation for pluginCompanyName modified: SecurityPermissionsSeedData.xml - reordering SecurityPermissioon record definitions modified: SecurityGroupDemoData.xml - changed permission of BIZADMIN groupId
Adds a missing last empty line (this is more a convention, though sometimes useful when merging or patching)
Adds a missing last empty line (this is more a convention, though sometimes useful when merging or patching)
Adds a missing last empty line (this is more a convention, though sometimes useful when merging or patching)
Quality Gate passedIssues Measures |
Hi @PierreSmits, This is a nice initiative, but why removing other languages than English in framework/resources/templates/UiLabels.xml? They may help some people. |
Hi @JacquesLeRoux, Thank you for your time to evaluate these changes, and your question. As you can see in 5c2cdbe in the UiLabels template I have changed the English description of
As with these two improvements the translations in the other languages became void, I decided that, with English being the lingua franca for software developers in general and for contributors of ASF projects particularly, it would be better to remove the non-English translations of the other labels too. |
Please use correct commit according to the template. Scripts is deprecated also, Groovy files are now in src. |
Thanks @PierreSmits for your explanation |
To avoid conflicts, this has been handled by OFBIZ-13095
Quality Gate passedIssues Measures |
Hi @JacquesLeRoux , Your latest change did to resolve the conflict. For an explanation on choices made, see description of the ticket. |
Hi Pierre, The 1st thing to do is to address Michael's comment:
Then update your branch by uploading from trunk the changes made with OFBIZ-13094. I thought that by deleting UiLabels.xml in this PR it would resolve the conflicts when it actually much complicated them. |
Michael's comment has been already addressed with OFBIZ-12813 |
Note: I was started on this by trying to find documentation about createPlugin Gradle task. I did not find any but the explanation of the task itself. I have though to read 8 threads where I'll maybe get some ideas. |
With the parameterization of the menu location, improvements to the createPlugin templates are warranted.
added:
StaticProperties.properties template
SystemPropertyData.xml template
modified: build.gradle
modified: web.xml template
modified: ofbiz-component.xml template
modified: CommonScreens.xml template
modified: Menus.xml template
modified: controller.xml template
modified: Screens.xml template
modified: Forms.xml template
modified: UiLabels.xml template
modified: SecurityPermissionsSeedData.xml
modified: SecurityGroupDemoData.xml