You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2006/02/07 15:38:52 UTC
svn commit: r375612 - /directory/trunks/sh-scripts/modules.sh
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 = *