Re: [Catalyst] nmake manifest

2010-05-12 Thread Octavian Rasnita
Thank you. If I first delete the MANIFEST, the MANIFEST.SKIP is taken into 
consideration the next time I run `nmake manifest`.

I was confused by

"3. make manifest (edit MANIFEST.SKIP and run make manifest again if you'd like 
to exclude certain file patterns)" found on:

http://dev.catalystframework.org/old-wiki/wiki/Faq_ref/

Octavian

- Original Message - 
From: "Florian Ragwitz" 
To: 
Sent: Wednesday, May 12, 2010 7:15 PM
Subject: Re: [Catalyst] nmake manifest


> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] db delete

2010-05-12 Thread Tomas Doran


On 12 May 2010, at 17:12, Stuart Dodds wrote:

This is more of a Catalyst/DBIx problem and i've probably got it wrong
and it should be in the DBIx mailing list, but i know most of you guys
here use both, so hopefully someone can help me out.


Yes, this should be on the DBIC mailing list, sorry.

Also, you mean DBIC, not DBIx (which is a namespace for DBI  
eXtensions, containing many many projects).


Cheers
t0m


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] nmake manifest

2010-05-12 Thread Florian Ragwitz
The manifest target generated by ExtUtils::MakeMaker never removes
entries from MANIFEST unless they're matched by anything in
MANIFEST.SKIP. That's a feature.

To completely regenerate it from scratch you'll have to delete it first.

If you want your manifest target to do something else, you can simply
make your Makefile.PL emit a different manifest target, or just define a
custom target that does what you mean.


-- 
BOFH excuse #336:
the xy axis in the trackball is coordinated with the summer solstice


signature.asc
Description: Digital signature
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] nmake manifest

2010-05-12 Thread Stuart Dodds
I have never managed to get the manifest to remove entries from the
list. Whenever i want to do this i always completely delete the manifest
file and regenerate it from scratch and then the files you dont want to
be included should be picked up from the MANIFEST.SKIP file. If anyone
knows a better way of doing this please say.

Hope it helps.

Stuart.

-Original Message-
From: Octavian Rasnita 
Reply-to: The elegant MVC web framework 
To: The elegant MVC web framework 
Subject: [Catalyst] nmake manifest
Date: Wed, 12 May 2010 19:02:04 +0300

Hello,

I have tried to create a distro for a Catalyst based app, using:

perl Makefile.PL
nmake manifest

(Then I eddited MANIFEST.SKIP, adding ^root as a test), then again:

nmake manifest

But it always returns "'manifest' is up-to-date" and the wanted lines from 
MANIFEST  are not deleted.

Do you have any idea what is the problem? nmake or a Perl module?

(I use ActivePerl 5.10.1 under Windows XP Pro with the latest version of 
Catalyst).

Thanks.

Octavian


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


-- 

==
united-domains AG - The Domain People.
Gautinger Strasse 10
D-82319 Starnberg
Tel. + 49 (0) 81 51 / 3 68 67 - 33
Fax + 49 (0) 81 51 / 3 68 67 - 77
http://www.united-domains.de
--
Sitz: Starnberg, HRB 127020 (AG München)
Vorstand: Florian Huber (Vors.)
Alexander Helm, Markus Eggensperger
Aufsichtsrat: Norbert Lang (Vors.)
==


signature.asc
Description: This is a digitally signed message part
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] nmake manifest

2010-05-12 Thread Octavian Rasnita
Hello,

I have tried to create a distro for a Catalyst based app, using:

perl Makefile.PL
nmake manifest

(Then I eddited MANIFEST.SKIP, adding ^root as a test), then again:

nmake manifest

But it always returns "'manifest' is up-to-date" and the wanted lines from 
MANIFEST  are not deleted.

Do you have any idea what is the problem? nmake or a Perl module?

(I use ActivePerl 5.10.1 under Windows XP Pro with the latest version of 
Catalyst).

Thanks.

Octavian


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] db delete

2010-05-12 Thread Stuart Dodds
Hi,

This is more of a Catalyst/DBIx problem and i've probably got it wrong
and it should be in the DBIx mailing list, but i know most of you guys
here use both, so hopefully someone can help me out.

I recently updated all the Catalyst and DBIx modules on my system and
afterwards i started having problems performing deletes in the database
with Catalyst. I'll go straight ahead and give you the error message:

Caught exception in Project::Controller::TldMethods->delete "Not a HASH
reference at .../perl5/Class/Accessor/Grouped.pm line 284."

this happens after doing the following:

my $object = $c->model('DB::Object')->find($id);
$c->log->debug(ref $object); # Project::Model::DB::Object
$object->delete;

however...i have isolated that this must be something to do with the
Catalyst Model as i dont have any trouble deleting when i just use
straight DBIx:

my $schema = DB->connect( $dsn, $user, $pass, );
my $object = $schema->resultset('Object')->find($id);
print ref($object); # DB::Object 
$object->delete;

...this works properly.

Furthermore, this problem only happens with the delete command on the db
object in Catalyst...all other accessor/update/create methods work fine.

(sorry if this problem has already been posted but i only joined the
mailing list today)

Many thanks,

Stuart.

-- 

==
united-domains AG - The Domain People.
Gautinger Strasse 10
D-82319 Starnberg
Tel. + 49 (0) 81 51 / 3 68 67 - 33
Fax + 49 (0) 81 51 / 3 68 67 - 77
http://www.united-domains.de
--
Sitz: Starnberg, HRB 127020 (AG München)
Vorstand: Florian Huber (Vors.)
Alexander Helm, Markus Eggensperger
Aufsichtsrat: Norbert Lang (Vors.)
==


signature.asc
Description: This is a digitally signed message part
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/