[opencms-dev] manifest.xml generation

Dan Moore Dan.Moore at xor.com
Tue Apr 30 05:34:26 CEST 2002


Oops.  I neglected to mention that this script was tested on RH 7.2 with
perl 5.6.0.  But it should work for any reasonably modern perl.

Dan

On Mon, 29 Apr 2002 16:50, Dan Moore wrote:

> Hi folks,
> 
> Browsing throught the opencms archive, I came upon this message:
> 
> http://www.opencms.org/majordomo/opencms-dev/0101/msg00050.html
> 
> which has a perl script which generates a manifest.xml for modules to
> easily import things from the filesystem.  Thanks to Jeroen for putting
> this together.
> 
> Since I like versioning things on the filesystem (I understand CVS, I don't
> yet understand how to successfully version things in a database) I really
> liked this script.  It seemed a bit outdated, so I cleaned it up, made it
> work with 4.6.0, parameterized some options, etc.
> 
> It's still very much a work in progress, but I've attached it in the
> hopes that it will be useful to someone.
> 
> The usage is much the same:
> manifestgen -m modulename -d dir1,dir2 [-u user] [-g group] [-a access] [-o outfile] 
> 
> you can specify the directory where your module starts and it tries to
> delete that prefix.
> 
> For example, if you are in 
> .../foo/bar 
> and your module starts in 
> .../foo/bar/baz/module1
> you'd use this command line:
> manifestgen -m module1 -d .../foo/bar/baz/module1
> 
> Dan
> 

-- 
Dan Moore
Programmer
Seurat

"Reinventing the wheel isn't nearly as bad as having to continually
reconceptualize it..."
   --Bijan Parsia




More information about the opencms-dev mailing list