You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eh...@apache.org on 2005/02/23 15:14:16 UTC

svn commit: r155011 - lucene/java/trunk/src/java/overview.html

Author: ehatcher
Date: Wed Feb 23 06:14:12 2005
New Revision: 155011

URL: http://svn.apache.org/viewcvs?view=rev&rev=155011
Log:
fix broken links to source

Modified:
    lucene/java/trunk/src/java/overview.html

Modified: lucene/java/trunk/src/java/overview.html
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/overview.html?view=diff&r1=155010&r2=155011
==============================================================================
--- lucene/java/trunk/src/java/overview.html (original)
+++ lucene/java/trunk/src/java/overview.html Wed Feb 23 06:14:12 2005
@@ -134,19 +134,19 @@
 Some simple examples of code which does this are:
 <ul>
 <li>
-&nbsp;<a href="../../src/demo/org/apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains
+&nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains
 code to create a Document for a file.</li>
 
 <li>
-&nbsp;<a href="../../src/demo/org/apache/lucene/demo/IndexFiles.java">IndexFiles.java</a> creates an
+&nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java">IndexFiles.java</a> creates an
 index for all the files contained in a directory.</li>
 
 <li>
-&nbsp;<a href="../../src/demo/org/apache/lucene/demo/DeleteFiles.java">DeleteFiles.java</a> deletes some
+&nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java">DeleteFiles.java</a> deletes some
 of these files from the index.</li>
 
 <li>
-&nbsp;<a href="../../src/demo/org/apache/lucene/demo/SearchFiles.java">SearchFiles.java</a> prompts for
+&nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java">SearchFiles.java</a> prompts for
 queries and searches an index.</li>
 </ul>
 To demonstrate these, try something like:
@@ -170,7 +170,7 @@
 <br>&nbsp;&nbsp;&nbsp; [ Note: "+" and "-" are canonical, but "AND", "OR"
 and "NOT" may be used. ]</blockquote>
 
-The <a href="../../src/demo/org/apache/lucene/demo/IndexHTML.java">IndexHtml</a> demo is more sophisticated.&nbsp;
+The <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java">IndexHtml</a> demo is more sophisticated.&nbsp;
 It incrementally maintains an index of HTML files, adding new files as
 they appear, deleting old files as they disappear and re-indexing files
 as they change.



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: svn commit: r155011 - lucene/java/trunk/src/java/overview.html

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Feb 23, 2005, at 12:06 PM, Doug Cutting wrote:

> ehatcher@apache.org wrote:
>> Log:
>> fix broken links to source
>> -&nbsp;<a  
>> href="../../src/demo/org/apache/lucene/demo/ 
>> FileDocument.java">FileDocument.java</a> contains
>> +&nbsp;<a  
>> href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/ 
>> apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains
>
> This makes the docs point to the current version of the code, rather  
> than a version synchronized with the docs, and also makes the docs  
> no-longer standalone.
>
> These links used to work both on the website and in a release, always  
> pointing to a version in sync with the javadocs.  For it to work on  
> the website, the src/demo tree needed to be checked out from CVS on  
> www.apache.org and updated whenever the javadocs were updated.  In  
> releases we always package the demo source code.
>
> We could do the same thing now that things are in subversion, no?

Perhaps what we need is an svn:externals mapping for a "site" where we  
aggregate all the things we want in the website so we can do an easy  
checkout to build the site.

Those few links point to demo code that hasn't changed in ages.   
Someone reported to me privately that the links were broken - thats why  
I "fixed" them.

To truly do the site right, we'd probably want the site to reflect a  
specific released version of Lucene and only update the docs/code when  
a new release is made.  I believe all this should be possible with  
svn:externals.  Volunteers to set that up?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: svn commit: r155011 - lucene/java/trunk/src/java/overview.html

Posted by Doug Cutting <cu...@apache.org>.
ehatcher@apache.org wrote:
> Log:
> fix broken links to source
> 
> -&nbsp;<a href="../../src/demo/org/apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains
> +&nbsp;<a href="http://svn.apache.org/repos/asf/lucene/java/trunk/src/demo/org/apache/lucene/demo/FileDocument.java">FileDocument.java</a> contains

This makes the docs point to the current version of the code, rather 
than a version synchronized with the docs, and also makes the docs 
no-longer standalone.

These links used to work both on the website and in a release, always 
pointing to a version in sync with the javadocs.  For it to work on the 
website, the src/demo tree needed to be checked out from CVS on 
www.apache.org and updated whenever the javadocs were updated.  In 
releases we always package the demo source code.

We could do the same thing now that things are in subversion, no?

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org