cvs commit: jakarta-commons/lang project.xml

2004-11-11 Thread scolebourne
scolebourne2004/11/11 16:48:41

  Modified:lang/src/java/org/apache/commons/lang SystemUtils.java
   lang/src/test/org/apache/commons/lang SystemUtilsTest.java
   lang project.xml
  Log:
  Handle Java version with text prefix, as found on HP-UX

  bug 32123, from Jason Gritman
  
  Revision  ChangesPath
  1.38  +48 -16
jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
  
  Index: SystemUtils.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- SystemUtils.java  6 Nov 2004 01:27:59 -   1.37
  +++ SystemUtils.java  12 Nov 2004 00:48:41 -  1.38
  @@ -32,6 +32,7 @@
* @author Michael Becke
* @author Tetsuya Kaneuchi
* @author Rafal Krupinski
  + * @author Jason Gritman
* @since 1.0
* @version $Id$
*/
  @@ -782,9 +783,23 @@
   
   // Java version
   //---
  -// These MUST be declared after those above as they depend on the
  +// This MUST be declared after those above as it depends on the
   // values being set up
  -
  +
  +/**
  + * pGets the Java version as a codeString/code trimming leading 
letters./p
  + *
  + * pThe field will return codenull/code if [EMAIL PROTECTED] 
#JAVA_VERSION} is codenull/code./p
  + * 
  + * @since 2.1
  + */
  +public static final String JAVA_VERSION_TRIMMED = 
getJavaVersionTrimmed();
  +
  +// Java version values
  +//---
  +// These MUST be declared after the trim above as they depend on the
  +// value being set up
  +
   /**
* pGets the Java version as a codefloat/code./p
*
  @@ -1086,17 +1101,17 @@
* /ul
* 
* pPatch releases are not reported.
  - * Zero is returned if [EMAIL PROTECTED] #JAVA_VERSION} is 
codenull/code./p
  + * Zero is returned if [EMAIL PROTECTED] #JAVA_VERSION_TRIMMED} is 
codenull/code./p
* 
* @return the version, for example 1.31f for JDK 1.3.1
*/
   private static float getJavaVersionAsFloat() {
  -if (JAVA_VERSION == null) {
  +if (JAVA_VERSION_TRIMMED == null) {
   return 0f;
   }
  -String str = JAVA_VERSION.substring(0, 3);
  -if (JAVA_VERSION.length() = 5) {
  -str = str + JAVA_VERSION.substring(4, 5);
  +String str = JAVA_VERSION_TRIMMED.substring(0, 3);
  +if (JAVA_VERSION_TRIMMED.length() = 5) {
  +str = str + JAVA_VERSION_TRIMMED.substring(4, 5);
   }
   return Float.parseFloat(str);
   }
  @@ -,18 +1126,18 @@
* /ul
* 
* pPatch releases are not reported.
  - * Zero is returned if [EMAIL PROTECTED] #JAVA_VERSION} is 
codenull/code./p
  + * Zero is returned if [EMAIL PROTECTED] #JAVA_VERSION_TRIMMED} is 
codenull/code./p
* 
* @return the version, for example 131 for JDK 1.3.1
*/
   private static int getJavaVersionAsInt() {
  -if (JAVA_VERSION == null) {
  +if (JAVA_VERSION_TRIMMED == null) {
   return 0;
   }
  -String str = JAVA_VERSION.substring(0, 1);
  -str = str + JAVA_VERSION.substring(2, 3);
  -if (JAVA_VERSION.length() = 5) {
  -str = str + JAVA_VERSION.substring(4, 5);
  +String str = JAVA_VERSION_TRIMMED.substring(0, 1);
  +str = str + JAVA_VERSION_TRIMMED.substring(2, 3);
  +if (JAVA_VERSION_TRIMMED.length() = 5) {
  +str = str + JAVA_VERSION_TRIMMED.substring(4, 5);
   } else {
   str = str + 0;
   }
  @@ -1130,16 +1145,33 @@
   }
   
   /**
  + * Trims the text of the java version to start with numbers.
  + * 
  + * @return the trimmed java version
  + */
  +private static String getJavaVersionTrimmed() {
  +if (JAVA_VERSION != null) {
  +for (int i = 0; i  JAVA_VERSION.length(); i++) {
  +char ch = JAVA_VERSION.charAt(i);
  +if (ch = '0'  ch = '9') {
  +return JAVA_VERSION.substring(i);
  +}
  +}
  +}
  +return null;
  +}
  +
  +/**
* pDecides if the java version matches./p
* 
* @param versionPrefix  the prefix for the java version
* @return true if matches, or false if not or can't determine
*/
   private static boolean getJavaVersionMatches(String versionPrefix) {
  -if (JAVA_VERSION == null) {
  +if (JAVA_VERSION_TRIMMED == null) {
   return false;
   }
  -return 

cvs commit: jakarta-commons/lang project.xml

2004-07-11 Thread psteitz
psteitz 2004/07/11 16:21:01

  Modified:lang project.xml
  Log:
  Added C. Scott Ananian to contributors.
  
  Revision  ChangesPath
  1.35  +3 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- project.xml   1 Jun 2004 21:10:37 -   1.34
  +++ project.xml   11 Jul 2004 23:21:01 -  1.35
  @@ -153,6 +153,9 @@
   
 contributors
   contributor
  +  nameC. Scott Ananian/name
  +/contributor
  +contributor
 nameChris Audley/name
   /contributor
   contributor
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-06-01 Thread scolebourne
scolebourne2004/06/01 14:10:37

  Modified:lang project.xml
  Log:
  More names
  
  Revision  ChangesPath
  1.34  +6 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- project.xml   9 Apr 2004 17:51:53 -   1.33
  +++ project.xml   1 Jun 2004 21:10:37 -   1.34
  @@ -207,6 +207,9 @@
 nameSteve Downey/name
   /contributor
   contributor
  +  nameMatthias Eichel/name
  +/contributor
  +contributor
 nameChristopher Elkins/name
   /contributor
   contributor
  @@ -325,6 +328,9 @@
   /contributor
   contributor
 nameChris Webb/name
  +/contributor
  +contributor
  +  nameMario Winterer/name
   /contributor
 /contributors
 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-04-09 Thread mdiggory
mdiggory2004/04/09 10:51:54

  Modified:lang project.xml
  Log:
  Removed extend and adjusted build settings appropriately.
  
  Revision  ChangesPath
  1.33  +83 -21jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- project.xml   29 Mar 2004 17:10:36 -  1.32
  +++ project.xml   9 Apr 2004 17:51:53 -   1.33
  @@ -15,28 +15,64 @@
   limitations under the License.
   --
   project
  -  extend../commons-build/project.xml/extend
  +  pomVersion3/pomVersion
  +  
 idcommons-lang/id
 nameLang/name
 currentVersion2.1-dev/currentVersion
  -
  -  organization
  -nameApache Software Foundation/name
  -urlhttp://www.apache.org/url
  -logohttp://jakarta.apache.org/images/jakarta-logo.gif/logo
  -  /organization
  -
 inceptionYear2001/inceptionYear
  -
  -  logo/images/logo.png/logo
  -
  +  shortDescriptionJava Common Components/shortDescription
 description
   Commons.Lang, a package of Java utility classes for the
   classes that are in java.lang's hierarchy, or are considered to be so
   standard as to justify existence in java.lang.
 /description
 
  -  shortDescriptionJava Common Components/shortDescription
  +  logo/images/logo.png/logo
  +  
  +  urlhttp://jakarta.apache.org/commons/${pom.artifactId.substring(8)}//url
  +  packageorg.apache.commons.${pom.artifactId.substring(8)}/package
  +
  +  organization
  +nameThe Apache Software Foundation/name
  +urlhttp://jakarta.apache.org/url
  +logohttp://jakarta.apache.org/images/original-jakarta-logo.gif/logo
  +  /organization
  +
  +  licenses
  + license
  + nameThe Apache Software License, Version 2.0/name
  + url/LICENSE.txt/url
  + distributionrepo/distribution
  + /license
  +  /licenses
  +  
  +  gumpRepositoryIdjakarta/gumpRepositoryId
  +  issueTrackingUrlhttp://issues.apache.org/bugzilla//issueTrackingUrl
  +  siteAddressjakarta.apache.org/siteAddress
  +  
siteDirectory/www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}//siteDirectory
  +  
distributionDirectory/www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}//distributionDirectory
  +  
  +  repository
  +connectionscm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons/${pom.artifactId.substring(8)}/connection
  +
urlhttp://cvs.apache.org/viewcvs/jakarta-commons/${pom.artifactId.substring(8)}//url
  +  /repository
  +  
  +  mailingLists
  +mailingList
  +  nameCommons Dev List/name
  +  subscribe[EMAIL PROTECTED]/subscribe
  +  unsubscribe[EMAIL PROTECTED]/unsubscribe
  +  archivehttp://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]/archive
  +/mailingList
  +mailingList
  +  nameCommons User List/name
  +  subscribe[EMAIL PROTECTED]/subscribe
  +  unsubscribe[EMAIL PROTECTED]/unsubscribe
  +  archivehttp://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]/archive
  +/mailingList
  +  /mailingLists
  +
   
 developers
   developer
  @@ -310,15 +346,41 @@
 /dependencies
   
 build
  -unitTest
  -  includes
  -include**/*TestSuite.java/include
  -  /includes
  -  excludes
  -exclude**/AllLangTestSuite.java/exclude
  -  /excludes
  -/unitTest 
  -  /build
  + nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
  + sourceDirectorysrc/java/sourceDirectory
  + unitTestSourceDirectorysrc/test/unitTestSourceDirectory
  + integrationUnitTestSourceDirectory/
  + aspectSourceDirectory/
  +
  + !-- Unit test classes --
  + unitTest
  + includes
  + include**/*TestSuite.java/include
  + /includes
  + excludes
  + exclude**/AllLangTestSuite.java/exclude
  + /excludes
  +resources
  +resource
  +directory${pom.build.unitTestSourceDirectory}/directory
  +includes
  +include**/*.xml/include
  +/includes
  +/resource
  +/resources
  + /unitTest
  +
  + !-- Integration unit test classes --
  + integrationUnitTestPatterns/integrationUnitTestPatterns
  +
  + resources
  + includes
  + include**/*.properties/include
  + /includes
  + /resources
  + jars/
  + /build
  + 
 
 reports
!-- reportmaven-changelog-plugin/report --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-03-29 Thread ggregory
ggregory2004/03/29 09:10:36

  Modified:lang project.xml
  Log:
  Turn on Clover.
  
  Revision  ChangesPath
  1.32  +1 -1  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- project.xml   3 Mar 2004 23:34:54 -   1.31
  +++ project.xml   29 Mar 2004 17:10:36 -  1.32
  @@ -325,7 +325,7 @@
!-- reportmaven-changes-plugin/report --
reportmaven-checkstyle-plugin/report
!-- reportmaven-findbugs-plugin/report --
  - !-- reportmaven-clover-plugin/report --
  + reportmaven-clover-plugin/report
!-- reportmaven-developer-activity-plugin/report --
!-- reportmaven-file-activity-plugin/report --
reportmaven-javadoc-plugin/report
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-03-03 Thread scolebourne
scolebourne2004/03/03 15:34:54

  Modified:lang project.xml
  Log:
  Alpha order contributers
  
  Revision  ChangesPath
  1.31  +3 -3  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- project.xml   24 Feb 2004 22:38:55 -  1.30
  +++ project.xml   3 Mar 2004 23:34:54 -   1.31
  @@ -156,6 +156,9 @@
 nameJustin Couch/name
   /contributor
   contributor
  +  nameMichael Davey/name
  +/contributor
  +contributor
 nameNorm Deane/name
   /contributor
   contributor
  @@ -286,9 +289,6 @@
   /contributor
   contributor
 nameChris Webb/name
  -/contributor
  -contributor
  -  nameMichael Davey/name
   /contributor
 /contributors
 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-02-24 Thread fredrik
fredrik 2004/02/24 14:38:55

  Modified:lang project.xml
  Log:
  Added a contributor.
  
  Revision  ChangesPath
  1.30  +3 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- project.xml   18 Feb 2004 23:13:37 -  1.29
  +++ project.xml   24 Feb 2004 22:38:55 -  1.30
  @@ -287,6 +287,9 @@
   contributor
 nameChris Webb/name
   /contributor
  +contributor
  +  nameMichael Davey/name
  +/contributor
 /contributors
 
 !-- Lang should depend on very little --
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2004-02-13 Thread scolebourne
scolebourne2004/02/13 17:16:24

  Modified:lang project.xml
  Log:
  Add Maarten Coene
  
  Revision  ChangesPath
  1.28  +3 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- project.xml   10 Feb 2004 19:15:05 -  1.27
  +++ project.xml   14 Feb 2004 01:16:24 -  1.28
  @@ -135,6 +135,9 @@
 nameGreg Coladonato/name
   /contributor
   contributor
  +  nameMaarten Coene/name
  +/contributor
  +contributor
 nameJustin Couch/name
   /contributor
   contributor
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-12-14 Thread psteitz
psteitz 2003/12/14 13:52:51

  Modified:lang project.xml
  Log:
  Changed junit dependency version to 3.8.1
  
  Revision  ChangesPath
  1.22  +1 -1  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml   29 Nov 2003 13:24:33 -  1.21
  +++ project.xml   14 Dec 2003 21:52:51 -  1.22
  @@ -264,7 +264,7 @@
 dependencies
   dependency
 idjunit/id
  -  version3.7/version
  +  version3.8.1/version
   /dependency
 /dependencies
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-12-14 Thread ggregory
ggregory2003/12/14 16:09:44

  Modified:lang project.xml
  Log:
  Tweak my developer entry.
  
  Revision  ChangesPath
  1.23  +2 -2  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- project.xml   14 Dec 2003 21:52:51 -  1.22
  +++ project.xml   15 Dec 2003 00:09:44 -  1.23
  @@ -61,10 +61,10 @@
 /roles
   /developer
   developer
  -  nameGary Gregory/name
  +  nameGary D. Gregory/name
 idggregory/id
 email[EMAIL PROTECTED]/email
  -  organizationSEAGULL Software/organization
  +  organizationSeagull Software/organization
 roles
   roleJava Developer/role
 /roles
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-11-18 Thread psteitz
psteitz 2003/11/17 23:03:38

  Modified:lang project.xml
  Log:
  Inserted empty logo to elimninate broken image from maven site.
  
  Revision  ChangesPath
  1.20  +1 -1  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- project.xml   23 Oct 2003 21:10:01 -  1.19
  +++ project.xml   18 Nov 2003 07:03:38 -  1.20
  @@ -5,7 +5,7 @@
 nameLang/name
 currentVersion2.0/currentVersion
 inceptionYear2001/inceptionYear
  -  
  +  logo/
 description
   Commons.Lang, a package of Java utility classes for the
   classes that are in java.lang's hierarchy, or are considered to be so
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-10-23 Thread scolebourne
scolebourne2003/10/23 14:04:14

  Modified:lang project.xml
  Log:
  More contributers
  
  Revision  ChangesPath
  1.18  +9 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- project.xml   7 Oct 2003 21:05:03 -   1.17
  +++ project.xml   23 Oct 2003 21:04:14 -  1.18
  @@ -124,9 +124,15 @@
 nameJustin Couch/name
   /contributor
   contributor
  +  nameNorm Deane/name
  +/contributor
  +contributor
 nameRingo De Smet/name
   /contributor
   contributor
  +  nameRussel Dittmar/name
  +/contributor
  +contributor
 nameSteve Downey/name
   /contributor
   contributor
  @@ -140,6 +146,9 @@
   /contributor
   contributor
 nameMatthew Hawthorne/name
  +/contributor
  +contributor
  +  nameMichael Heuer/name
   /contributor
   contributor
 nameMarc Johnson/name
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-10-07 Thread scolebourne
scolebourne2003/10/07 13:59:46

  Modified:lang/src/java/org/apache/commons/lang SystemUtils.java
   lang/src/test/org/apache/commons/lang SystemUtilsTest.java
   lang project.xml
  Log:
  Add IS_OS_UNIX to SystemUtils
  from Rafal Krupinski
  
  Revision  ChangesPath
  1.24  +15 -1 
jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
  
  Index: SystemUtils.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- SystemUtils.java  22 Aug 2003 16:34:06 -  1.23
  +++ SystemUtils.java  7 Oct 2003 20:59:46 -   1.24
  @@ -67,6 +67,7 @@
* @author Gary Gregory
* @author Michael Becke
* @author Tetsuya Kaneuchi
  + * @author Rafal Krupinski
* @since 1.0
* @version $Id$
*/
  @@ -625,6 +626,19 @@
* @since 2.0
*/
   public static final boolean IS_OS_SUN_OS = getOSMatches(SunOS);
  +
  +/**
  + * pIs codetrue/code if this is POSIX compilant system,
  + * ie. any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS./p
  + *
  + * pThe field will return codefalse/code if codeOS_NAME/code is
  + * codenull/code./p
  + * 
  + * @since 2.1
  + */
  +public static final boolean IS_OS_UNIX =
  +IS_OS_AIX || IS_OS_HP_UX || IS_OS_IRIX || IS_OS_LINUX ||
  +IS_OS_MAC_OSX || IS_OS_SOLARIS || IS_OS_SUN_OS;
   
   /**
* pIs codetrue/code if this is Windows./p
  
  
  
  1.7   +19 -7 
jakarta-commons/lang/src/test/org/apache/commons/lang/SystemUtilsTest.java
  
  Index: SystemUtilsTest.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/SystemUtilsTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SystemUtilsTest.java  18 Aug 2003 02:22:25 -  1.6
  +++ SystemUtilsTest.java  7 Oct 2003 20:59:46 -   1.7
  @@ -363,21 +363,33 @@
   String osName = System.getProperty(os.name);
   if (osName == null) {
   assertEquals(false, SystemUtils.IS_OS_WINDOWS);
  +assertEquals(false, SystemUtils.IS_OS_UNIX);
   assertEquals(false, SystemUtils.IS_OS_SOLARIS);
   assertEquals(false, SystemUtils.IS_OS_LINUX);
   assertEquals(false, SystemUtils.IS_OS_MAC_OSX);
   } else if (osName.startsWith(Windows)) {
  -assertTrue(SystemUtils.IS_OS_WINDOWS);
  +assertEquals(false, SystemUtils.IS_OS_UNIX);
  +assertEquals(true, SystemUtils.IS_OS_WINDOWS);
   } else if (osName.startsWith(Solaris)) {
  -assertTrue(SystemUtils.IS_OS_SOLARIS);
  +assertEquals(true, SystemUtils.IS_OS_SOLARIS);
  +assertEquals(true, SystemUtils.IS_OS_UNIX);
  +assertEquals(false, SystemUtils.IS_OS_WINDOWS);
   } else if (osName.toLowerCase().startsWith(linux)) {
  -assertTrue(SystemUtils.IS_OS_LINUX);
  +assertEquals(true, SystemUtils.IS_OS_LINUX);
  +assertEquals(true, SystemUtils.IS_OS_UNIX);
  +assertEquals(false, SystemUtils.IS_OS_WINDOWS);
   } else if (osName.startsWith(Mac OS X)) {
  -assertTrue(SystemUtils.IS_OS_MAC_OSX);
  +assertEquals(true, SystemUtils.IS_OS_MAC_OSX);
  +assertEquals(true, SystemUtils.IS_OS_UNIX);
  +assertEquals(false, SystemUtils.IS_OS_WINDOWS);
   } else if (osName.startsWith(OS/2)) {
  -assertTrue(SystemUtils.IS_OS_OS2);
  +assertEquals(true, SystemUtils.IS_OS_OS2);
  +assertEquals(false, SystemUtils.IS_OS_UNIX);
  +assertEquals(false, SystemUtils.IS_OS_WINDOWS);
   } else if (osName.startsWith(SunOS)) {
  -assertTrue(SystemUtils.IS_OS_SUN_OS);
  +assertEquals(true, SystemUtils.IS_OS_SUN_OS);
  +assertEquals(true, SystemUtils.IS_OS_UNIX);
  +assertEquals(false, SystemUtils.IS_OS_WINDOWS);
   } else {
   System.out.println(Can't test IS_OS value);
   }
  
  
  
  1.16  +8 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- project.xml   2 Oct 2003 20:34:16 -   1.15
  +++ project.xml   7 Oct 2003 20:59:46 -   1.16
  @@ -267,6 +267,14 @@
 /roles
   /contributor
   contributor
  +  nameRafal Krupinski/name
  +  email/email
  +  organization/organization
  +  roles
  +roleJava Developer/role
  +

cvs commit: jakarta-commons/lang project.xml

2003-10-07 Thread scolebourne
scolebourne2003/10/07 14:05:03

  Modified:lang project.xml
  Log:
  Make the contributers list more readble
  
  Revision  ChangesPath
  1.17  +0 -250jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- project.xml   7 Oct 2003 20:59:46 -   1.16
  +++ project.xml   7 Oct 2003 21:05:03 -   1.17
  @@ -92,403 +92,153 @@
 contributors
   contributor
 nameChris Audley/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameStephane Bailliez/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameMichael Becke/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameOla Berg/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameStefan Bodewig/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameJanek Bogucki/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameMike Bowler/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameSean Brown/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameAlexander Day Chaffee/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameGreg Coladonato/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameJustin Couch/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameRingo De Smet/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameSteve Downey/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameChristopher Elkins/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameChris Feldhacker/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 namePete Gieser/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameMatthew Hawthorne/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameMarc Johnson/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameTetsuya Kaneuchi/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
nameNissim Karpenstein/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameEd Korthof/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameHolger Krauth/name
  -  email/email
  -  organization/organization
  -  roles
  -roleJava Developer/role
  -  /roles
   /contributor
   contributor
 nameRafal Krupinski/name
  -  email/email
  -  organization/organization
  -  roles
  -

cvs commit: jakarta-commons/lang project.xml

2003-08-21 Thread psteitz
psteitz 2003/08/21 21:57:30

  Modified:lang project.xml
  Log:
  * Added myself as a project member
  * Limited tests to **/*TestSuite.java
  * Added reports section to limit reports generated
  
  Revision  ChangesPath
  1.13  +29 -7 jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- project.xml   14 Jul 2003 23:27:21 -  1.12
  +++ project.xml   22 Aug 2003 04:57:29 -  1.13
  @@ -69,12 +69,20 @@
   roleJava Developer/role
 /roles
 /developer
  +  developer
  +  namePhil Steitz/name
  +  idpsteitz/id
  +  email[EMAIL PROTECTED]/email
  +  organization/organization
  +  roles
  +roleJava Developer/role
  +  /roles
  +  /developer
 /developers
   
 contributors
   contributor
 nameRingo De Smet/name
  -  id/id
 email[EMAIL PROTECTED]/email
 organization/organization
 roles
  @@ -83,7 +91,6 @@
   /contributor
   contributor
 nameSteve Downey/name
  -  id/id
 email[EMAIL PROTECTED]/email
 organization/organization
 roles
  @@ -103,15 +110,30 @@
 build
   unitTest
 includes
  -include**/*Test.java/include
  -include**/*TestCase.java/include
  +include**/*TestSuite.java/include
 /includes
 excludes
  -exclude**/Abstract*.java/exclude
  -exclude**/*CalendarUtils*.java/exclude
  +exclude**/AllLangTestSuite.java/exclude
 /excludes
  -/unitTest
  +/unitTest 
 /build
  +  
  +  reports
  + !-- reportmaven-changelog-plugin/report --
  + !-- reportmaven-changes-plugin/report --
  + reportmaven-checkstyle-plugin/report
  + !-- reportmaven-clover-plugin/report --
  + !-- reportmaven-developer-activity-plugin/report --
  + !-- reportmaven-file-activity-plugin/report --
  + reportmaven-javadoc-plugin/report
  + !-- reportmaven-jellydoc-plugin/report --
  + reportmaven-junit-report-plugin/report
  + reportmaven-jxr-plugin/report
  + reportmaven-license-plugin/report
  + !-- reportmaven-linkcheck-plugin/report --
  + !-- reportmaven-statcvs-plugin/report --
  + reportmaven-tasklist-plugin/report 
  +  /reports
   
   /project
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-commons/lang project.xml

2003-02-02 Thread jvanzyl
jvanzyl 2003/02/02 16:01:08

  Modified:lang project.xml
  Log:
  o The CalendUtilsTest fails due to what appears to be some TZ problems.
I'm right on the cusp for the last Sunday the test is trying to find and
it gets the wrong day. Excluding it for now from the test because the
test is not reliable yet.
  
  Revision  ChangesPath
  1.10  +1 -0  jakarta-commons/lang/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/lang/project.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- project.xml   2 Feb 2003 09:11:55 -   1.9
  +++ project.xml   3 Feb 2003 00:01:07 -   1.10
  @@ -99,6 +99,7 @@
 /includes
 excludes
   exclude**/Abstract*.java/exclude
  +exclude**/*CalendarUtils*.java/exclude
 /excludes
   /unitTest
 /build
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]