You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2020/06/15 21:14:16 UTC

[uima-uimaj] branch master updated: [UIMA-6244] change special xml chars to ones that are valid with windows

This is an automated email from the ASF dual-hosted git repository.

schor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git


The following commit(s) were added to refs/heads/master by this push:
     new 702abf1  [UIMA-6244] change special xml chars to ones that are valid with windows
702abf1 is described below

commit 702abf14de379a268a79e2d24a4444cf07322470
Author: Marshall Schor <ms...@schor.com>
AuthorDate: Mon Jun 15 16:09:58 2020 -0500

    [UIMA-6244] change special xml chars to ones that are valid with windows
---
 .../org/apache/uima/pear/util/TestPearInstallationVerification.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/uimaj-core/src/test/java/org/apache/uima/pear/util/TestPearInstallationVerification.java b/uimaj-core/src/test/java/org/apache/uima/pear/util/TestPearInstallationVerification.java
index ad5319a..3848a4f 100644
--- a/uimaj-core/src/test/java/org/apache/uima/pear/util/TestPearInstallationVerification.java
+++ b/uimaj-core/src/test/java/org/apache/uima/pear/util/TestPearInstallationVerification.java
@@ -73,7 +73,9 @@ public class TestPearInstallationVerification {
   public void thatSpecialXmlCharactersInTargetPathDoNotBreakInstallation() throws Exception {
     assertThatPearInstalls(
             getFile("pearTests/analysisEngine.pear"),
-            temp.newFolder("<>'\"&"));
+            // on windows, can't use these chars
+            //   <>:"/\|?*          
+            temp.newFolder("!'&"));
   }
 
   private void assertThatPearInstalls(File pearFile, File targetDir) throws InvalidXMLException,