You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/07/26 20:30:49 UTC
svn commit: r1366132 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/common-build.xml
Author: uschindler
Date: Thu Jul 26 18:30:49 2012
New Revision: 1366132
URL: http://svn.apache.org/viewvc?rev=1366132&view=rev
Log:
Merged revision(s) 1366130 from lucene/dev/trunk:
Repair Solr snapshot javadocs to work on windows and with spaces in filename (same fix like in Lucene's docs XSL transformation): The hrefs to external docs must be valid URIs and plain path are not valid URIs, they must start with file:, slashes converted, and spaces escaped. scriptmapper helps with new File(path).toURI()
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/common-build.xml (contents, props changed)
Modified: lucene/dev/branches/branch_4x/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/common-build.xml?rev=1366132&r1=1366131&r2=1366132&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/common-build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/common-build.xml Thu Jul 26 18:30:49 2012
@@ -248,8 +248,14 @@
depends="define-lucene-javadoc-url-SNAPSHOT,define-lucene-javadoc-url-release"/>
<target name="define-lucene-javadoc-url-SNAPSHOT" if="version.contains.SNAPSHOT">
- <property name="lucene.javadoc.url"
- value="${common.dir}/build/docs/"/>
+ <pathconvert property="lucene.javadoc.url">
+ <dirset dir="${common.dir}" includes="build/docs"/>
+ <mapper>
+ <scriptmapper language="javascript">
+ self.addMappedName((new java.io.File(source)).toURI());
+ </scriptmapper>
+ </mapper>
+ </pathconvert>
</target>
<target name="define-lucene-javadoc-url-release" unless="version.contains.SNAPSHOT">