From: Chris W. <la...@us...> - 2005-02-26 23:06:01
|
Update of /cvsroot/openinteract/OpenInteract2/sample/package In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26511 Modified Files: FILES Added Files: App.pm Removed Files: package.pod Log Message: OIN-72: move 'package.pod' to 'App.pm' so documentation is searchable/viewable using standard tools --- NEW FILE: App.pm --- package OpenInteract2::App::[% class_name %]; use strict; use base qw( Exporter OpenInteract2::App ); use OpenInteract2::Manage; $OpenInteract2::App::[% class_name %]::VERSION = '0.01'; @OpenInteract2::App::[% class_name %]::EXPORT = qw( install ); sub get_brick_name { return '[% package_name %]'; } # Not a method, just an exported sub sub install { my ( $website_dir ) = @_; my $manage = OpenInteract2::Manage->new( 'install_package' ); $manage->param( website_dir => $website_dir ); $manage->param( package_class => __PACKAGE__ ); return $manage->execute; } __END__ =pod =head1 NAME OpenInteract2::App::[% class_name %] - This application will do everything! =head1 SYNOPSIS =head1 DESCRIPTION =head1 OBJECTS No objects created by this application. =head1 ACTIONS No actions defined in this application. =head1 RULESETS No rulesets defined in this application. =head1 TASKS No management tasks defined in this application. =head1 SEE ALSO =head1 AUTHORS Who AmI E<lt>me...@wh...E<gt> =cut Index: FILES =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/package/FILES,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FILES 28 Jan 2005 15:37:09 -0000 1.5 --- FILES 26 Feb 2005 23:05:51 -0000 1.6 *************** *** 7,15 **** package.conf --> package.conf ! package.pod --> doc [% package_name %].pod ! SQLInstall.pm --> OpenInteract2 SQLInstall [% class_name %].pm ! Action.pm --> OpenInteract2 Action [% class_name %].pm spops.ini --> conf spops.ini action.ini --> conf action.ini ! MANIFEST.SKIP --> MANIFEST.SKIP *sample.tmpl --> template sample.tmpl \ No newline at end of file --- 7,15 ---- package.conf --> package.conf ! MANIFEST.SKIP --> MANIFEST.SKIP spops.ini --> conf spops.ini action.ini --> conf action.ini ! SQLInstall.pm --> OpenInteract2 SQLInstall [% class_name %].pm ! Action.pm --> OpenInteract2 Action [% class_name %].pm ! App.pm --> OpenInteract2 App [% class_name %].pm *sample.tmpl --> template sample.tmpl \ No newline at end of file --- package.pod DELETED --- |