Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Website and Downloads updates; question for Dave

On Mon, Dec 09, 2002 at 06:49:21PM -0500, Jim Wright - IBM Research wrote:
> I've just checked in a number of changes to the Downloads area,
> and updated the What's New page to describe all recent changes to Downloads.
> Dave -
> 
> I merged in the change you just made, so that current/index.html lists your 
> 2002-12-09 build.
> However -- you'll note I made a lot of changes to this page, to include 
> various Eclipse-related downloads.
> 
>  From your last post, it sounds like you have some kind of automated system 
> for updating the
> current/index.html file.  If my Eclipse-related additions cause a problem 
> for your update process,
> I can move the Eclipse stuff to a new page, and modify downloads/index.html 
> accordingly.
> 
> Please advise  --
> 

Jim,

current.xml target "download" updates the download/current directory. It starts
with three files:

  opener  start of index.html
  files   current file list
  closer  end of index.html

and then

  copies the new tar files to this directory
  adds new files at front of 'files' 
  generates new index.html by code equivalent to (though written in Ant)
    cat opener files closer >index.html

I have just checked in

  current.xml  to write in new format 
  files        html for current files, but in new format
  opener       based on opening part of your revised index.html
  closer       based on closing part of your revised index.html
  index.html   concatentation of revised opener, files, closer

If you want to edit index.html, you should really edit 'opener' and 'closer' as
appropriate, and then do
  cat opener files closer >index.html
as noted above. It would be better if we could integrate your builds into the
ant script so it all could be done automatically.

dave

-- 
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx. 


Back to the top