ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-6783) Refactor start.java
Date Fri, 13 May 2016 14:52:12 GMT

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

Jacques Le Roux edited comment on OFBIZ-6783 at 5/13/16 2:51 PM:

All options work for me, but --batch (see comment above)
Also I'm not sure how to use "--testlist". I mean which kind of file should I put after "--testlist
file=" ?

was (Author: jacques.le.roux):
All options work for me, but I'm not sure how to use "--testlist". I mean which kind of file
should I put after "--testlist file=" ?

> Refactor start.java
> -------------------
>                 Key: OFBIZ-6783
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6783
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Upcoming Branch
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>              Labels: framework, main, refactoring, start
>         Attachments: OFBIZ-6783.patch, OFBIZ-6783.patch, OFBIZ-6783.patch, OFBIZ-6783.patch,
> Looking at the main method and design of Start.java looks ugly. The things I would like
to fix so far are:
> - the file is too long
> - some variables are not even needed (loaderArgs?)
> - the level of abstraction is wrong
> - main throws an exception!
> - the arguments processing logic is terrible, need to move it to commons-cli
> It's just so messy and ugly to look at. So for me refactoring starts at Start! Given
that this is an important file, I will provide a patch to be reviewed by the community before
committing just to be on the safe side.

This message was sent by Atlassian JIRA

View raw message