> From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
> On Friday 12 July 2002 12:48, Carsten Ziegeler wrote:
> >. . .
> > If you could make a patch including a samples and docs
> > would be very great!
> >. . .
>
> ok, I've been looking at where the hello.pdf sample comes
> from and it seems like it is defined in two places, both in
> src/webapp/samples/hello-world and src/webapp/samples (see below).
>
> Which is the right place to define an hello.rtf sample? Do I
> need to add it
> in both places?
The samples in 'src/webapp/samples/' are refactored versions of the same
samples from 'src/webapp/doc/samples'.
The samples in 'src/webapp/samples/docs/samples' should be refactored and
where moved here to allow a build without samples.
So, I think that currently the correct option is to place all new samples in
'src/webapp/samples':
- if it is a absolutely new and self contained sample then as a
separate directory (like i18n, mod-db, jsp, xmlform, flow, etc.)
- if it is a addition to simples, like 'hello.rtf' - then in
according directory. In your case it will be
'src/webapp/samples/hello-world'
Konstantin
>
> -Bertrand
>
> results of find src -type f | xargs -n100 grep -i hello.pdf
>
> src/webapp/samples/hello-world/sitemap.xmap:
> <map:match pattern="hello.pdf">
>
> src/webapp/samples/sitemap.xmap:
> <map:match pattern="hello.pdf">
>
> src/webapp/samples/samples.xml:
> <sample name="PDF" href="hello-world/hello.pdf">
>
> src/webapp/samples/docs/samples/samples.xml:
> <sample name="PDF" href="hello.pdf">
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]