You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2009/06/19 15:07:50 UTC

Deleting old javadoc files on Hudson

Hallo,

In December the javadocs build system was updated to generate the javadocs
for all in the /all/ subdir, core in /core/ and so on.

As Hudson in its nightly build does not delete the old javadocs before
publishing the new ones, there are still a lot of outdated html files
around. Even the robots.txt did not yet remove them all from Google and some
links on webpages link still to the old docs, e.g.
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/ shows still
some very outdated (December 20, 2008) docs, whereas
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/ is
correct. Normally the first link should produce 404/or similar.

After moving TrieRange to core, tomorrow the old docs will be also available
until end of days in the /contrib-queries/ and /all/ subdir, but the class
files were deleted short time ago.

It would be good, if someone could delete the complete javadocs folder from
Hudson and Hudson would generate a fresh copy during the next Hudson build?
Would this be possible? Who has access to Hudson (maybe as committer I have
one, not sure).

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
> : Done. Thanks for testing!
> 
> I hate to be a buzz kill, but all this really does is replace the outdated
> javadoc generated index.html file with a new one that points at the
> subdirs we've created ... I don't see how this solves the root problem:
> Hudson doesn't delete the old files....
>   https://hudson.dev.java.net/issues/show_bug.cgi?id=1000

Mike deleted the whole outdated javadocs-folder yesterday. What is now on
Hudson is a fresh one.

The auto-generated ANT-generated index file is there to not show a 404 when
users are clicking on the documentation link in Hudson.

As long as this Hudson-bug is not fixed, the best is to sometimes simply do
this "rm -rf" or code it somehow in the current Hudson process (some
additional build step inside Hudson, I do not know the software, if this is
possible). Also vote for this Hudson bug.

> The "Publish JavaDoc" feature copies a configured path for javadocs
> into an existing "archive" directory -- any file that
> existed in a previous build of the javadocs and isn't in the
> current javadocs will still be there.  All we've done is stop linking to
> the old flattened doc hierarchy, but any caches, bookmarks, or search
> engines linking to them will still find valid pages.
> 
> In addition to my previous suggestion...
>    http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
> ...another config option we could try is "Retain javadoc for each
> successful build".  There is a warning that this causes it to take up
> more disk (because it keeps the javadocs for each build) but I *think*
> if we use that option, it will create a brand new javadoc directory for
> each build.
> 
> (it looks like our uncompressed javadocs are about 5 times as big as our
> binary artifacts ... but we currently keep the last 30 builds which seem
> excessive.  If we cut hte number of archived builds we keep to 5 we'd wind
> up using less disk)

I would tend to find out, how you could send a "rm -rf" before this javadocs
copy task.

Uwe


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


RE: Deleting old javadoc files on Hudson

Posted by Chris Hostetter <ho...@fucit.org>.
: Done. Thanks for testing!

I hate to be a buzz kill, but all this really does is replace the outdated 
javadoc generated index.html file with a new one that points at the 
subdirs we've created ... I don't see how this solves the root problem: 
Hudson doesn't delete the old files....
  https://hudson.dev.java.net/issues/show_bug.cgi?id=1000

The "Publish JavaDoc" feature copies a configured path for javadocs
into an existing "archive" directory -- any file that 
existed in a previous build of the javadocs and isn't in the 
current javadocs will still be there.  All we've done is stop linking to 
the old flattened doc hierarchy, but any caches, bookmarks, or search 
engines linking to them will still find valid pages.

In addition to my previous suggestion...
   http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
...another config option we could try is "Retain javadoc for each 
successful build".  There is a warning that this causes it to take up 
more disk (because it keeps the javadocs for each build) but I *think*
if we use that option, it will create a brand new javadoc directory for 
each build.
 
(it looks like our uncompressed javadocs are about 5 times as big as our 
binary artifacts ... but we currently keep the last 30 builds which seem 
excessive.  If we cut hte number of archived builds we keep to 5 we'd wind 
up using less disk)


-Hoss


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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
Done. Thanks for testing!

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Wednesday, June 24, 2009 4:13 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Deleting old javadoc files on Hudson
> 
> +1
> 
> I applied it, ran "ant javadocs", and it set up the index.html
> correctly.  I say commit it!
> 
> Mike
> 
> On Wed, Jun 24, 2009 at 9:40 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> > Slightly extended patch, the spezial bdb contrib is now also
> supported...
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> Sent: Wednesday, June 24, 2009 3:24 PM
> >> To: java-dev@lucene.apache.org
> >> Subject: RE: Deleting old javadoc files on Hudson
> >>
> >> How about this solution (patch for trunk)? It advises ant to build the
> >> index.html file after the global javadocs-target. The index file
> produced
> >> should be automatically copied by Hudson.
> >>
> >> -----
> >> Uwe Schindler
> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> http://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >> > -----Original Message-----
> >> > From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> > Sent: Wednesday, June 24, 2009 2:32 PM
> >> > To: java-dev@lucene.apache.org
> >> > Subject: Re: Deleting old javadoc files on Hudson
> >> >
> >> > OK wanna work one out and I'll install?
> >> >
> >> > Mike
> >> >
> >> > On Wed, Jun 24, 2009 at 6:47 AM, Uwe Schindler<uw...@thetaphi.de>
> wrote:
> >> > > Fine, have seen this.
> >> > >
> >> > > Maybe we should add an index.html to the main javadocs folder on
> >> Hudson
> >> > or
> >> > > directly into trunk (list of doc modules) to prevent 404 when
> clicking
> >> > on
> >> > > the javadocs link.
> >> > >
> >> > > -----
> >> > > Uwe Schindler
> >> > > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > > http://www.thetaphi.de
> >> > > eMail: uwe@thetaphi.de
> >> > >
> >> > >> -----Original Message-----
> >> > >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> > >> Sent: Wednesday, June 24, 2009 11:44 AM
> >> > >> To: java-dev@lucene.apache.org
> >> > >> Subject: Re: Deleting old javadoc files on Hudson
> >> > >>
> >> > >> OK I agree we should remove the way-old files leftover from our
> >> > >> cutover to all/core/contrib subdir switch back in December.
> >> > >>
> >> > >> And it does seem simplest to just move the current javadoc dir out
> of
> >> > >> the way and let the next build repopulate.
> >> > >>
> >> > >> So I just did that.
> >> > >>
> >> > >> Mike
> >> > >>
> >> > >> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de>
> >> wrote:
> >> > >> > We had this problem in this list before (I wanted to refresh
> this
> >> > thread
> >> > >> as
> >> > >> > there came out no solution):
> >> > >> >
> >> > >> > Hoss said:
> >> > >> > http://www.gossamer-threads.com/lists/lucene/java-
> dev/70655#70655
> >> > >> >
> >> > >> > I suggested to remove with "rm -rf", but nobody had an idea to
> do
> >> > this
> >> > >> > automatically:
> >> > >> > http://www.gossamer-threads.com/lists/lucene/java-
> dev/70663#70663
> >> > >> >
> >> > >> > I could try to find out, how to enforce the ANT build to add an
> >> empty
> >> > >> > index.html in the main build/docs folder that links to the
> >> > >> subdirectories
> >> > >> > "core", "contrib-xxxx", "all"
> >> > >> >
> >> > >> > This would present the Javadocs correct in Hudson behind the
> >> Javadocs
> >> > >> link,
> >> > >> > but still old files are not deleted.
> >> > >> >
> >> > >> > -----
> >> > >> > Uwe Schindler
> >> > >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > >> > http://www.thetaphi.de
> >> > >> > eMail: uwe@thetaphi.de
> >> > >> >
> >> > >> >> -----Original Message-----
> >> > >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> > >> >> Sent: Monday, June 22, 2009 11:59 AM
> >> > >> >> To: java-dev@lucene.apache.org
> >> > >> >> Subject: Re: Deleting old javadoc files on Hudson
> >> > >> >>
> >> > >> >> I agree we should clean this up.  I have access to Hudson, and
> >> > >> >> permissions to delete the stale files.
> >> > >> >>
> >> > >> >> But: can we somehow fix Hudson's job to remove the old javadocs
> >> > before
> >> > >> >> it copies the new ones in?  (So we don't have to keep doing
> this
> >> > >> >> manually going foreward).
> >> > >> >>
> >> > >> >> Mike
> >> > >> >>
> >> > >> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de>
> >> > wrote:
> >> > >> >> > Does nobody has a solutions/idea for this? I just want to
> >> > cleanup...
> >> > >> >> >
> >> > >> >> > -----
> >> > >> >> > Uwe Schindler
> >> > >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > >> >> > http://www.thetaphi.de
> >> > >> >> > eMail: uwe@thetaphi.de
> >> > >> >> >
> >> > >> >> >> -----Original Message-----
> >> > >> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> > >> >> >> Sent: Friday, June 19, 2009 3:08 PM
> >> > >> >> >> To: java-dev@lucene.apache.org
> >> > >> >> >> Subject: Deleting old javadoc files on Hudson
> >> > >> >> >>
> >> > >> >> >> Hallo,
> >> > >> >> >>
> >> > >> >> >> In December the javadocs build system was updated to
> generate
> >> the
> >> > >> >> javadocs
> >> > >> >> >> for all in the /all/ subdir, core in /core/ and so on.
> >> > >> >> >>
> >> > >> >> >> As Hudson in its nightly build does not delete the old
> javadocs
> >> > >> before
> >> > >> >> >> publishing the new ones, there are still a lot of outdated
> html
> >> > >> files
> >> > >> >> >> around. Even the robots.txt did not yet remove them all from
> >> > Google
> >> > >> and
> >> > >> >> >> some
> >> > >> >> >> links on webpages link still to the old docs, e.g.
> >> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/javadoc/
> >> > >> shows
> >> > >> >> >> still
> >> > >> >> >> some very outdated (December 20, 2008) docs, whereas
> >> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-
> >> > trunk/javadoc/all/
> >> > >> is
> >> > >> >> >> correct. Normally the first link should produce 404/or
> similar.
> >> > >> >> >>
> >> > >> >> >> After moving TrieRange to core, tomorrow the old docs will
> be
> >> > also
> >> > >> >> >> available
> >> > >> >> >> until end of days in the /contrib-queries/ and /all/ subdir,
> >> but
> >> > the
> >> > >> >> class
> >> > >> >> >> files were deleted short time ago.
> >> > >> >> >>
> >> > >> >> >> It would be good, if someone could delete the complete
> javadocs
> >> > >> folder
> >> > >> >> >> from
> >> > >> >> >> Hudson and Hudson would generate a fresh copy during the
> next
> >> > Hudson
> >> > >> >> >> build?
> >> > >> >> >> Would this be possible? Who has access to Hudson (maybe as
> >> > committer
> >> > >> I
> >> > >> >> >> have
> >> > >> >> >> one, not sure).
> >> > >> >> >>
> >> > >> >> >> Uwe
> >> > >> >> >>
> >> > >> >> >> -----
> >> > >> >> >> Uwe Schindler
> >> > >> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > >> >> >> http://www.thetaphi.de
> >> > >> >> >> eMail: uwe@thetaphi.de
> >> > >> >> >>
> >> > >> >> >>
> >> > >> >> >>
> >> > >> >> >> ------------------------------------------------------------
> ---
> >> --
> >> > ---
> >> > >> -
> >> > >> >> >> To unsubscribe, e-mail: java-dev-
> unsubscribe@lucene.apache.org
> >> > >> >> >> For additional commands, e-mail: java-dev-
> >> help@lucene.apache.org
> >> > >> >> >
> >> > >> >> >
> >> > >> >> >
> >> > >> >> > -------------------------------------------------------------
> ---
> >> --
> >> > ---
> >> > >> >> > To unsubscribe, e-mail: java-dev-
> unsubscribe@lucene.apache.org
> >> > >> >> > For additional commands, e-mail: java-dev-
> help@lucene.apache.org
> >> > >> >> >
> >> > >> >> >
> >> > >> >>
> >> > >> >> ---------------------------------------------------------------
> ---
> >> --
> >> > -
> >> > >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > >> >> For additional commands, e-mail: java-dev-
> help@lucene.apache.org
> >> > >> >
> >> > >> >
> >> > >> >
> >> > >> > ----------------------------------------------------------------
> ---
> >> --
> >> > >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> > >> >
> >> > >> >
> >> > >>
> >> > >> ------------------------------------------------------------------
> ---
> >> > >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> > >
> >> > >
> >> > >
> >> > > -------------------------------------------------------------------
> --
> >> > > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> > >
> >> > >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Deleting old javadoc files on Hudson

Posted by Michael McCandless <lu...@mikemccandless.com>.
+1

I applied it, ran "ant javadocs", and it set up the index.html
correctly.  I say commit it!

Mike

On Wed, Jun 24, 2009 at 9:40 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> Slightly extended patch, the spezial bdb contrib is now also supported...
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Wednesday, June 24, 2009 3:24 PM
>> To: java-dev@lucene.apache.org
>> Subject: RE: Deleting old javadoc files on Hudson
>>
>> How about this solution (patch for trunk)? It advises ant to build the
>> index.html file after the global javadocs-target. The index file produced
>> should be automatically copied by Hudson.
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>> > -----Original Message-----
>> > From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> > Sent: Wednesday, June 24, 2009 2:32 PM
>> > To: java-dev@lucene.apache.org
>> > Subject: Re: Deleting old javadoc files on Hudson
>> >
>> > OK wanna work one out and I'll install?
>> >
>> > Mike
>> >
>> > On Wed, Jun 24, 2009 at 6:47 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
>> > > Fine, have seen this.
>> > >
>> > > Maybe we should add an index.html to the main javadocs folder on
>> Hudson
>> > or
>> > > directly into trunk (list of doc modules) to prevent 404 when clicking
>> > on
>> > > the javadocs link.
>> > >
>> > > -----
>> > > Uwe Schindler
>> > > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > > http://www.thetaphi.de
>> > > eMail: uwe@thetaphi.de
>> > >
>> > >> -----Original Message-----
>> > >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> > >> Sent: Wednesday, June 24, 2009 11:44 AM
>> > >> To: java-dev@lucene.apache.org
>> > >> Subject: Re: Deleting old javadoc files on Hudson
>> > >>
>> > >> OK I agree we should remove the way-old files leftover from our
>> > >> cutover to all/core/contrib subdir switch back in December.
>> > >>
>> > >> And it does seem simplest to just move the current javadoc dir out of
>> > >> the way and let the next build repopulate.
>> > >>
>> > >> So I just did that.
>> > >>
>> > >> Mike
>> > >>
>> > >> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de>
>> wrote:
>> > >> > We had this problem in this list before (I wanted to refresh this
>> > thread
>> > >> as
>> > >> > there came out no solution):
>> > >> >
>> > >> > Hoss said:
>> > >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
>> > >> >
>> > >> > I suggested to remove with "rm -rf", but nobody had an idea to do
>> > this
>> > >> > automatically:
>> > >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
>> > >> >
>> > >> > I could try to find out, how to enforce the ANT build to add an
>> empty
>> > >> > index.html in the main build/docs folder that links to the
>> > >> subdirectories
>> > >> > "core", "contrib-xxxx", "all"
>> > >> >
>> > >> > This would present the Javadocs correct in Hudson behind the
>> Javadocs
>> > >> link,
>> > >> > but still old files are not deleted.
>> > >> >
>> > >> > -----
>> > >> > Uwe Schindler
>> > >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > >> > http://www.thetaphi.de
>> > >> > eMail: uwe@thetaphi.de
>> > >> >
>> > >> >> -----Original Message-----
>> > >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> > >> >> Sent: Monday, June 22, 2009 11:59 AM
>> > >> >> To: java-dev@lucene.apache.org
>> > >> >> Subject: Re: Deleting old javadoc files on Hudson
>> > >> >>
>> > >> >> I agree we should clean this up.  I have access to Hudson, and
>> > >> >> permissions to delete the stale files.
>> > >> >>
>> > >> >> But: can we somehow fix Hudson's job to remove the old javadocs
>> > before
>> > >> >> it copies the new ones in?  (So we don't have to keep doing this
>> > >> >> manually going foreward).
>> > >> >>
>> > >> >> Mike
>> > >> >>
>> > >> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de>
>> > wrote:
>> > >> >> > Does nobody has a solutions/idea for this? I just want to
>> > cleanup...
>> > >> >> >
>> > >> >> > -----
>> > >> >> > Uwe Schindler
>> > >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > >> >> > http://www.thetaphi.de
>> > >> >> > eMail: uwe@thetaphi.de
>> > >> >> >
>> > >> >> >> -----Original Message-----
>> > >> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> > >> >> >> Sent: Friday, June 19, 2009 3:08 PM
>> > >> >> >> To: java-dev@lucene.apache.org
>> > >> >> >> Subject: Deleting old javadoc files on Hudson
>> > >> >> >>
>> > >> >> >> Hallo,
>> > >> >> >>
>> > >> >> >> In December the javadocs build system was updated to generate
>> the
>> > >> >> javadocs
>> > >> >> >> for all in the /all/ subdir, core in /core/ and so on.
>> > >> >> >>
>> > >> >> >> As Hudson in its nightly build does not delete the old javadocs
>> > >> before
>> > >> >> >> publishing the new ones, there are still a lot of outdated html
>> > >> files
>> > >> >> >> around. Even the robots.txt did not yet remove them all from
>> > Google
>> > >> and
>> > >> >> >> some
>> > >> >> >> links on webpages link still to the old docs, e.g.
>> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
>> > >> shows
>> > >> >> >> still
>> > >> >> >> some very outdated (December 20, 2008) docs, whereas
>> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-
>> > trunk/javadoc/all/
>> > >> is
>> > >> >> >> correct. Normally the first link should produce 404/or similar.
>> > >> >> >>
>> > >> >> >> After moving TrieRange to core, tomorrow the old docs will be
>> > also
>> > >> >> >> available
>> > >> >> >> until end of days in the /contrib-queries/ and /all/ subdir,
>> but
>> > the
>> > >> >> class
>> > >> >> >> files were deleted short time ago.
>> > >> >> >>
>> > >> >> >> It would be good, if someone could delete the complete javadocs
>> > >> folder
>> > >> >> >> from
>> > >> >> >> Hudson and Hudson would generate a fresh copy during the next
>> > Hudson
>> > >> >> >> build?
>> > >> >> >> Would this be possible? Who has access to Hudson (maybe as
>> > committer
>> > >> I
>> > >> >> >> have
>> > >> >> >> one, not sure).
>> > >> >> >>
>> > >> >> >> Uwe
>> > >> >> >>
>> > >> >> >> -----
>> > >> >> >> Uwe Schindler
>> > >> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
>> > >> >> >> http://www.thetaphi.de
>> > >> >> >> eMail: uwe@thetaphi.de
>> > >> >> >>
>> > >> >> >>
>> > >> >> >>
>> > >> >> >> ---------------------------------------------------------------
>> --
>> > ---
>> > >> -
>> > >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > >> >> >> For additional commands, e-mail: java-dev-
>> help@lucene.apache.org
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> > ----------------------------------------------------------------
>> --
>> > ---
>> > >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> > >> >> >
>> > >> >> >
>> > >> >>
>> > >> >> ------------------------------------------------------------------
>> --
>> > -
>> > >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> > >> >
>> > >> >
>> > >> >
>> > >> > -------------------------------------------------------------------
>> --
>> > >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> > >> >
>> > >> >
>> > >>
>> > >> ---------------------------------------------------------------------
>> > >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> > >
>> > >
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>

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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
Slightly extended patch, the spezial bdb contrib is now also supported...

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Wednesday, June 24, 2009 3:24 PM
> To: java-dev@lucene.apache.org
> Subject: RE: Deleting old javadoc files on Hudson
> 
> How about this solution (patch for trunk)? It advises ant to build the
> index.html file after the global javadocs-target. The index file produced
> should be automatically copied by Hudson.
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> > -----Original Message-----
> > From: Michael McCandless [mailto:lucene@mikemccandless.com]
> > Sent: Wednesday, June 24, 2009 2:32 PM
> > To: java-dev@lucene.apache.org
> > Subject: Re: Deleting old javadoc files on Hudson
> >
> > OK wanna work one out and I'll install?
> >
> > Mike
> >
> > On Wed, Jun 24, 2009 at 6:47 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> > > Fine, have seen this.
> > >
> > > Maybe we should add an index.html to the main javadocs folder on
> Hudson
> > or
> > > directly into trunk (list of doc modules) to prevent 404 when clicking
> > on
> > > the javadocs link.
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen
> > > http://www.thetaphi.de
> > > eMail: uwe@thetaphi.de
> > >
> > >> -----Original Message-----
> > >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> > >> Sent: Wednesday, June 24, 2009 11:44 AM
> > >> To: java-dev@lucene.apache.org
> > >> Subject: Re: Deleting old javadoc files on Hudson
> > >>
> > >> OK I agree we should remove the way-old files leftover from our
> > >> cutover to all/core/contrib subdir switch back in December.
> > >>
> > >> And it does seem simplest to just move the current javadoc dir out of
> > >> the way and let the next build repopulate.
> > >>
> > >> So I just did that.
> > >>
> > >> Mike
> > >>
> > >> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de>
> wrote:
> > >> > We had this problem in this list before (I wanted to refresh this
> > thread
> > >> as
> > >> > there came out no solution):
> > >> >
> > >> > Hoss said:
> > >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
> > >> >
> > >> > I suggested to remove with "rm -rf", but nobody had an idea to do
> > this
> > >> > automatically:
> > >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
> > >> >
> > >> > I could try to find out, how to enforce the ANT build to add an
> empty
> > >> > index.html in the main build/docs folder that links to the
> > >> subdirectories
> > >> > "core", "contrib-xxxx", "all"
> > >> >
> > >> > This would present the Javadocs correct in Hudson behind the
> Javadocs
> > >> link,
> > >> > but still old files are not deleted.
> > >> >
> > >> > -----
> > >> > Uwe Schindler
> > >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > >> > http://www.thetaphi.de
> > >> > eMail: uwe@thetaphi.de
> > >> >
> > >> >> -----Original Message-----
> > >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> > >> >> Sent: Monday, June 22, 2009 11:59 AM
> > >> >> To: java-dev@lucene.apache.org
> > >> >> Subject: Re: Deleting old javadoc files on Hudson
> > >> >>
> > >> >> I agree we should clean this up.  I have access to Hudson, and
> > >> >> permissions to delete the stale files.
> > >> >>
> > >> >> But: can we somehow fix Hudson's job to remove the old javadocs
> > before
> > >> >> it copies the new ones in?  (So we don't have to keep doing this
> > >> >> manually going foreward).
> > >> >>
> > >> >> Mike
> > >> >>
> > >> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de>
> > wrote:
> > >> >> > Does nobody has a solutions/idea for this? I just want to
> > cleanup...
> > >> >> >
> > >> >> > -----
> > >> >> > Uwe Schindler
> > >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > >> >> > http://www.thetaphi.de
> > >> >> > eMail: uwe@thetaphi.de
> > >> >> >
> > >> >> >> -----Original Message-----
> > >> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> > >> >> >> Sent: Friday, June 19, 2009 3:08 PM
> > >> >> >> To: java-dev@lucene.apache.org
> > >> >> >> Subject: Deleting old javadoc files on Hudson
> > >> >> >>
> > >> >> >> Hallo,
> > >> >> >>
> > >> >> >> In December the javadocs build system was updated to generate
> the
> > >> >> javadocs
> > >> >> >> for all in the /all/ subdir, core in /core/ and so on.
> > >> >> >>
> > >> >> >> As Hudson in its nightly build does not delete the old javadocs
> > >> before
> > >> >> >> publishing the new ones, there are still a lot of outdated html
> > >> files
> > >> >> >> around. Even the robots.txt did not yet remove them all from
> > Google
> > >> and
> > >> >> >> some
> > >> >> >> links on webpages link still to the old docs, e.g.
> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
> > >> shows
> > >> >> >> still
> > >> >> >> some very outdated (December 20, 2008) docs, whereas
> > >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-
> > trunk/javadoc/all/
> > >> is
> > >> >> >> correct. Normally the first link should produce 404/or similar.
> > >> >> >>
> > >> >> >> After moving TrieRange to core, tomorrow the old docs will be
> > also
> > >> >> >> available
> > >> >> >> until end of days in the /contrib-queries/ and /all/ subdir,
> but
> > the
> > >> >> class
> > >> >> >> files were deleted short time ago.
> > >> >> >>
> > >> >> >> It would be good, if someone could delete the complete javadocs
> > >> folder
> > >> >> >> from
> > >> >> >> Hudson and Hudson would generate a fresh copy during the next
> > Hudson
> > >> >> >> build?
> > >> >> >> Would this be possible? Who has access to Hudson (maybe as
> > committer
> > >> I
> > >> >> >> have
> > >> >> >> one, not sure).
> > >> >> >>
> > >> >> >> Uwe
> > >> >> >>
> > >> >> >> -----
> > >> >> >> Uwe Schindler
> > >> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> > >> >> >> http://www.thetaphi.de
> > >> >> >> eMail: uwe@thetaphi.de
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >> >> ---------------------------------------------------------------
> --
> > ---
> > >> -
> > >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > >> >> >> For additional commands, e-mail: java-dev-
> help@lucene.apache.org
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > ----------------------------------------------------------------
> --
> > ---
> > >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> > >> >> >
> > >> >> >
> > >> >>
> > >> >> ------------------------------------------------------------------
> --
> > -
> > >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> > >> >
> > >> >
> > >> >
> > >> > -------------------------------------------------------------------
> --
> > >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> > >> >
> > >> >
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-dev-help@lucene.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
How about this solution (patch for trunk)? It advises ant to build the
index.html file after the global javadocs-target. The index file produced
should be automatically copied by Hudson.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Wednesday, June 24, 2009 2:32 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Deleting old javadoc files on Hudson
> 
> OK wanna work one out and I'll install?
> 
> Mike
> 
> On Wed, Jun 24, 2009 at 6:47 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> > Fine, have seen this.
> >
> > Maybe we should add an index.html to the main javadocs folder on Hudson
> or
> > directly into trunk (list of doc modules) to prevent 404 when clicking
> on
> > the javadocs link.
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Wednesday, June 24, 2009 11:44 AM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Deleting old javadoc files on Hudson
> >>
> >> OK I agree we should remove the way-old files leftover from our
> >> cutover to all/core/contrib subdir switch back in December.
> >>
> >> And it does seem simplest to just move the current javadoc dir out of
> >> the way and let the next build repopulate.
> >>
> >> So I just did that.
> >>
> >> Mike
> >>
> >> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> >> > We had this problem in this list before (I wanted to refresh this
> thread
> >> as
> >> > there came out no solution):
> >> >
> >> > Hoss said:
> >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
> >> >
> >> > I suggested to remove with "rm -rf", but nobody had an idea to do
> this
> >> > automatically:
> >> > http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
> >> >
> >> > I could try to find out, how to enforce the ANT build to add an empty
> >> > index.html in the main build/docs folder that links to the
> >> subdirectories
> >> > "core", "contrib-xxxx", "all"
> >> >
> >> > This would present the Javadocs correct in Hudson behind the Javadocs
> >> link,
> >> > but still old files are not deleted.
> >> >
> >> > -----
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: uwe@thetaphi.de
> >> >
> >> >> -----Original Message-----
> >> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> >> Sent: Monday, June 22, 2009 11:59 AM
> >> >> To: java-dev@lucene.apache.org
> >> >> Subject: Re: Deleting old javadoc files on Hudson
> >> >>
> >> >> I agree we should clean this up.  I have access to Hudson, and
> >> >> permissions to delete the stale files.
> >> >>
> >> >> But: can we somehow fix Hudson's job to remove the old javadocs
> before
> >> >> it copies the new ones in?  (So we don't have to keep doing this
> >> >> manually going foreward).
> >> >>
> >> >> Mike
> >> >>
> >> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de>
> wrote:
> >> >> > Does nobody has a solutions/idea for this? I just want to
> cleanup...
> >> >> >
> >> >> > -----
> >> >> > Uwe Schindler
> >> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> > http://www.thetaphi.de
> >> >> > eMail: uwe@thetaphi.de
> >> >> >
> >> >> >> -----Original Message-----
> >> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> >> >> Sent: Friday, June 19, 2009 3:08 PM
> >> >> >> To: java-dev@lucene.apache.org
> >> >> >> Subject: Deleting old javadoc files on Hudson
> >> >> >>
> >> >> >> Hallo,
> >> >> >>
> >> >> >> In December the javadocs build system was updated to generate the
> >> >> javadocs
> >> >> >> for all in the /all/ subdir, core in /core/ and so on.
> >> >> >>
> >> >> >> As Hudson in its nightly build does not delete the old javadocs
> >> before
> >> >> >> publishing the new ones, there are still a lot of outdated html
> >> files
> >> >> >> around. Even the robots.txt did not yet remove them all from
> Google
> >> and
> >> >> >> some
> >> >> >> links on webpages link still to the old docs, e.g.
> >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
> >> shows
> >> >> >> still
> >> >> >> some very outdated (December 20, 2008) docs, whereas
> >> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-
> trunk/javadoc/all/
> >> is
> >> >> >> correct. Normally the first link should produce 404/or similar.
> >> >> >>
> >> >> >> After moving TrieRange to core, tomorrow the old docs will be
> also
> >> >> >> available
> >> >> >> until end of days in the /contrib-queries/ and /all/ subdir, but
> the
> >> >> class
> >> >> >> files were deleted short time ago.
> >> >> >>
> >> >> >> It would be good, if someone could delete the complete javadocs
> >> folder
> >> >> >> from
> >> >> >> Hudson and Hudson would generate a fresh copy during the next
> Hudson
> >> >> >> build?
> >> >> >> Would this be possible? Who has access to Hudson (maybe as
> committer
> >> I
> >> >> >> have
> >> >> >> one, not sure).
> >> >> >>
> >> >> >> Uwe
> >> >> >>
> >> >> >> -----
> >> >> >> Uwe Schindler
> >> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> >> http://www.thetaphi.de
> >> >> >> eMail: uwe@thetaphi.de
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> -----------------------------------------------------------------
> ---
> >> -
> >> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >> > ------------------------------------------------------------------
> ---
> >> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >> --------------------------------------------------------------------
> -
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: Deleting old javadoc files on Hudson

Posted by Michael McCandless <lu...@mikemccandless.com>.
OK wanna work one out and I'll install?

Mike

On Wed, Jun 24, 2009 at 6:47 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> Fine, have seen this.
>
> Maybe we should add an index.html to the main javadocs folder on Hudson or
> directly into trunk (list of doc modules) to prevent 404 when clicking on
> the javadocs link.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Wednesday, June 24, 2009 11:44 AM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Deleting old javadoc files on Hudson
>>
>> OK I agree we should remove the way-old files leftover from our
>> cutover to all/core/contrib subdir switch back in December.
>>
>> And it does seem simplest to just move the current javadoc dir out of
>> the way and let the next build repopulate.
>>
>> So I just did that.
>>
>> Mike
>>
>> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
>> > We had this problem in this list before (I wanted to refresh this thread
>> as
>> > there came out no solution):
>> >
>> > Hoss said:
>> > http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
>> >
>> > I suggested to remove with "rm -rf", but nobody had an idea to do this
>> > automatically:
>> > http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
>> >
>> > I could try to find out, how to enforce the ANT build to add an empty
>> > index.html in the main build/docs folder that links to the
>> subdirectories
>> > "core", "contrib-xxxx", "all"
>> >
>> > This would present the Javadocs correct in Hudson behind the Javadocs
>> link,
>> > but still old files are not deleted.
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >> -----Original Message-----
>> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> >> Sent: Monday, June 22, 2009 11:59 AM
>> >> To: java-dev@lucene.apache.org
>> >> Subject: Re: Deleting old javadoc files on Hudson
>> >>
>> >> I agree we should clean this up.  I have access to Hudson, and
>> >> permissions to delete the stale files.
>> >>
>> >> But: can we somehow fix Hudson's job to remove the old javadocs before
>> >> it copies the new ones in?  (So we don't have to keep doing this
>> >> manually going foreward).
>> >>
>> >> Mike
>> >>
>> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
>> >> > Does nobody has a solutions/idea for this? I just want to cleanup...
>> >> >
>> >> > -----
>> >> > Uwe Schindler
>> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> > http://www.thetaphi.de
>> >> > eMail: uwe@thetaphi.de
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> >> >> Sent: Friday, June 19, 2009 3:08 PM
>> >> >> To: java-dev@lucene.apache.org
>> >> >> Subject: Deleting old javadoc files on Hudson
>> >> >>
>> >> >> Hallo,
>> >> >>
>> >> >> In December the javadocs build system was updated to generate the
>> >> javadocs
>> >> >> for all in the /all/ subdir, core in /core/ and so on.
>> >> >>
>> >> >> As Hudson in its nightly build does not delete the old javadocs
>> before
>> >> >> publishing the new ones, there are still a lot of outdated html
>> files
>> >> >> around. Even the robots.txt did not yet remove them all from Google
>> and
>> >> >> some
>> >> >> links on webpages link still to the old docs, e.g.
>> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
>> shows
>> >> >> still
>> >> >> some very outdated (December 20, 2008) docs, whereas
>> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/
>> is
>> >> >> correct. Normally the first link should produce 404/or similar.
>> >> >>
>> >> >> After moving TrieRange to core, tomorrow the old docs will be also
>> >> >> available
>> >> >> until end of days in the /contrib-queries/ and /all/ subdir, but the
>> >> class
>> >> >> files were deleted short time ago.
>> >> >>
>> >> >> It would be good, if someone could delete the complete javadocs
>> folder
>> >> >> from
>> >> >> Hudson and Hudson would generate a fresh copy during the next Hudson
>> >> >> build?
>> >> >> Would this be possible? Who has access to Hudson (maybe as committer
>> I
>> >> >> have
>> >> >> one, not sure).
>> >> >>
>> >> >> Uwe
>> >> >>
>> >> >> -----
>> >> >> Uwe Schindler
>> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> >> http://www.thetaphi.de
>> >> >> eMail: uwe@thetaphi.de
>> >> >>
>> >> >>
>> >> >>
>> >> >> --------------------------------------------------------------------
>> -
>> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
Fine, have seen this.

Maybe we should add an index.html to the main javadocs folder on Hudson or
directly into trunk (list of doc modules) to prevent 404 when clicking on
the javadocs link.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Wednesday, June 24, 2009 11:44 AM
> To: java-dev@lucene.apache.org
> Subject: Re: Deleting old javadoc files on Hudson
> 
> OK I agree we should remove the way-old files leftover from our
> cutover to all/core/contrib subdir switch back in December.
> 
> And it does seem simplest to just move the current javadoc dir out of
> the way and let the next build repopulate.
> 
> So I just did that.
> 
> Mike
> 
> On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> > We had this problem in this list before (I wanted to refresh this thread
> as
> > there came out no solution):
> >
> > Hoss said:
> > http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
> >
> > I suggested to remove with "rm -rf", but nobody had an idea to do this
> > automatically:
> > http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
> >
> > I could try to find out, how to enforce the ANT build to add an empty
> > index.html in the main build/docs folder that links to the
> subdirectories
> > "core", "contrib-xxxx", "all"
> >
> > This would present the Javadocs correct in Hudson behind the Javadocs
> link,
> > but still old files are not deleted.
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Monday, June 22, 2009 11:59 AM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Deleting old javadoc files on Hudson
> >>
> >> I agree we should clean this up.  I have access to Hudson, and
> >> permissions to delete the stale files.
> >>
> >> But: can we somehow fix Hudson's job to remove the old javadocs before
> >> it copies the new ones in?  (So we don't have to keep doing this
> >> manually going foreward).
> >>
> >> Mike
> >>
> >> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> >> > Does nobody has a solutions/idea for this? I just want to cleanup...
> >> >
> >> > -----
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: uwe@thetaphi.de
> >> >
> >> >> -----Original Message-----
> >> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> >> Sent: Friday, June 19, 2009 3:08 PM
> >> >> To: java-dev@lucene.apache.org
> >> >> Subject: Deleting old javadoc files on Hudson
> >> >>
> >> >> Hallo,
> >> >>
> >> >> In December the javadocs build system was updated to generate the
> >> javadocs
> >> >> for all in the /all/ subdir, core in /core/ and so on.
> >> >>
> >> >> As Hudson in its nightly build does not delete the old javadocs
> before
> >> >> publishing the new ones, there are still a lot of outdated html
> files
> >> >> around. Even the robots.txt did not yet remove them all from Google
> and
> >> >> some
> >> >> links on webpages link still to the old docs, e.g.
> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/
> shows
> >> >> still
> >> >> some very outdated (December 20, 2008) docs, whereas
> >> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/
> is
> >> >> correct. Normally the first link should produce 404/or similar.
> >> >>
> >> >> After moving TrieRange to core, tomorrow the old docs will be also
> >> >> available
> >> >> until end of days in the /contrib-queries/ and /all/ subdir, but the
> >> class
> >> >> files were deleted short time ago.
> >> >>
> >> >> It would be good, if someone could delete the complete javadocs
> folder
> >> >> from
> >> >> Hudson and Hudson would generate a fresh copy during the next Hudson
> >> >> build?
> >> >> Would this be possible? Who has access to Hudson (maybe as committer
> I
> >> >> have
> >> >> one, not sure).
> >> >>
> >> >> Uwe
> >> >>
> >> >> -----
> >> >> Uwe Schindler
> >> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> >> http://www.thetaphi.de
> >> >> eMail: uwe@thetaphi.de
> >> >>
> >> >>
> >> >>
> >> >> --------------------------------------------------------------------
> -
> >> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Deleting old javadoc files on Hudson

Posted by Michael McCandless <lu...@mikemccandless.com>.
OK I agree we should remove the way-old files leftover from our
cutover to all/core/contrib subdir switch back in December.

And it does seem simplest to just move the current javadoc dir out of
the way and let the next build repopulate.

So I just did that.

Mike

On Mon, Jun 22, 2009 at 6:23 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> We had this problem in this list before (I wanted to refresh this thread as
> there came out no solution):
>
> Hoss said:
> http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655
>
> I suggested to remove with "rm -rf", but nobody had an idea to do this
> automatically:
> http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663
>
> I could try to find out, how to enforce the ANT build to add an empty
> index.html in the main build/docs folder that links to the subdirectories
> "core", "contrib-xxxx", "all"
>
> This would present the Javadocs correct in Hudson behind the Javadocs link,
> but still old files are not deleted.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Monday, June 22, 2009 11:59 AM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Deleting old javadoc files on Hudson
>>
>> I agree we should clean this up.  I have access to Hudson, and
>> permissions to delete the stale files.
>>
>> But: can we somehow fix Hudson's job to remove the old javadocs before
>> it copies the new ones in?  (So we don't have to keep doing this
>> manually going foreward).
>>
>> Mike
>>
>> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
>> > Does nobody has a solutions/idea for this? I just want to cleanup...
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >> -----Original Message-----
>> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> >> Sent: Friday, June 19, 2009 3:08 PM
>> >> To: java-dev@lucene.apache.org
>> >> Subject: Deleting old javadoc files on Hudson
>> >>
>> >> Hallo,
>> >>
>> >> In December the javadocs build system was updated to generate the
>> javadocs
>> >> for all in the /all/ subdir, core in /core/ and so on.
>> >>
>> >> As Hudson in its nightly build does not delete the old javadocs before
>> >> publishing the new ones, there are still a lot of outdated html files
>> >> around. Even the robots.txt did not yet remove them all from Google and
>> >> some
>> >> links on webpages link still to the old docs, e.g.
>> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/ shows
>> >> still
>> >> some very outdated (December 20, 2008) docs, whereas
>> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/ is
>> >> correct. Normally the first link should produce 404/or similar.
>> >>
>> >> After moving TrieRange to core, tomorrow the old docs will be also
>> >> available
>> >> until end of days in the /contrib-queries/ and /all/ subdir, but the
>> class
>> >> files were deleted short time ago.
>> >>
>> >> It would be good, if someone could delete the complete javadocs folder
>> >> from
>> >> Hudson and Hudson would generate a fresh copy during the next Hudson
>> >> build?
>> >> Would this be possible? Who has access to Hudson (maybe as committer I
>> >> have
>> >> one, not sure).
>> >>
>> >> Uwe
>> >>
>> >> -----
>> >> Uwe Schindler
>> >> H.-H.-Meier-Allee 63, D-28213 Bremen
>> >> http://www.thetaphi.de
>> >> eMail: uwe@thetaphi.de
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
We had this problem in this list before (I wanted to refresh this thread as
there came out no solution):

Hoss said:
http://www.gossamer-threads.com/lists/lucene/java-dev/70655#70655

I suggested to remove with "rm -rf", but nobody had an idea to do this
automatically:
http://www.gossamer-threads.com/lists/lucene/java-dev/70663#70663

I could try to find out, how to enforce the ANT build to add an empty
index.html in the main build/docs folder that links to the subdirectories
"core", "contrib-xxxx", "all"

This would present the Javadocs correct in Hudson behind the Javadocs link,
but still old files are not deleted.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Monday, June 22, 2009 11:59 AM
> To: java-dev@lucene.apache.org
> Subject: Re: Deleting old javadoc files on Hudson
> 
> I agree we should clean this up.  I have access to Hudson, and
> permissions to delete the stale files.
> 
> But: can we somehow fix Hudson's job to remove the old javadocs before
> it copies the new ones in?  (So we don't have to keep doing this
> manually going foreward).
> 
> Mike
> 
> On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> > Does nobody has a solutions/idea for this? I just want to cleanup...
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> Sent: Friday, June 19, 2009 3:08 PM
> >> To: java-dev@lucene.apache.org
> >> Subject: Deleting old javadoc files on Hudson
> >>
> >> Hallo,
> >>
> >> In December the javadocs build system was updated to generate the
> javadocs
> >> for all in the /all/ subdir, core in /core/ and so on.
> >>
> >> As Hudson in its nightly build does not delete the old javadocs before
> >> publishing the new ones, there are still a lot of outdated html files
> >> around. Even the robots.txt did not yet remove them all from Google and
> >> some
> >> links on webpages link still to the old docs, e.g.
> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/ shows
> >> still
> >> some very outdated (December 20, 2008) docs, whereas
> >> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/ is
> >> correct. Normally the first link should produce 404/or similar.
> >>
> >> After moving TrieRange to core, tomorrow the old docs will be also
> >> available
> >> until end of days in the /contrib-queries/ and /all/ subdir, but the
> class
> >> files were deleted short time ago.
> >>
> >> It would be good, if someone could delete the complete javadocs folder
> >> from
> >> Hudson and Hudson would generate a fresh copy during the next Hudson
> >> build?
> >> Would this be possible? Who has access to Hudson (maybe as committer I
> >> have
> >> one, not sure).
> >>
> >> Uwe
> >>
> >> -----
> >> Uwe Schindler
> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> http://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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


Re: Deleting old javadoc files on Hudson

Posted by Michael McCandless <lu...@mikemccandless.com>.
I agree we should clean this up.  I have access to Hudson, and
permissions to delete the stale files.

But: can we somehow fix Hudson's job to remove the old javadocs before
it copies the new ones in?  (So we don't have to keep doing this
manually going foreward).

Mike

On Mon, Jun 22, 2009 at 5:42 AM, Uwe Schindler<uw...@thetaphi.de> wrote:
> Does nobody has a solutions/idea for this? I just want to cleanup...
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Friday, June 19, 2009 3:08 PM
>> To: java-dev@lucene.apache.org
>> Subject: Deleting old javadoc files on Hudson
>>
>> Hallo,
>>
>> In December the javadocs build system was updated to generate the javadocs
>> for all in the /all/ subdir, core in /core/ and so on.
>>
>> As Hudson in its nightly build does not delete the old javadocs before
>> publishing the new ones, there are still a lot of outdated html files
>> around. Even the robots.txt did not yet remove them all from Google and
>> some
>> links on webpages link still to the old docs, e.g.
>> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/ shows
>> still
>> some very outdated (December 20, 2008) docs, whereas
>> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/ is
>> correct. Normally the first link should produce 404/or similar.
>>
>> After moving TrieRange to core, tomorrow the old docs will be also
>> available
>> until end of days in the /contrib-queries/ and /all/ subdir, but the class
>> files were deleted short time ago.
>>
>> It would be good, if someone could delete the complete javadocs folder
>> from
>> Hudson and Hudson would generate a fresh copy during the next Hudson
>> build?
>> Would this be possible? Who has access to Hudson (maybe as committer I
>> have
>> one, not sure).
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


RE: Deleting old javadoc files on Hudson

Posted by Uwe Schindler <uw...@thetaphi.de>.
Does nobody has a solutions/idea for this? I just want to cleanup...

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Friday, June 19, 2009 3:08 PM
> To: java-dev@lucene.apache.org
> Subject: Deleting old javadoc files on Hudson
> 
> Hallo,
> 
> In December the javadocs build system was updated to generate the javadocs
> for all in the /all/ subdir, core in /core/ and so on.
> 
> As Hudson in its nightly build does not delete the old javadocs before
> publishing the new ones, there are still a lot of outdated html files
> around. Even the robots.txt did not yet remove them all from Google and
> some
> links on webpages link still to the old docs, e.g.
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/ shows
> still
> some very outdated (December 20, 2008) docs, whereas
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/all/ is
> correct. Normally the first link should produce 404/or similar.
> 
> After moving TrieRange to core, tomorrow the old docs will be also
> available
> until end of days in the /contrib-queries/ and /all/ subdir, but the class
> files were deleted short time ago.
> 
> It would be good, if someone could delete the complete javadocs folder
> from
> Hudson and Hudson would generate a fresh copy during the next Hudson
> build?
> Would this be possible? Who has access to Hudson (maybe as committer I
> have
> one, not sure).
> 
> Uwe
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



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