For components it is the same

<component-type type="Component" specification-path="path/to/jwcfile" />

See

http://www.t-deli.com/ (thanks Mind Bridge!)

"Collect pages using Ant"

An Ant task that automatically updates your .application or .library
files with the pages and components defined under a particular
location. It allows you to create your pages in a folder hierarchy
rather than in a single directory, and have them automatically
declared in the Tapestry configuration files as part of the build
process.




On 25/07/05, Olasoji Ajayi <[EMAIL PROTECTED]> wrote:
> Does this mean that the only way to change the default location of a page is
> to put it in the application specification file? is there no way to use some
> pattern matching, for example in the case where you have over a hundred
> pages.
> and how about components?
> ----- Original Message -----
> From: "Enrico Donelli" <[EMAIL PROTECTED]>
> To: "Tapestry users" <[email protected]>
> Sent: Monday, July 25, 2005 10:14 AM
> Subject: Re: Different location for pages and page specifications
> 
> 
> Yes, simply give the location in the .application file.
> 
> As an example:
> 
> <page name="PageName" specification-path="pages/PageName.page" />
> 
> and the specification is searched in WEB-INF/pages/ dir
> 
> Hope this helps.
> 
> Enrico
> 
> On 25/07/05, Aleksej <[EMAIL PROTECTED]> wrote:
> > Is there any way to change default location of pages and components
> > descriptions?
> > For example, to move them form /WEB-INF into /WEB-INF/components or like
> > that?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> 
> Enrico Donelli
> www.enricod.it
> 
> ---------------------------------------------------------------------
> 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]
> 
> 


-- 

Enrico Donelli
www.enricod.it

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

Reply via email to