Package org.openbravo.database

Examples of org.openbravo.database.CPStandAlone


   *          Openbravo.properties file with pool information
   * @param modulesDir
   *          Base directory for modules
   */
  public ExtractModule(String xmlPoolFile, String modulesDir) {
    pool = new CPStandAlone(xmlPoolFile);
    modulesBaseDir = modulesDir;
  }
View Full Code Here


   * @param xmlPoolFile
   * @param obDir
   * @param _vars
   */
  public UninstallModule(String xmlPoolFile, String obDir, VariablesSecureApp _vars) {
    pool = new CPStandAlone(xmlPoolFile);
    modulesBaseDir = obDir + "/modules";
    vars = _vars;
  }
View Full Code Here

    strPath = strPath + "/" + Utility.wikifiedName(ds.dsName) + ".xml";
    return strPath;
  }

  public static void main(String[] args) {
    final ApplyModule am = new ApplyModule(new CPStandAlone(
        "/ws/modularity/openbravo/config/Openbravo.properties"), "/ws/modularity/openbravo");
    am.execute();
  }
View Full Code Here

    try {
      if (obDir == null || obDir.equals(""))
        obDir = getProject().getBaseDir().toString();
      if (propertiesFile == null || propertiesFile.equals(""))
        propertiesFile = obDir + "/config/Openbravo.properties";
      final ApplyModule am = new ApplyModule(new CPStandAlone(propertiesFile), obDir);
      am.execute();
    } catch (final Exception e) {
      throw new BuildException(e);
    }
  }
View Full Code Here

   * @param xmlPoolFile
   *          Path to the Openbravo.properties file.
   * @throws ServletException
   */
  public Translate(String xmlPoolFile) throws ServletException {
    pool = new CPStandAlone(xmlPoolFile);
  }
View Full Code Here

TOP

Related Classes of org.openbravo.database.CPStandAlone

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.