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 42345965C for ; Wed, 16 May 2012 00:54:32 +0000 (UTC) Received: (qmail 9645 invoked by uid 500); 16 May 2012 00:54:31 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 9583 invoked by uid 500); 16 May 2012 00:54:31 -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 9576 invoked by uid 99); 16 May 2012 00:54:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 00:54:30 +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 01BDB6271 for ; Wed, 16 May 2012 00:54:09 +0000 (UTC) Date: Wed, 16 May 2012 00:54:09 +0000 (UTC) From: "Greg Bowyer (JIRA)" To: dev@lucene.apache.org Message-ID: <80062727.2115.1337129649008.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1498696944.2076.1337127966944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Comment Edited] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276368#comment-13276368 ] Greg Bowyer edited comment on LUCENE-4059 at 5/16/12 12:53 AM: --------------------------------------------------------------- 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|...(and so on) 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 was (Author: gbowyer@fastmail.co.uk): 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