directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1043840 - in /directory/project/trunk/resources: svn_ignore.sh svn_ignore.txt
Date Thu, 09 Dec 2010 05:28:21 GMT
Author: akarasulu
Date: Thu Dec  9 05:28:20 2010
New Revision: 1043840

URL: http://svn.apache.org/viewvc?rev=1043840&view=rev
Log:
simple script to consistently set the needed svn properties across mvn modules

Added:
    directory/project/trunk/resources/svn_ignore.sh   (with props)
    directory/project/trunk/resources/svn_ignore.txt

Added: directory/project/trunk/resources/svn_ignore.sh
URL: http://svn.apache.org/viewvc/directory/project/trunk/resources/svn_ignore.sh?rev=1043840&view=auto
==============================================================================
--- directory/project/trunk/resources/svn_ignore.sh (added)
+++ directory/project/trunk/resources/svn_ignore.sh Thu Dec  9 05:28:20 2010
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+PROPFILE=`echo $0 | sed -e 's/svn_ignore.sh/svn_ignore.txt/'`
+
+for dir in `find . -type d`; do
+  if [[ -f $dir/pom.xml && -d $dir/.svn ]]; then
+    svn propset svn:ignore -F $PROPFILE $dir 
+  fi;
+done;
+

Propchange: directory/project/trunk/resources/svn_ignore.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: directory/project/trunk/resources/svn_ignore.txt
URL: http://svn.apache.org/viewvc/directory/project/trunk/resources/svn_ignore.txt?rev=1043840&view=auto
==============================================================================
--- directory/project/trunk/resources/svn_ignore.txt (added)
+++ directory/project/trunk/resources/svn_ignore.txt Thu Dec  9 05:28:20 2010
@@ -0,0 +1,8 @@
+target
+.project
+.classpath
+.settings
+eclipse-classes
+*.log
+*.iml
+*.ipr



Mime
View raw message