From d0f4cae6e6ea49bd0fc6fcd229d9ffd943778ab6 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 15 May 2007 19:17:31 +0000 Subject: [PATCH] Some rebranding --- .../src/org/compiere/report/JasperViewer.java | 2 +- .../adempiere/pdf/viewer/PDFViewerBean.java | 2 +- base/src/org/compiere/db/DB_PostgreSQL.java | 38 ++++++++++--------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/JasperReports/src/org/compiere/report/JasperViewer.java b/JasperReports/src/org/compiere/report/JasperViewer.java index 25529f2f4e..dbf02106e1 100644 --- a/JasperReports/src/org/compiere/report/JasperViewer.java +++ b/JasperReports/src/org/compiere/report/JasperViewer.java @@ -136,7 +136,7 @@ public class JasperViewer extends javax.swing.JFrame { try { 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 - 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) { e.printStackTrace(); return null; diff --git a/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java b/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java index 7324381622..577e281c20 100644 --- a/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java +++ b/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java @@ -516,7 +516,7 @@ public class PDFViewerBean extends JPanel { } try { - tmpFile = File.createTempFile("compiere", ".pdf"); + tmpFile = File.createTempFile("adempiere", ".pdf"); tmpFile.deleteOnExit(); } catch (IOException e) { e.printStackTrace(); diff --git a/base/src/org/compiere/db/DB_PostgreSQL.java b/base/src/org/compiere/db/DB_PostgreSQL.java index 47787bed71..19fdd5a0fd 100755 --- a/base/src/org/compiere/db/DB_PostgreSQL.java +++ b/base/src/org/compiere/db/DB_PostgreSQL.java @@ -1,16 +1,20 @@ /****************************************************************************** - * The contents of this file are subject to the Compiere License Version 1.1 - * ("License"); You may not use this file except in compliance with the License - * You may obtain a copy of the License at http://www.compiere.org/license.html - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial - * Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke - * are Copyright (C) 1999-2005 Jorg Janke. - * All parts are Copyright (C) 1999-2005 ComPiere, Inc. All Rights Reserved. + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * 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 - * Contributor(s): Victor Perez + * Contributor(s): Victor Perez * *****************************************************************************/ package org.compiere.db; @@ -409,22 +413,22 @@ public class DB_PostgreSQL implements AdempiereDatabase if (CMD_CREATE_USER == cmdType) return new String[] { - "CREATE USER compiere;", + "CREATE USER adempiere;", }; // if (CMD_CREATE_DATABASE == cmdType) return new String[] { - "CREATE DATABASE compiere OWNER compiere;", - "GRANT ALL PRIVILEGES ON compiere TO compiere;" , - "CREATE SCHEMA compiere;", - "SET search_path TO compiere;" + "CREATE DATABASE adempiere OWNER adempiere;", + "GRANT ALL PRIVILEGES ON adempiere TO adempiere;" , + "CREATE SCHEMA adempiere;", + "SET search_path TO adempiere;" }; // if (CMD_DROP_DATABASE == cmdType) return new String[] { - "DROP DATABASE compiere;" + "DROP DATABASE adempiere;" }; // return null;