[jira] Created: (OFBIZ-471) Harcoded string to POS startupFile in GUIAPP component

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

[jira] Created: (OFBIZ-471) Harcoded string to POS startupFile in GUIAPP component

Nicolas Malin (Jira)
Harcoded string to POS startupFile in GUIAPP component
------------------------------------------------------

                 Key: OFBIZ-471
                 URL: http://issues.apache.org/jira/browse/OFBIZ-471
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Jacques Le Roux
         Assigned To: Jacques Le Roux
            Priority: Minor
             Fix For: SVN trunk


Find a better solution than harcoded string
     String xuiProps = System.getProperty("ofbiz.home") + "/specialpurpose/pos/config/" + startupFile;
in XuiContainer.java


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-471) Harcoded string to POS startupFile in GUIAPP component

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-471?page=all ]

Jacques Le Roux closed OFBIZ-471.
---------------------------------

    Resolution: Fixed

I used a very simple solution (because I did no want to use somehting too complex) : now the directory name is near the file name in pos-containers.xml. I could have put all the file name (path included) in property "startup-file" either, and not adding  a property "startup-directory" but it's more flexible like that. It's not a big change but at least if ever the POS component is moved no compilation will have to be done.

If someone see a better solution, fell free...

It's in OFBiz revision 487891.

> Harcoded string to POS startupFile in GUIAPP component
> ------------------------------------------------------
>
>                 Key: OFBIZ-471
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-471
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Find a better solution than harcoded string
>      String xuiProps = System.getProperty("ofbiz.home") + "/specialpurpose/pos/config/" + startupFile;
> in XuiContainer.java

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira