Skip to content
Snippets Groups Projects
Commit 17216884 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

added svnprops.sh script to update svn properties

parent e1535795
No related branches found
No related tags found
No related merge requests found
......@@ -34,3 +34,6 @@ fortiss-*-codestyle These files (fortiss-java-codestyle, fortiss-c-cod
Although not necessary, a manual import is performed the following way (example for java):
'Window' -> 'Preferences' -> 'Java' -> 'Code Style' -> 'Formatter' -> 'Import'
Then please make sure, that the new rule-set 'fortiss' is selected as the active profile.
svnprops.sh Shell script to copy SVN properties from one file to another.
E.g. "./svnprops org.fortiss.tooling.kernel/plugin.xml mayplugin/plugin.xml
#!/bin/sh
ORIG=$1 ; shift ;
[ -e "$ORIG" ] || exit ;
for PROP in `svn pl "$ORIG" | sed -n '2,$p'` ; do
VALUE=`svn pg $PROP "$ORIG"` ;
for FILE ; do
[ -e "$FILE" ] && svn ps $PROP "$VALUE" "$FILE" ;
done
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment