You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2006/11/18 14:00:37 UTC
[jira] Created: (OFBIZ-471) Harcoded string to POS startupFile in
GUIAPP component
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
[jira] Closed: (OFBIZ-471) Harcoded string to POS startupFile in
GUIAPP component
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ 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