Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 15095 invoked from network); 12 Sep 2010 21:51:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 21:51:56 -0000 Received: (qmail 22925 invoked by uid 500); 12 Sep 2010 21:51:56 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 22802 invoked by uid 500); 12 Sep 2010 21:51:55 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 22795 invoked by uid 99); 12 Sep 2010 21:51:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 21:51:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 21:51:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8CLpXJK018780 for ; Sun, 12 Sep 2010 21:51:34 GMT Message-ID: <27298976.144091284328293840.JavaMail.jira@thor> Date: Sun, 12 Sep 2010 17:51:33 -0400 (EDT) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-1541) Numerous JUnit tests failing on Windows. In-Reply-To: <6444292.351051281812536269.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908563#action_12908563 ] Stefan Seelmann commented on DIRSERVER-1541: -------------------------------------------- Thanks Richard for the patch. I tested it on Windows 7(64 bit) and the build fails. I think the problem is the modification in JarLdifSchemaLoader because on windows the path separator is the backslash, however when loading the schema from a JAR I think the forward slash is requried. > Numerous JUnit tests failing on Windows. > ---------------------------------------- > > Key: DIRSERVER-1541 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1541 > Project: Directory ApacheDS > Issue Type: Bug > Components: core, ldap, schema > Affects Versions: 2.0.0-RC1 > Environment: All Microsoft Windows. > Reporter: Richard M Feezel > Assignee: Emmanuel Lecharny > Priority: Minor > Fix For: 2.0.0-RC1 > > Attachments: ADS_Patches.diff.txt, WindowsPatches.diff > > > File names and paths are not being handled in a platform-independent manner is all cases. > In particular, in regex matching patterns the "\" has special meaning. On Windows the "\" is used as the file directory separator character so a regex attempting to test for a directory separator character must be constructed in a platform-dependent manner. > Also, certain characters are not allowed in file names in Microsoft Windows. Any attempt to use such names must have these special characters "escaped" to safe characters. Since the "\" character is the directory separator character it is unsuitable for special character escaping. > Finally, in the JdbmStoreTest test, stores and indexes must be destroyed and/or closed to permit deletion of the underlying files at completion of the test run. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.