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

Jacques Le Roux commented on OFBIZ-4775:
----------------------------------------

This is what I get running _ant status_ if I launch OFBiz using _ant run_:
{code}
D:\workspace\ofbizClean>"C:\Program Files\Java\jdk1.6.0_22\bin\java" -jar 
framework/base/lib/ant-launcher-1.8.2.jar -lib framework/base/lib/ant status
Buildfile: D:\workspace\ofbizClean\build.xml

status:
     [java] debug: args=[-status]
     [java] debug: command=STATUS
     [java] debug: loaderArgs=[]
     [java] Start.java using configuration file 
org/ofbiz/base/start/start.properties
     [java] Set OFBIZ_HOME to - D:/workspace/ofbizClean
     [java] Current Status : Running

BUILD SUCCESSFUL
Total time: 1 second
D:\workspace\ofbizClean>
{code}

But this is what I get running OFBiz using _/tools/startofbiz.bat_
{code}
D:\workspace\ofbizClean>"C:\Program Files\Java\jdk1.6.0_22\bin\java" -jar 
framework/base/lib/ant-launcher-1.8.2.jar -lib framework/base/lib/ant status
Buildfile: D:\workspace\ofbizClean\build.xml

status:
     [java] Start.java using configuration file 
org/ofbiz/base/start/start.properties
     [java] Set OFBIZ_HOME to - D:/workspace/ofbizClean
     [java] debug: args=[-status]
     [java] debug: command=STATUS
     [java] debug: loaderArgs=[]
     [java] Could not connect to /127.0.0.1:10523
     [java] Current Status : OFBiz is Down

BUILD SUCCESSFUL
Total time: 2 seconds
{code}
Hence my concern about consistency.

Now about startofbiz.bat, here is the history and the reasons of this other 
inconsistency:
# Jacopo decided to move scripts and such from OFBiz root to the tools folder. 
In the same time he changed the code inside the start/stopofbiz.sh scripts
# Hans decided it was not good for start/stopofbiz.sh scripts because he needed 
them in root (seems that adding /tools before was too much an effort,not sure 
why...). So he moved back the start/stopofbiz.sh from tools to root and removed 
the changes in scripts.
# Jacopo asked Hans to revert his changes
# Finally Hans said he reverted his changes at 
[r1304965|http://svn.apache.org/viewvc?view=revision&revision=1304965]. But he 
actually reverted only the changes inside the scripts and kept them at root.

So we ended with this platforms inconsistency. Only a vote could decide about 
these changes but not sure the community is really worried about that...
                
> add a status target to build.xml for getting the status of Ofbiz
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-4775
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4775
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Francis ANDRE
>            Priority: Minor
>         Attachments: ofbiz-build.xml.patch
>
>
> Hi
> This is a minor new target for getting the status of the ofbiz server.
> Rgds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to