directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r375612 - /directory/trunks/sh-scripts/modules.sh
Date Tue, 07 Feb 2006 14:38:52 GMT
Author: ersiner
Date: Tue Feb  7 06:38:50 2006
New Revision: 375612

URL: http://svn.apache.org/viewcvs?rev=375612&view=rev
Log:
Added a shell script to list modules of a project discovered from the pom.

Added:
    directory/trunks/sh-scripts/modules.sh   (with props)

Added: directory/trunks/sh-scripts/modules.sh
URL: http://svn.apache.org/viewcvs/directory/trunks/sh-scripts/modules.sh?rev=375612&view=auto
==============================================================================
--- directory/trunks/sh-scripts/modules.sh (added)
+++ directory/trunks/sh-scripts/modules.sh Tue Feb  7 06:38:50 2006
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# This script lists the modules of a project looking
+# at the pom whose name given as a parameter.
+
+xml_grep "/project/modules/module" $1  | grep '<module>.*</module>' | sed 's/.*>\(.*\)<.*/\1/g'

Propchange: directory/trunks/sh-scripts/modules.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message