harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r446489 - in /incubator/harmony/enhanced/classlib/trunk/modules: jndi/ jndi/.settings/ jndi/META-INF/ jndi/make/ lang-management/.settings/ lang-management/META-INF/ logging/ logging/.settings/ logging/make/ logging/src/test/java-internal/j...
Date Fri, 15 Sep 2006 03:02:17 GMT
Author: ndbeyer
Date: Thu Sep 14 20:02:15 2006
New Revision: 446489

URL: http://svn.apache.org/viewvc?view=rev&rev=446489
Log:
Set eol-style = native for jndi, lang-management and logging modules.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/build.xml   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/make/patternset.txt   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java   (contents, props changed)

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs Thu Sep 14 20:02:15 2006
@@ -1,12 +1,12 @@
-#Sun Aug 27 12:58:48 CDT 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Sun Aug 27 12:58:48 CDT 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs Thu Sep 14 20:02:15 2006
@@ -1,3 +1,3 @@
-#Sun Aug 27 12:58:47 CDT 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
+#Sun Aug 27 12:58:47 CDT 2006
+eclipse.preferences.version=1
+internal.default.compliance=default

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs Thu Sep 14 20:02:15 2006
@@ -1,4 +1,4 @@
-#Wed Apr 05 18:21:53 BST 2006
-eclipse.preferences.version=1
-pluginProject.equinox=false
-pluginProject.extensions=false
+#Wed Apr 05 18:21:53 BST 2006
+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/.settings/org.eclipse.pde.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF Thu Sep 14 20:02:15 2006
@@ -1,31 +1,31 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Harmony JNDI
-Bundle-SymbolicName: org.apache.harmony.jndi
-Bundle-Version: 1.0.0
-Bundle-ClassPath: .
-Eclipse-JREBundle: true
-Import-Package: java.applet,
- java.awt;resolution:=optional,
- java.beans;resolution:=optional,
- java.io,
- java.lang,
- java.lang.reflect,
- java.net,
- java.nio.charset;resolution:=optional,
- java.rmi,
- java.rmi.activation,
- java.rmi.registry,
- java.rmi.server,
- java.security,
- java.text;resolution:=optional,
- java.util,
- org.apache.harmony.kernel.vm,
- javax.accessibility;resolution:=optional
-Export-Package: javax.naming,
- javax.naming.directory,
- javax.naming.event,
- javax.naming.ldap,
- javax.naming.spi
-
-
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony JNDI
+Bundle-SymbolicName: org.apache.harmony.jndi
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Eclipse-JREBundle: true
+Import-Package: java.applet,
+ java.awt;resolution:=optional,
+ java.beans;resolution:=optional,
+ java.io,
+ java.lang,
+ java.lang.reflect,
+ java.net,
+ java.nio.charset;resolution:=optional,
+ java.rmi,
+ java.rmi.activation,
+ java.rmi.registry,
+ java.rmi.server,
+ java.security,
+ java.text;resolution:=optional,
+ java.util,
+ org.apache.harmony.kernel.vm,
+ javax.accessibility;resolution:=optional
+Export-Package: javax.naming,
+ javax.naming.directory,
+ javax.naming.event,
+ javax.naming.ldap,
+ javax.naming.spi
+
+

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt Thu Sep 14 20:02:15 2006
@@ -1,21 +1,21 @@
-# Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-# 
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# 
-#     http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-javax/naming/*
-javax/naming/directory/*
-javax/naming/event/*
-javax/naming/ldap/*
-javax/naming/spi/*
-
-org/apache/harmony/jndi/**
+# Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+javax/naming/*
+javax/naming/directory/*
+javax/naming/event/*
+javax/naming/ldap/*
+javax/naming/spi/*
+
+org/apache/harmony/jndi/**

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs Thu Sep 14 20:02:15 2006
@@ -1,12 +1,12 @@
-#Sat Aug 19 00:12:25 CDT 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Sat Aug 19 00:12:25 CDT 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs Thu Sep 14 20:02:15 2006
@@ -1,3 +1,3 @@
-#Sat Aug 19 00:12:24 CDT 2006
-eclipse.preferences.version=1
-internal.default.compliance=default
+#Sat Aug 19 00:12:24 CDT 2006
+eclipse.preferences.version=1
+internal.default.compliance=default

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF Thu Sep 14 20:02:15 2006
@@ -1,17 +1,17 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Harmony Lang-Management
-Bundle-SymbolicName: org.apache.harmony.langmanagement
-Bundle-Version: 1.0.0
-Bundle-ClassPath: .
-Eclipse-JREBundle: true
-Import-Package: java.io,
- java.lang,
- java.lang.reflect,
- java.security,
- java.util,
- javax.management,
- javax.management.modelmbean,
- javax.management.openmbean
-Export-Package: java.lang.management,
- org.apache.harmony.langmanagement.tests.java.lang.management
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony Lang-Management
+Bundle-SymbolicName: org.apache.harmony.langmanagement
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Eclipse-JREBundle: true
+Import-Package: java.io,
+ java.lang,
+ java.lang.reflect,
+ java.security,
+ java.util,
+ javax.management,
+ javax.management.modelmbean,
+ javax.management.openmbean
+Export-Package: java.lang.management,
+ org.apache.harmony.langmanagement.tests.java.lang.management

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/lang-management/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs Thu Sep 14 20:02:15 2006
@@ -1,12 +1,12 @@
-#Wed May 03 13:10:22 BST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Wed May 03 13:10:22 BST 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs Thu Sep 14 20:02:15 2006
@@ -1,3 +1,3 @@
-#Wed May 03 13:10:00 BST 2006
-eclipse.preferences.version=1
-internal.default.compliance=user
+#Wed May 03 13:10:00 BST 2006
+eclipse.preferences.version=1
+internal.default.compliance=user

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs Thu Sep 14 20:02:15 2006
@@ -1,4 +1,4 @@
-#Wed Apr 05 18:25:32 BST 2006
-eclipse.preferences.version=1
-pluginProject.equinox=false
-pluginProject.extensions=false
+#Wed Apr 05 18:25:32 BST 2006
+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/.settings/org.eclipse.pde.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml Thu Sep 14 20:02:15 2006
@@ -1,212 +1,212 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Copyright 2006 The Apache Software Foundation or its
-    licensors, as applicable.
-  
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-  
-       http://www.apache.org/licenses/LICENSE-2.0
-  
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-
-<project name="LOGGING Build" default="build" basedir=".">
-    <description>Build for LOGGING component</description>
-
-    <!-- import common properties -->
-    <import file="${basedir}/../../make/properties.xml" />
-
-    <!-- set global properties for this build. -->
-    <xmlproperty file="make/hyproperties.xml" semanticAttributes="true" />
-
-    <fileset id="classes" dir="${hy.build}">
-        <includesfile name="${hy.logging}/make/patternset.txt" />
-        <excludesfile name="${hy.hdk}/build/patternsets/luni-kernel.txt" />
-        <excludesfile name="${hy.hdk}/build/patternsets/security-kernel.txt" />
-    </fileset>
-
-    <target name="build" depends="compile.java, copy.jar.resources, build.jar, copy.resources" />
-
-    <target name="test" depends="build, compile.tests, run.tests" />
-
-    <target name="clean">
-        <delete failonerror="false">
-            <fileset refid="classes" />
-            <fileset dir="${hy.logging.bin.test}" />
-        </delete>
-    </target>
-
-    <target name="compile.java">
-        <echo message="Compiling LOGGING classes" />
-
-        <mkdir dir="${hy.build}" />
-
-        <javac sourcepath=""
-               srcdir="${hy.logging.src.main.java}"
-               destdir="${hy.build}"
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
-               source="${hy.javac.source}" 
-               target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
-
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-            </bootclasspath>
-        </javac>
-    </target>
-
-    <target name="build.jar" depends="svn-info">
-        <jar destfile="${hy.jdk}/jre/lib/boot/logging.jar"
-             manifest="${hy.logging}/META-INF/MANIFEST.MF">
-            <fileset refid="classes" />
-            <manifest>
-                <attribute name="Implementation-Version" value="${svn.info}"/> 
-            </manifest>
-        </jar>
-    </target>
-
-    <target name="compile.tests" depends="copy.test.resources" >
-        <echo message="Compiling LOGGING tests" />
-
-        <mkdir dir="${hy.logging.bin.internal}" />
-        <mkdir dir="${hy.logging.bin.test}" />
-
-        <javac srcdir="${hy.logging.src.test.internal}"
-               destdir="${hy.logging.bin.internal}"
-               sourcepath=""
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
-               source="${hy.javac.source}" 
-               target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
-
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-            </bootclasspath>
-            <classpath location="${hy.hdk}/build/test/support.jar" />
-            <classpath location="../../build/tests" />
-        </javac>
-        <javac srcdir="${hy.logging.src.test.java}"
-               destdir="${hy.logging.bin.test}"
-               sourcepath=""
-               compiler="${hy.javac.compiler}"
-               memoryMaximumSize="${hy.javac.maxmem}"
-               source="${hy.javac.source}" 
-               target="${hy.javac.target}"
-               debug="${hy.javac.debug}">
-
-            <bootclasspath>
-                <fileset dir="${hy.jdk}/jre/lib/boot">
-                    <include name="**/*.jar" />
-                </fileset>
-                <pathelement path="${hy.logging.bin.internal}"/>
-            </bootclasspath>
-            <classpath location="${hy.hdk}/build/test/support.jar" />
-            <classpath location="../../build/tests" />
-        </javac>
-    </target>
-
-    <target name="run.tests">
-
-        <mkdir dir="${hy.tests.reports}" />
-
-        <property name="test.jre.home" value="${hy.jdk}/jre" />
-
-        <junit fork="yes"
-               forkmode="once"
-               printsummary="withOutAndErr"
-               errorproperty="test.errors"
-               failureproperty="test.failures"
-               showoutput="on"
-               dir="${basedir}"
-               jvm="${test.jre.home}/bin/java">
-
-        	<!-- Required by various tests that set security manager etc -->
-            <jvmarg value="-Djava.security.policy=../../support/src/test/resources/config/testing.policy" />
-
-            <env key="JAVA_HOME" value="${test.jre.home}"/>
-
-            <jvmarg value="-Xbootclasspath/a:${hy.logging.bin.internal}"/>
-
-            <classpath>
-                <pathelement path="${hy.logging.bin.test}"/>
-            </classpath>
-            <classpath location="${hy.hdk}/build/test/support.jar" />
-            <classpath location="../../build/tests" />
-
-            <formatter type="xml" />
-
-            <test name="${test.case}" todir="${hy.tests.reports}"
-                 if="test.case" />
-
-            <!-- run LogManagerTest in separated VM -->
-            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
-                unless="test.case">
-
-                <fileset dir="${hy.logging.src.test.java}">
-                    <include name="org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java"/>
-                </fileset>
-            </batchtest>
-
-            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
-                unless="test.case">
-
-                <fileset dir="${hy.logging.src.test.java}">
-                    <include name="org/apache/harmony/logging/tests/java/util/logging/*Test.java"/>
-                    <exclude name="org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java" />
-                </fileset>
-            </batchtest>
-        </junit>
-        <antcall target="touch-failures-file" />
-        <antcall target="touch-errors-file" />
-    </target>
-
-    <target name="touch-failures-file" if="test.failures">
-        <echo file="${hy.tests.reports}/test.failures"
-            append="true">logging${line.separator}</echo>
-    </target>
-
-    <target name="touch-errors-file" if="test.errors">
-        <echo file="${hy.tests.reports}/test.errors"
-            append="true">logging${line.separator}</echo>
-    </target>
-
-    <target name="copy.jar.resources">
-        <mkdir dir="${hy.build}" />
-        <copy todir="${hy.build}" includeemptydirs="false">
-            <fileset dir="${hy.logging.src.main.java}">
-                <exclude name="**/*.java" />
-                <exclude name="**/logging.properties" />
-            </fileset>
-        </copy>
-    </target>
-
-    <target name="copy.resources">
-        <copy todir="${hy.jdk}/jre/lib" overwrite="yes" flatten="yes">
-            <fileset dir="${hy.logging.src.main.java}">
-                <include name="**/logging.properties" />
-            </fileset>
-        </copy>
-    </target>
-
-    <target name="copy.test.resources">
-        <mkdir dir="${hy.logging.bin.test}" />
-        <copy todir="${hy.logging.bin.test}" includeemptydirs="false">
-            <fileset dir="${hy.logging.src.test.resources}">
-                <exclude name="**/*.java" />
-            </fileset>
-        </copy>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its
+    licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project name="LOGGING Build" default="build" basedir=".">
+    <description>Build for LOGGING component</description>
+
+    <!-- import common properties -->
+    <import file="${basedir}/../../make/properties.xml" />
+
+    <!-- set global properties for this build. -->
+    <xmlproperty file="make/hyproperties.xml" semanticAttributes="true" />
+
+    <fileset id="classes" dir="${hy.build}">
+        <includesfile name="${hy.logging}/make/patternset.txt" />
+        <excludesfile name="${hy.hdk}/build/patternsets/luni-kernel.txt" />
+        <excludesfile name="${hy.hdk}/build/patternsets/security-kernel.txt" />
+    </fileset>
+
+    <target name="build" depends="compile.java, copy.jar.resources, build.jar, copy.resources" />
+
+    <target name="test" depends="build, compile.tests, run.tests" />
+
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset refid="classes" />
+            <fileset dir="${hy.logging.bin.test}" />
+        </delete>
+    </target>
+
+    <target name="compile.java">
+        <echo message="Compiling LOGGING classes" />
+
+        <mkdir dir="${hy.build}" />
+
+        <javac sourcepath=""
+               srcdir="${hy.logging.src.main.java}"
+               destdir="${hy.build}"
+               compiler="${hy.javac.compiler}"
+               memoryMaximumSize="${hy.javac.maxmem}"
+               source="${hy.javac.source}" 
+               target="${hy.javac.target}"
+               debug="${hy.javac.debug}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+        </javac>
+    </target>
+
+    <target name="build.jar" depends="svn-info">
+        <jar destfile="${hy.jdk}/jre/lib/boot/logging.jar"
+             manifest="${hy.logging}/META-INF/MANIFEST.MF">
+            <fileset refid="classes" />
+            <manifest>
+                <attribute name="Implementation-Version" value="${svn.info}"/> 
+            </manifest>
+        </jar>
+    </target>
+
+    <target name="compile.tests" depends="copy.test.resources" >
+        <echo message="Compiling LOGGING tests" />
+
+        <mkdir dir="${hy.logging.bin.internal}" />
+        <mkdir dir="${hy.logging.bin.test}" />
+
+        <javac srcdir="${hy.logging.src.test.internal}"
+               destdir="${hy.logging.bin.internal}"
+               sourcepath=""
+               compiler="${hy.javac.compiler}"
+               memoryMaximumSize="${hy.javac.maxmem}"
+               source="${hy.javac.source}" 
+               target="${hy.javac.target}"
+               debug="${hy.javac.debug}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+            <classpath location="${hy.hdk}/build/test/support.jar" />
+            <classpath location="../../build/tests" />
+        </javac>
+        <javac srcdir="${hy.logging.src.test.java}"
+               destdir="${hy.logging.bin.test}"
+               sourcepath=""
+               compiler="${hy.javac.compiler}"
+               memoryMaximumSize="${hy.javac.maxmem}"
+               source="${hy.javac.source}" 
+               target="${hy.javac.target}"
+               debug="${hy.javac.debug}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+                <pathelement path="${hy.logging.bin.internal}"/>
+            </bootclasspath>
+            <classpath location="${hy.hdk}/build/test/support.jar" />
+            <classpath location="../../build/tests" />
+        </javac>
+    </target>
+
+    <target name="run.tests">
+
+        <mkdir dir="${hy.tests.reports}" />
+
+        <property name="test.jre.home" value="${hy.jdk}/jre" />
+
+        <junit fork="yes"
+               forkmode="once"
+               printsummary="withOutAndErr"
+               errorproperty="test.errors"
+               failureproperty="test.failures"
+               showoutput="on"
+               dir="${basedir}"
+               jvm="${test.jre.home}/bin/java">
+
+        	<!-- Required by various tests that set security manager etc -->
+            <jvmarg value="-Djava.security.policy=../../support/src/test/resources/config/testing.policy" />
+
+            <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+            <jvmarg value="-Xbootclasspath/a:${hy.logging.bin.internal}"/>
+
+            <classpath>
+                <pathelement path="${hy.logging.bin.test}"/>
+            </classpath>
+            <classpath location="${hy.hdk}/build/test/support.jar" />
+            <classpath location="../../build/tests" />
+
+            <formatter type="xml" />
+
+            <test name="${test.case}" todir="${hy.tests.reports}"
+                 if="test.case" />
+
+            <!-- run LogManagerTest in separated VM -->
+            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
+                unless="test.case">
+
+                <fileset dir="${hy.logging.src.test.java}">
+                    <include name="org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java"/>
+                </fileset>
+            </batchtest>
+
+            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
+                unless="test.case">
+
+                <fileset dir="${hy.logging.src.test.java}">
+                    <include name="org/apache/harmony/logging/tests/java/util/logging/*Test.java"/>
+                    <exclude name="org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java" />
+                </fileset>
+            </batchtest>
+        </junit>
+        <antcall target="touch-failures-file" />
+        <antcall target="touch-errors-file" />
+    </target>
+
+    <target name="touch-failures-file" if="test.failures">
+        <echo file="${hy.tests.reports}/test.failures"
+            append="true">logging${line.separator}</echo>
+    </target>
+
+    <target name="touch-errors-file" if="test.errors">
+        <echo file="${hy.tests.reports}/test.errors"
+            append="true">logging${line.separator}</echo>
+    </target>
+
+    <target name="copy.jar.resources">
+        <mkdir dir="${hy.build}" />
+        <copy todir="${hy.build}" includeemptydirs="false">
+            <fileset dir="${hy.logging.src.main.java}">
+                <exclude name="**/*.java" />
+                <exclude name="**/logging.properties" />
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="copy.resources">
+        <copy todir="${hy.jdk}/jre/lib" overwrite="yes" flatten="yes">
+            <fileset dir="${hy.logging.src.main.java}">
+                <include name="**/logging.properties" />
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="copy.test.resources">
+        <mkdir dir="${hy.logging.bin.test}" />
+        <copy todir="${hy.logging.bin.test}" includeemptydirs="false">
+            <fileset dir="${hy.logging.src.test.resources}">
+                <exclude name="**/*.java" />
+            </fileset>
+        </copy>
+    </target>
+
+</project>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml Thu Sep 14 20:02:15 2006
@@ -1,48 +1,48 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
-  
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-  
-       http://www.apache.org/licenses/LICENSE-2.0
-  
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-
-<hy>
-   <logging location=".">
-      <src>
-         <main>
-            <java location="src/main/java" />
-        	<resources location="src/main/resources" />
-         </main>
-         <test>
-            <java location="src/test/java" />
-            <resources location="src/test/resources" />
-            <internal location="src/test/java-internal" />
-         </test>
-         <natives location="src/natives" />
-      </src>
-      <bin>
-        <main location="bin/main" />
-        <test location="bin/test" />
-        <internal location="bin/test-internal" />
-      </bin>
-      <packaging>
-      </packaging>
-   </logging>
-
-   <hdk location="../../deploy" />
-   <jdk location="../../deploy/jdk" />
-   <build location="../../build/classes" />
-
-   <tests>
-      <reports location="../../build/test_report" />
-   </tests>
-</hy>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<hy>
+   <logging location=".">
+      <src>
+         <main>
+            <java location="src/main/java" />
+        	<resources location="src/main/resources" />
+         </main>
+         <test>
+            <java location="src/test/java" />
+            <resources location="src/test/resources" />
+            <internal location="src/test/java-internal" />
+         </test>
+         <natives location="src/natives" />
+      </src>
+      <bin>
+        <main location="bin/main" />
+        <test location="bin/test" />
+        <internal location="bin/test-internal" />
+      </bin>
+      <packaging>
+      </packaging>
+   </logging>
+
+   <hdk location="../../deploy" />
+   <jdk location="../../deploy/jdk" />
+   <build location="../../build/classes" />
+
+   <tests>
+      <reports location="../../build/test_report" />
+   </tests>
+</hy>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/make/hyproperties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java Thu Sep 14 20:02:15 2006
@@ -1,29 +1,29 @@
-/* Copyright 2004 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package java.util.logging;
-
-import java.util.ResourceBundle;
-
-/**
- * Example of a type injected into logging to access package private members.
- */
-public class LoggerExtension {
-
-	public static ResourceBundle loadResourceBundle(String resourceBundleName) {
-		return Logger.loadResourceBundle(resourceBundleName);
-	}
-
-}
+/* Copyright 2004 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package java.util.logging;
+
+import java.util.ResourceBundle;
+
+/**
+ * Example of a type injected into logging to access package private members.
+ */
+public class LoggerExtension {
+
+	public static ResourceBundle loadResourceBundle(String resourceBundleName) {
+		return Logger.loadResourceBundle(resourceBundleName);
+	}
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java-internal/java/util/logging/LoggerExtension.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java?view=diff&rev=446489&r1=446488&r2=446489
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java Thu Sep 14 20:02:15 2006
@@ -1,51 +1,51 @@
-/* Copyright 2004 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.logging.tests.java.util.logging.util;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-import java.util.Properties;
-
-/**
- * Helper to prepare testing environment, for example, configuration files.
- */
-public class EnvironmentHelper {
-
-	/**
-	 * Can't be instantiated.
-	 */
-	private EnvironmentHelper() {
-	}
-
-	public static InputStream PropertiesToInputStream(Properties p) {
-		ByteArrayOutputStream bos = null;
-		try {
-			bos = new ByteArrayOutputStream();
-			p.store(bos, "");
-			return new ByteArrayInputStream(bos.toByteArray());
-		} catch (Exception e) {
-			e.printStackTrace();
-			return null;
-		} finally {
-			try {
-				bos.close();
-			} catch (Exception ex) {
-			}
-		}
-	}
-
-}
+/* Copyright 2004 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.logging.tests.java.util.logging.util;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.InputStream;
+import java.util.Properties;
+
+/**
+ * Helper to prepare testing environment, for example, configuration files.
+ */
+public class EnvironmentHelper {
+
+	/**
+	 * Can't be instantiated.
+	 */
+	private EnvironmentHelper() {
+	}
+
+	public static InputStream PropertiesToInputStream(Properties p) {
+		ByteArrayOutputStream bos = null;
+		try {
+			bos = new ByteArrayOutputStream();
+			p.store(bos, "");
+			return new ByteArrayInputStream(bos.toByteArray());
+		} catch (Exception e) {
+			e.printStackTrace();
+			return null;
+		} finally {
+			try {
+				bos.close();
+			} catch (Exception ex) {
+			}
+		}
+	}
+
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/EnvironmentHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message