Hi Kenney,

> Well, I think it should be checked, at least. It's easy to lose oversight
> with different directories (see maven-site/src/site/*/developers/).

We could advice about duplicate files, something like:

[WARNING] Some files are duplicates in the site directory or in the
generated-site directory. Review the generation for the following files:
alpha\index
        ${siteDirectory}\apt\alpha\index.apt
        ${siteDirectory}\xdoc\alpha\index.xml
alpha\beta\index
        ${siteDirectory}\apt\alpha\beta\index.apt
        ${siteDirectory}\xdoc\alpha\beta\index.xml
        ${generatedSiteDirectory}\xdoc\alpha\beta\index.xml


Index file should be unique otherwise an exception is thrown.

Any comments?

Cheers,

Vincent

> -----Original Message-----
> From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 26, 2005 9:12 AM
> To: Maven Developers List
> Subject: RE: [jira] Closed: (MNG-588) How to handle identical file names
> in the site structure for the static site generation?
> 
> On Tue, 26 Jul 2005, Vincent Siveton wrote:
> 
> Hi Vincent,
> 
> Well, I think it should be checked, at least. It's easy to lose oversight
> with different directories (see maven-site/src/site/*/developers/).
> 
> Perhaps the directories could be merged, and the file extensions determine
> the type of file it is (or using a 'magic' library) ?
> 
> -- Kenney
> 
> > Hi Kenney,
> >
> > > How about checking for src/apt/page.apt and
> > > src/xdoc/page.xml ( i.e. -> page.html )?
> >
> > Actually, the exception is only for an index file (ie index.*).
> >
> > Do you think that we can do the same thing for all duplicate files?
> > If you still think it's a good idea, I could implement it.
> >
> > Cheers,
> >
> > Vincent
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to