svn-gvsig-desktop / trunk / org.gvsig.desktop / src / main / svn / svn.ignore.sh @ 40556
History | View | Annotate | Download (1.2 KB)
1 |
#!/bin/bash |
---|---|
2 |
# |
3 |
# gvSIG. Desktop Geographic Information System. |
4 |
# |
5 |
# Copyright (C) 2007-2013 gvSIG Association. |
6 |
# |
7 |
# This program is free software; you can redistribute it and/or |
8 |
# modify it under the terms of the GNU General Public License |
9 |
# as published by the Free Software Foundation; either version 3 |
10 |
# of the License, or (at your option) any later version. |
11 |
# |
12 |
# This program is distributed in the hope that it will be useful, |
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
# GNU General Public License for more details. |
16 |
# |
17 |
# You should have received a copy of the GNU General Public License |
18 |
# along with this program; if not, write to the Free Software |
19 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
20 |
# MA 02110-1301, USA. |
21 |
# |
22 |
# For any additional information, do not hesitate to contact us |
23 |
# at info AT gvsig.com, or visit our website www.gvsig.com. |
24 |
# |
25 |
|
26 |
# |
27 |
# Add to svn ignore the files generated by eclipse and maven |
28 |
# |
29 |
cd ../../.. |
30 |
EXCLUDE_FILES=$PWD/src/main/svn/svn.ignore.files |
31 |
PROJECTS=$(find $PWD -name pom.xml) |
32 |
for f in $PROJECTS |
33 |
do |
34 |
folder=$(dirname $f) |
35 |
cd $folder |
36 |
pwd |
37 |
svn propset svn:ignore -F $EXCLUDE_FILES . |
38 |
done |
39 |
|