directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r344211 - /directory/eclipse-setup.sh
Date Mon, 14 Nov 2005 20:25:00 GMT
Author: akarasulu
Date: Mon Nov 14 12:24:56 2005
New Revision: 344211

URL: http://svn.apache.org/viewcvs?rev=344211&view=rev
Log:
little script to generate all workspace projects in eclipse for apacheds

Added:
    directory/eclipse-setup.sh   (with props)

Added: directory/eclipse-setup.sh
URL: http://svn.apache.org/viewcvs/directory/eclipse-setup.sh?rev=344211&view=auto
==============================================================================
--- directory/eclipse-setup.sh (added)
+++ directory/eclipse-setup.sh Mon Nov 14 12:24:56 2005
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+total=0;
+
+trunks='./apacheds/trunk|multiproject'
+trunks=$trunks' ./asn1/trunk|multiproject'
+trunks=$trunks' ./clients/kerberos/trunk/client|singleproject'
+trunks=$trunks' ./clients/ldap/trunk|singleproject'
+trunks=$trunks' ./network/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/changepw/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/dhcp/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/dns/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/kerberos/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/ldap/trunk|singleproject'
+trunks=$trunks' ./protocol-providers/ntp/trunk|singleproject'
+trunks=$trunks' ./shared/kerberos/trunk|multiproject'
+trunks=$trunks' ./shared/ldap/trunk|multiproject'
+trunks=$trunks' ./shared/protocol/trunk|multiproject'
+trunks=$trunks' ./standalone/trunk/osgi|multiproject'
+
+for trunk in $trunks; do 
+  base=`echo $trunk | awk -F '|' '{print $1}'`
+  type=`echo $trunk | awk -F '|' '{print $2}'`
+  echo $base '-->' $type ;
+
+  pushd .;
+  cd $base;
+
+  if [ "$type" = 'multiproject' ]; then 
+    maven -Dgoal=eclipse multiproject:goal
+  else
+    maven eclipse 
+  fi
+  popd;
+done;
+

Propchange: directory/eclipse-setup.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message