[ 
https://issues.apache.org/jira/browse/LUCENE-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-4059:
----------------------------------

    Attachment: LUCENE-4059-URI-webpages-breakages.patch

Hi, new and improved ("more correct") patch: On my windows machine your patch 
broke because of the backslashes. The most correct way to do this by creating a 
"real" file based URI. This can be done with the Java API (new File(source) -> 
toURI()). This creates a 100% correct file:// URI as XSL expects (XSL wants 
URIs, but most interpreters like XALAN also allow file names, but using 
file:-URIs is more correct and straight-forward).

I will commit this now, thanks for reporting!
                
> 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, 
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to