Can you show us the exact error that came up?

You should be able to literally copy and paste your existing schema into
your application's lib/ directory and use it thusly.  You'll have to change
the package name unless you put it directly under lib/.

On Tue, Apr 21, 2009 at 10:41 PM, <[email protected]> wrote:

> hi guys,
>  I just looked at my app and found that I need to reuse the Schema
> files found in my 'Schema' directory.
> This is because i need to write some batch scripts which will read the
> data in the databases and output to files in the server.
>
>
> I tried writing a regression test and put in 'use
> MyApp::Schema::SubscriptionPlans;'
>
> The problem was that there was always a 'resolve' error that came up.
>
> Basically, what I am doing is the opposite of "Using existing DBIC
> (etc.) classes with Catalyst" found in
>
> http://search.cpan.org/~hkclark/Catalyst-Manual-5.7020/lib/Catalyst/Manual/Cookbook.pod#___top<http://search.cpan.org/%7Ehkclark/Catalyst-Manual-5.7020/lib/Catalyst/Manual/Cookbook.pod#___top>
> .
>
>
> any ideas?
>
> thank you
>
> K. akimoto
>
>
> _______________________________________________
> 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/
>



-- 
Devin Austin
http://www.codedright.net
http://www.dreamhost.com/r.cgi?326568/hosting.html - Host with DreamHost!
_______________________________________________
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