details:   /erp/devel/pi/rev/b282c7c51f4d
changeset: 7563:b282c7c51f4d
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Mon Jun 07 15:33:42 2010 +0200
summary:   Improved javadoc of two classes

diffstat:

 src/org/openbravo/service/system/ReloadContext.java |  6 ++++--
 src/org/openbravo/service/system/RestartTomcat.java |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r fb45a910f3e0 -r b282c7c51f4d 
src/org/openbravo/service/system/ReloadContext.java
--- a/src/org/openbravo/service/system/ReloadContext.java       Mon Jun 07 
14:00:24 2010 +0200
+++ b/src/org/openbravo/service/system/ReloadContext.java       Mon Jun 07 
15:33:42 2010 +0200
@@ -36,7 +36,8 @@
 
   /**
    * Method is called from the tomcat.reload tasks, this method again starts 
the tomcat.reload.do
-   * task.
+   * task.Note: this method should always use the AntExecutor in 
org.openbravo.erpCommon.utility, to
+   * prevent problems when upgrading Core to a newer version
    * 
    * @param args
    *          arg[0] contains the source path
@@ -58,7 +59,8 @@
 
   /**
    * Restarts the tomcat server. Assumes the the Openbravo.properties are 
available through the
-   * {...@link OBPropertiesProvider}.
+   * {...@link OBPropertiesProvider}.Note: this method should always use the 
AntExecutor in
+   * org.openbravo.erpCommon.utility, to prevent problems when upgrading Core 
to a newer version
    */
   @SuppressWarnings("deprecation")
   public static void reload() {
diff -r fb45a910f3e0 -r b282c7c51f4d 
src/org/openbravo/service/system/RestartTomcat.java
--- a/src/org/openbravo/service/system/RestartTomcat.java       Mon Jun 07 
14:00:24 2010 +0200
+++ b/src/org/openbravo/service/system/RestartTomcat.java       Mon Jun 07 
15:33:42 2010 +0200
@@ -40,7 +40,8 @@
 
   /**
    * Method is called from the tomcat.restart tasks, this method again starts 
the tomcat.restart.do
-   * task.
+   * task.Note: this method should always use the AntExecutor in 
org.openbravo.erpCommon.utility, to
+   * prevent problems when upgrading Core to a newer version
    * 
    * @param args
    *          arg[0] contains the source path
@@ -62,7 +63,8 @@
 
   /**
    * Restarts the tomcat server. Assumes the the Openbravo.properties are 
available through the
-   * {...@link OBPropertiesProvider}.
+   * {...@link OBPropertiesProvider}. Note: this method should always use the 
AntExecutor in
+   * org.openbravo.erpCommon.utility, to prevent problems when upgrading Core 
to a newer version
    */
   @SuppressWarnings("deprecation")
   public static void restart() {

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to