Hi Octavian,
Thank you for your input. I have just find some time to go back to this
problem. Well, I added all these modules in addition to
many others PerlApp gave an error while building. Executable was run
succesfully. However, this time one of my threads was crashing since
DBIx couldn't find my ResultSet.
Maybe my naming scheme was the problem and load_namespaces() didn't like it.
So I gave it a try with
__PACKAGE__->load_classes(qw/Server Device/, {
My::DB::Local::Schema=>["Server","Device"]
}
and it worked.
Thanks again!
On Wed, Feb 16, 2011 at 5:31 PM, Octavian Rasnita <[email protected]> wrote:
> I have succeeded to build a Windows executable using:
>
> perlapp --add=Moose --add=MooseX::NonMoose
> --add=MooseX::NonMoose::Meta::Role::Class
> --add=MooseX::NonMoose::Meta::Role::Constructor --add=namespace::autoclean
> --add=DBIx::Class::Schema test.pl
>
> And the program test.pl is a simple program that uses DBIx::Class.
>
> And it works, although with a low performance because DBIx::Class has a big
> startup lag.
>
> DBIx::Class is appropriate for persistent environments.
>
> Octavian
>
> ----- Original Message -----
> From: "Ogla Sungutay" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, February 16, 2011 2:13 AM
> Subject: [Dbix-class] DBIx::Class with PerlApp
>
>
> > Hi guys,
> >
> > Has anyone had any experience with ActiveState Perl & PerlApp? I build my
> > DBIx::Class project as a Windows executable but PerlApp cannot find or
> > detect
> > the generated source, causing the app to crash.
> >
> > Thanks.
> >
> > --
> > V. Ogla Sungutay,
> > GUI Programmer
> > www.lyciasoft.com
> > skype:oglasungutay
> >
>
>
>
> --------------------------------------------------------------------------------
>
>
> > _______________________________________________
> > List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> > IRC: irc.perl.org#dbix-class
> > SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> > Searchable Archive:
> http://www.grokbase.com/group/[email protected]
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/[email protected]
>
--
--
V. Ogla Sungutay,
GUI Programmer
www.lyciasoft.com
skype:oglasungutay
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]