[jboss-svn-commits] JBL Code SVN: r26270 - in labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA: ArjunaCore/arjuna and 11 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Apr 26 14:11:41 EDT 2009
Author: ben.cotton at yahoo.com
Date: 2009-04-26 14:11:40 -0400 (Sun, 26 Apr 2009)
New Revision: 26270
Removed:
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/var/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/orbportability/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/debugextension/Readme.txt
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/i18n/Readme.txt
Modified:
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/tests/classes/com/hp/mwtests/ts/txoj/atomicobject/AtomicObjectTest1.java
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/drivers/modifiers/oracle_9_0.java
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/context/ContextManager.java
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/lifecycle/ShutdownOTS.java
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jta/localbank/Account.java
labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jts/explicitremotebank/BankClient.java
Log:
Take a snapshot of current Eclipse workspace. Confirmed builds of JBossAS_5_1_0_Beta1/JBossTS_4_6_1_GA/BA_Framework_0_2_1_GA, via both JDK6/JDK5, in all of the following: Cygwin Shell, MKS Korn Shell (Windows), and RedHat Fedora Linux bash. Make note to self to also commit the jdk-5-aop-deployer dir right now.
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,4 +0,0 @@
-If you are going to use the ExecProcessId implementation to obtain a pid, rather than one of the other implementations,
-then you need to download getpids.exe if you are also running on Windows.
-
-Download from http://www.scheibli.com/projects/getpids/ and place it within your classpath.
\ No newline at end of file
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,98 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a
-full listing of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-(C) 2005-2006,
- at author JBoss Inc.
--> Configuration properties
-
-The Ant properties that can be set (and their defaults and possible values)
-are :
-
- Property Values
-
- com.hp.mw.ts.properties product.properties **
- (property file to load properties (any filename)
- from)
-
- com.hp.mw.ts.date YYYY/MM/DD hh:mm **
- (date of build) (any string)
-
- com.hp.mw.ts.installationdirectory install **
- (installation directory) (any directory) [1]
-
- com.hp.mw.ts.sourceid unknown **
- (source identifier) (any string)
-
- com.hp.mw.ts.version unknown **
- (product version) (any string)
-
- com.hp.mw.ts.builder Hewlett Packard [user] (OS) **
- (product builder) (any string)
-
- com.hp.mw.ts.notes <empty> **
- (any notes) (any string)
-
- com.hp.mw.ts.arjuna.objectstore.cloudscape36.compile
- (add Cloudscape 3.6 support) no **
- yes
-
- com.hp.mw.ts.arjuna.objectstore.sequelink51.compile
- (add Sequelink 5.1 support) yes **
- no
-
- com.hp.mw.ts.arjuna.objectstore.oracle81.compile
- (add Oracle 8.1 support) no **
- yes
-
- com.hp.mw.ts.arjuna.objectstore.oracle81.compile
- (add Oracle 9.0 support) no **
- yes
-
- com.hp.mw.ts.arjuna.tests.compile no **
- (compile tests) yes
-
- com.hp.mw.ts.arjuna.tests.install no **
- (install tests) yes
-
- com.hp.mw.ts.arjuna.utilities.compile yes **
- (compile utilities) no
-
- com.hp.mw.ts.arjuna.utilities.install yes **
- (install utilities) no
-
-
--> Build targets
-
-The arjuna 'build.xml' file contains the targets :
-
- Long name Short name
-
- com.hp.mw.ts.arjuna.compile compile
- (compile java classes)
-
- com.hp.mw.ts.arjuna.jar jar **
- (generate module jar file)
-
- com.hp.mw.ts.arjuna.install install
- (install module)
-
- com.hp.mw.ts.arjuna.clean clean
- (clean generated files)
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- $Id: Readme.txt 2342 2006-03-30 13:06:17Z $
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/var/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/var/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/arjuna/var/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,31 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a
-full listing of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-(C) 2005-2006,
- at author JBoss Inc.
-Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
-
-HP Arjuna Labs,
-Newcastle upon Tyne,
-Tyne and Wear,
-UK
-
-$Id: Readme.txt 2342 2006-03-30 13:06:17Z $
-
-This directory may be used by the services to read/write temporary
-files. Do not clear it out while any service may be running. The
-directory *must* be read/write.
-
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,82 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a
-full listing of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-(C) 2005-2006,
- at author JBoss Inc.
--> Configuration properties
-
-The Ant properties that can be set (and their defaults and possible values)
-are :
-
- Property Values
-
- com.hp.mw.ts.properties product.properties **
- (property file to load properties (any filename)
- from)
-
- com.hp.mw.ts.date YYYY/MM/DD hh:mm **
- (date of build) (any string)
-
- com.hp.mw.ts.installationdirectory install **
- (installation directory) (any directory) [1]
-
- com.hp.mw.ts.sourceid unknown **
- (source identifier) (any string)
-
- com.hp.mw.ts.version unknown **
- (product version) (any string)
-
- com.hp.mw.ts.builder Hewlett Packard [user] (OS) **
- (product builder) (any string)
-
- com.hp.mw.ts.notes <empty> **
- (any notes) (any string)
-
- com.hp.mw.ts.txoj.tests.compile no **
- (compile tests) yes
-
- com.hp.mw.ts.txoj.tests.install no **
- (install tests) yes
-
- com.hp.mw.ts.txoj.utilities.compile yes **
- (compile utilities) no
-
- com.hp.mw.ts.txoj.utilities.install yes **
- (install utilities) no
-
-
--> Build targets
-
-The txoj 'build.xml' file contains the targets :
-
- Long name Short name
-
- com.hp.mw.ts.txoj.compile compile
- (compile java classes)
-
- com.hp.mw.ts.txoj.jar jar **
- (generate module jar file)
-
- com.hp.mw.ts.txoj.install install
- (install module)
-
- com.hp.mw.ts.txoj.clean clean
- (clean generated files)
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- $Id: Readme.txt 2342 2006-03-30 13:06:17Z $
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/tests/classes/com/hp/mwtests/ts/txoj/atomicobject/AtomicObjectTest1.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/tests/classes/com/hp/mwtests/ts/txoj/atomicobject/AtomicObjectTest1.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaCore/txoj/tests/classes/com/hp/mwtests/ts/txoj/atomicobject/AtomicObjectTest1.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -39,7 +39,7 @@
import java.util.Random;
import java.lang.Math;
-import com.hp.mwtests.ts.txoj.common.exceptions.TestException;
+import com.hp.mwtests.ts.txoj.common.exceptions.TestException;
import com.hp.mwtests.ts.txoj.common.resources.AtomicObject;
import org.jboss.dtf.testframework.unittest.Test;
import org.jboss.dtf.testframework.unittest.LocalHarness;
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/drivers/modifiers/oracle_9_0.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/drivers/modifiers/oracle_9_0.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/drivers/modifiers/oracle_9_0.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -133,7 +133,7 @@
switch (_isolationLevel)
{
case Connection.TRANSACTION_SERIALIZABLE:
- extraFlag = oracle.jdbc.xa.XAResource.ORATMSERIALIZABLE;
+ extraFlag = oracle.jdbc.xa.OracleXAResource.ORATMSERIALIZABLE;
break;
case Connection.TRANSACTION_READ_COMMITTED: // default so do nothing
break;
@@ -148,6 +148,6 @@
private boolean _reuseConnection = true;
- private static int _isolationLevel = oracle.jdbc.xa.XAResource.ORATMSERIALIZABLE;
+ private static int _isolationLevel = oracle.jdbc.xa.OracleXAResource.ORATMSERIALIZABLE;
}
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/context/ContextManager.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/context/ContextManager.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/context/ContextManager.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -448,7 +448,7 @@
* All OTSArjuna controls have a method for getting their parent.
*/
- public final boolean addActionControlHierarchy (ActionControl cont)
+ public final boolean addActionControlHierarchy (ActionControl cont)
{
if (jtsLogger.logger.isDebugEnabled())
{
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/lifecycle/ShutdownOTS.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/lifecycle/ShutdownOTS.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/lifecycle/ShutdownOTS.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -49,7 +49,7 @@
import org.omg.CosTransactions.*;
-import com.arjuna.ArjunaOTS.*;
+//import com.arjuna.ArjunaOTS.*;
import java.io.PrintStream;
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/orbportability/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/orbportability/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/orbportability/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,96 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a full listing
-of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-
-(C) 2005-2006,
- at author JBoss Inc.
--> Configuration script options
-
- -d
- Use the default answers for aquestions. Using this will override
- environment variables (-e option).
-
- -e
- Use environment variables for answers for all questions. The
- variable names are documented below. If the environment variable
- is not set, the default answer will be used.
-
- -r
- Create a release build. This replaces constants with expressions
- evaluated at run time and based on the value of $JTSARJUNA_HOME. IF
- this is specified at the top level, all modules for a product will be
- configured. built and installed.
-
- -u
- Unconfigure the module. Removes the files created by the configuration
- process.
-
- <cf file>
- Configuration file to use for answers. Using a configuration file will
- override default answers and environment variables (-d and -e options).
-
-
--> Questions and environment variables
-
-The questions and environment variables used for the orbportability module are :
-
- Root of directory of $INSTALLTOPDIR
- orbportability installation
-
- Root of directory of $BUILDSYSTEMTOPDIR [1]
- BuildSystem
-
- Orb number [1] $ORB_NUMBER [2]
-
- Support bind [n] $SUPPORT_BIND [3]
-
- Specific idl->Java generation $IDLFLAGS_DEFAULT [4]
- flags [ ]
-
- Specific interface repository $IRFLAGS_DEFAULT [4]
- flags [ ]
-
- Default service resolution $DEFAULT_BIND_MECHANISM [4]
- mechanism
-
- Location of properties file $PROPERTIES
-
- Versioon of properties file $ORBPORTABILITY_PROPERTIES_VERSION [5]
-
- Install test programs [n] $INSTALL_TESTS
-
- Build utility programs [y] $BUILD_UTILITIES
-
- Install utility programs [y] $INSTALL_UTILITIES
-
- What is the source identifier $SOURCEID
- [unknown]
-
- What is your name $BUILDINFO [6]
-
- Any other information [none] $NOTES
-
-[1] This is automatically set for release builds
-[2] That really is a default of "1" - Orbix 2000
-[3] This is only required for Visibroker 4
-[4] The default is ORB-specific
-[5] The default is derived from the product version number
-[6] The default is set from the output of `whoami`
-
--> Additional information
-
- The environment variable $ORB_ROOT must be set to the installation
- root directory of the ORB being used.
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jta/localbank/Account.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jta/localbank/Account.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jta/localbank/Account.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -31,6 +31,8 @@
import javax.transaction.SystemException;
import javax.transaction.Transaction;
+import org.omg.CosTransactions.Control;
+
/**
* The account object reflects a non-persistent transaction-aware representation of a bank account. As a bank account,
* it has a balance associated with it. As a transaction-aware entity it has a trailmap defined XA resource associated
@@ -121,4 +123,19 @@
// currentTrans.delistResource( accountResource, XAResource.TMSUCCESS );
return accountResource;
}
+
+ public void credit(Control get_control, float fbalance) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public String balance(Control get_control) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void debit(Control get_control, float famount) {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jts/explicitremotebank/BankClient.java
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jts/explicitremotebank/BankClient.java 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/ArjunaJTS/trailmap/src/com/arjuna/demo/jts/explicitremotebank/BankClient.java 2009-04-26 18:11:40 UTC (rev 26270)
@@ -33,6 +33,11 @@
import com.arjuna.orbportability.RootOA;
import org.omg.CosTransactions.Current;
+import com.arjuna.demo.jta.localbank.*;
+//import com.arjuna.demo.jta.jdbcbank.Bank;
+//import com.arjuna.demo.jta.jdbcbank.Bank;
+
+
import java.io.IOException;
/**
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/debugextension/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/debugextension/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/debugextension/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,35 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a
-full listing of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-(C) 2005-2006,
- at author JBoss Inc.
-1. Description
- The DebugExt class allows to test how finer debugging re provided for the Common Logging
- Framework and how finer debuggin value are provided or assigned to determine if the logging is
- enabled or not.
-
-
-2. How to test
-
- prompt> java [option] DebugExt
-
- where [option] is optional and concerns any property defined in the CommonLogging.properties,
- and passed with the java flag -D. For instance:
- -DLogFac=<log_name> : where <log_name> is CSFLOG or LOG4J (default is CFSLOG)
- -Doutput=<output_name> : where <output_name> is console or file (default is console)
- ...
-
- See the CommonLogging.properties for more details and additional properties
Deleted: labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/i18n/Readme.txt
===================================================================
--- labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/i18n/Readme.txt 2009-04-26 12:32:59 UTC (rev 26269)
+++ labs/jbosstm/workspace/bencotton/JBOSSTS_4_6_1_GA/common/tests/com/hp/mwtests/commonlogging/i18n/Readme.txt 2009-04-26 18:11:40 UTC (rev 26270)
@@ -1,47 +0,0 @@
-JBoss, Home of Professional Open Source
-Copyright 2006, Red Hat Middleware LLC, and individual contributors
-as indicated by the @author tags.
-See the copyright.txt in the distribution for a
-full listing of individual contributors.
-This copyrighted material is made available to anyone wishing to use,
-modify, copy, or redistribute it subject to the terms and conditions
-of the GNU Lesser General Public License, v. 2.1.
-This program is distributed in the hope that it will be useful, but WITHOUT A
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-You should have received a copy of the GNU Lesser General Public License,
-v.2.1 along with this distribution; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-
-(C) 2005-2006,
- at author JBoss Inc.
-1. Description
- The logi18n class allows to test the way the Common Logging Framework is able to manage national messages.
- In the example simple messages can be displayed either in French or in English. For this aim a programmer
- uses keys to specify the message needed to be displayed while properties file contain the corresponding
- text appropriate to the French or the English according to the programmer choice.
-
-
-2. Properties file for i18n
- In this example properties files are prefixed with "logging_msg_", which indicates to the logging framework
- to seek a file beginning with this prefix. To determine the complete name file, the logging framewotk uses
- the properties 'language' and 'country'; In the program these properties are set to "english" and "U"S.
- Provided file are:
- - logging_msg_fr_FR.properties
- - logging_msg_en_US.properties
-
- Additional files appropriate to other languages can be defined in a similar way.
-
-
-3. How to test
-
- prompt> java [option] logi18n
-
- where [option] is optional and concerns any property defined in the CommonLogging.properties,
- and passed with the java flag -D. For instance:
- -DLogFac=<log_name> : where <log_name> is CSFLOG or LOG4J (default is CFSLOG)
- -Doutput=<output_name> : where <output_name> is console or file (default is console)
- ...
-
- See the CommonLogging.properties for more details and additional properties
More information about the jboss-svn-commits
mailing list