Snapper - XML Application SourceForge.net Logo  


NAME

snaputil -- Snapper Project Creation Utility


SYNOPSIS

  Create a new project
    snaputil -n|new -d|directory=directory [-m|module=module]
  Explode a snapper application file (NOT IMPLEMENTED)
    snaputil -e|explode -f|file=filename -d|directory=directory
    
  Help
    snaputil -h|help


OPTIONS

n|new
create a new project skeleton

e|explode
explode a snapper application into directory/files

d|directory
output directory for new or exploded project

f|file
input file name, default output.xml or output.pl

m|module
perl module, default Snapper

h|help
this message


DESCRIPTION

Snaputil does several utility functions for snapper programs. Currently snaputil creates an empty project with a sample MAIN window. In the future a reverse compiler will be added.

The skeleton project created can be used as a starting point for snapper projects. The project will contain a MAIN.module directory along with the header directory. A generic startup script will be provided along with a starting glade file.

  % snaputil -n -d sample
  % ls -R sample
  sample:
  MAIN.module/  header/
  sample/MAIN.module:
  scripts/  widget/
  sample/MAIN.module/scripts:
  999_startup.pl
  sample/MAIN.module/widget:
  MAIN.glade
  sample/header:
  project.options  start_script.pl

The following commands will create the project and display the sample window.

  % snaputil -n -d sample
    <.. output messages ..>
  % snapmake -d sample -f sample.pl -c
  % perl sample.pl

The sample hello world window will be displayed.


AUTHOR

Bill Walz, bill@landsharklinux.com


SEE ALSO

perl(1).

Gtk.

Gtk::GladeXML.

GTK http://www.gtk.org/

Glade http://glade.pn.org/

LibGlade http://www.daa.com.au/~james/gnome/


COPYRIGHT

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file, with the exception that it cannot be placed on a CD-ROM or similar media for commercial distribution without the prior approval of the author.

Content owned by Albacore Technology is copyright 1999-2000 Albacore Technology, LLC All rights reserved.