Some rebranding

This commit is contained in:
Carlos Ruiz 2007-05-15 19:17:31 +00:00
parent 4ef7cd2bc0
commit d0f4cae6e6
3 changed files with 23 additions and 19 deletions

View File

@ -136,7 +136,7 @@ public class JasperViewer extends javax.swing.JFrame {
try { try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//this is for test only prefer testingby calling org.compiere.report.JaserViewer JDBC_CONNECTION JDBC_USER JDBC_PASS //this is for test only prefer testingby calling org.compiere.report.JaserViewer JDBC_CONNECTION JDBC_USER JDBC_PASS
return DriverManager.getConnection("jdbc:oracle:thin:@abalone.lesmuids.com:1521:abalone", "compiere", "compiere"); return DriverManager.getConnection("jdbc:oracle:thin:@abalone.lesmuids.com:1521:abalone", "adempiere", "adempiere");
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); e.printStackTrace();
return null; return null;

View File

@ -516,7 +516,7 @@ public class PDFViewerBean extends JPanel {
} }
try { try {
tmpFile = File.createTempFile("compiere", ".pdf"); tmpFile = File.createTempFile("adempiere", ".pdf");
tmpFile.deleteOnExit(); tmpFile.deleteOnExit();
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();

View File

@ -1,16 +1,20 @@
/****************************************************************************** /******************************************************************************
* The contents of this file are subject to the Compiere License Version 1.1 * Product: Adempiere ERP & CRM Smart Business Solution *
* ("License"); You may not use this file except in compliance with the License * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* You may obtain a copy of the License at http://www.compiere.org/license.html * This program is free software; you can redistribute it and/or modify it *
* Software distributed under the License is distributed on an "AS IS" basis, * under the terms version 2 of the GNU General Public License as published *
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * by the Free Software Foundation. This program is distributed in the hope *
* the specific language governing rights and limitations under the License. * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke * See the GNU General Public License for more details. *
* are Copyright (C) 1999-2005 Jorg Janke. * You should have received a copy of the GNU General Public License along *
* All parts are Copyright (C) 1999-2005 ComPiere, Inc. All Rights Reserved. * with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
* Portions created by Victor Perez are Copyright (C) 1999-2005 e-Evolution,S.C * Portions created by Victor Perez are Copyright (C) 1999-2005 e-Evolution,S.C
* Contributor(s): Victor Perez * Contributor(s): Victor Perez *
*****************************************************************************/ *****************************************************************************/
package org.compiere.db; package org.compiere.db;
@ -409,22 +413,22 @@ public class DB_PostgreSQL implements AdempiereDatabase
if (CMD_CREATE_USER == cmdType) if (CMD_CREATE_USER == cmdType)
return new String[] return new String[]
{ {
"CREATE USER compiere;", "CREATE USER adempiere;",
}; };
// //
if (CMD_CREATE_DATABASE == cmdType) if (CMD_CREATE_DATABASE == cmdType)
return new String[] return new String[]
{ {
"CREATE DATABASE compiere OWNER compiere;", "CREATE DATABASE adempiere OWNER adempiere;",
"GRANT ALL PRIVILEGES ON compiere TO compiere;" , "GRANT ALL PRIVILEGES ON adempiere TO adempiere;" ,
"CREATE SCHEMA compiere;", "CREATE SCHEMA adempiere;",
"SET search_path TO compiere;" "SET search_path TO adempiere;"
}; };
// //
if (CMD_DROP_DATABASE == cmdType) if (CMD_DROP_DATABASE == cmdType)
return new String[] return new String[]
{ {
"DROP DATABASE compiere;" "DROP DATABASE adempiere;"
}; };
// //
return null; return null;