Hello Tomas and kakimoto,

Please see my response inline..

On Thu, Apr 16, 2009 at 08:46:15AM +0100, Tomas Doran wrote:
>
> On 16 Apr 2009, at 06:57, [email protected] wrote:
>
>>
>>
>> Hi there,
>>  I refered to http://catalyst.infogami.com/cookbook/par. I can't seem 
>> to
>> find the line,
>> "catalyst_files();".
>
> I don't know what you're talking about - as that phrase isn't mentioned 
> anywhere in that document.
>
>>   How do you guys get your PAR files made?
>
> We don't. PAR isn't a recommended deployment method these days.

Tomas,

I must have missed the memo about PAR not being recommend.  Is there
a discussion thread I can read about it?

kakimoto,

Here is a sample of my Makefile.PL

requires 'FCGI';
requires 'Email::Valid';
requires 'YAML';
requires 'Data::Dumper';
requires 'FCGI::ProcManager';
requires 'DateTime::Format::MySQL';

catalyst_ignore('README.*', 'redhat', 'make-rpm');
catalyst_par_classes(
    'FCGI',
    'Email::Valid',
    'YAML',
    'Data::Dumper',
    'FCGI::ProcManager',
    'DateTime::Format::MySQL',
);

I had to explicitly add the listed class to get them included in my PAR.
The rest of the required classes were picked up via dependencies.
The ignore list is for the files that I have in my tree tree that I do
not want added to the PAR.  

>> I assume that par files will get the new server which I want to  
>> install
>> my application to launch CPAN shell to install the extra modules it
>> needs?
>
> No. This idea of a PAR file is that it contains all the dependencies  
> already.
>
> The recommended solution is to build a local::lib with all your  
> dependencies in, and keep this in revision control / ship it with the  
> rest of your application.
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/

-- 
James R. Leu
[email protected]

Attachment: pgp11yXEbEr3x.pgp
Description: PGP signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to