lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4059) prepare-webpages breaks the build if there are none URI complement characters in the path
Date Wed, 16 May 2012 09:55:02 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message