[jira] [Updated] (OFBIZ-7924) Remove old and deprecated OFBiz server tasks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7924) Remove old and deprecated OFBiz server tasks

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Taher Alkhateeb updated OFBIZ-7924:
-----------------------------------
    Attachment: OFBIZ-7924.patch

This patch achieves the objectives of this JIRA by applying the following:

Delete these files:
- framework/start/src/main/java/org/apache/ofbiz/base/start/both.properties
- framework/start/src/main/java/org/apache/ofbiz/base/start/pos.properties
- framework/start/src/main/java/org/apache/ofbiz/base/start/testlist.properties
- framework/testtools/src/main/java/org/apache/ofbiz/testtools/TestListContainer.java

Modify these files
- framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java
- framework/start/src/main/java/org/apache/ofbiz/base/start/StartupCommandUtil.java
- specialpurpose/pos/src/main/java/org/apache/ofbiz/pos/screen/PosScreen.java

Move these files from start to POS:
- framework/base/src/main/java/org/apache/ofbiz/base/splash/SplashLoader.java
- framework/base/src/main/java/org/apache/ofbiz/base/splash/SplashScreen.java

The command ./gradlew "ofbiz --help" has a shorter and nicer output now that the options list is shorter.

> Remove old and deprecated OFBiz server tasks
> --------------------------------------------
>
>                 Key: OFBIZ-7924
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7924
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: POS, start
>    Affects Versions: Upcoming Branch
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>         Attachments: OFBIZ-7924.patch
>
>
> This JIRA has reference to a discussion thread in which we proposed to remove the following OFBiz server commands:
> Thread: http://ofbiz.markmail.org/message/r64igaf6ihvpolaa
> - --test-list
> - --pos
> - --both
> The tasks --pos and --both belong to the POS component which is a specialpurpose component that should be a peripheral task, not fully integrated into the bootstrapping component.
> As for --test-list is it a deprecated task that generates ant and text scripts which are also unnecessary (more explanation in the email thread)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)