[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to