Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98BC5965D for ; Wed, 16 May 2012 00:54:33 +0000 (UTC) Received: (qmail 10897 invoked by uid 500); 16 May 2012 00:54:32 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10839 invoked by uid 500); 16 May 2012 00:54:32 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 10832 invoked by uid 99); 16 May 2012 00:54:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 00:54:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 00:54:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9B9BF626E for ; Wed, 16 May 2012 00:54:08 +0000 (UTC) Date: Wed, 16 May 2012 00:54:08 +0000 (UTC) From: "Greg Bowyer (JIRA)" To: dev@lucene.apache.org Message-ID: <1678742478.2112.1337129648638.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1498696944.2076.1337127966944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-4059) prepare-webpages breaks the build if there are none URI complement characters in the path 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/LUCENE-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276368#comment-13276368 ] Greg Bowyer commented on LUCENE-4059: ------------------------------------- My build.xml is the same as upstream, the problem is my checkout path looks like this /home/buildserver/workspace/builds/{search-engineering}-solr-lucene-{trunk} This means that the prepare-webpages target gets its paths in the buildpaths variable as a pipe separated list like so {{/home/buildserver/workspace/builds/{search-engineering}-solr-lucene-{trunk}/lucene/analysis/common/build.xml|/home/buildserver/workspace/builds/{search-engineering}-solr-lucene-{trunk}/lucene/analysis/icu/build.xml|...}} XSLT picks this up later and tries to load these paths, however XSLT assumes that they are URLS which makes the { character invalid and causes {{com.sun.org.apache.xalan.internal.xsltc.TransletException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: Path contains invalid character: { }} This pattern is infrastructural to where I work and is not likely to change (I would like it too) Not sure if that makes sense > prepare-webpages breaks the build if there are none URI complement characters in the path > ----------------------------------------------------------------------------------------- > > Key: LUCENE-4059 > URL: https://issues.apache.org/jira/browse/LUCENE-4059 > Project: Lucene - Java > Issue Type: Bug > Components: general/build > Affects Versions: 4.0 > Reporter: Greg Bowyer > Assignee: Uwe Schindler > Attachments: LUCENE-4059-URI-webpages-breakages.patch > > > Hi all my build environment is a little weird for legacy reasons, one of these is that checkouts from version control for my build server have {} in the path. > This causes the process-webapps target to fail since XSL rejects none URI characters. > I have a patch that fixes this by escaping the paths first -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org