Author: nbelaevski
Date: 2009-03-24 16:17:31 -0400 (Tue, 24 Mar 2009)
New Revision: 13164
Modified:
trunk/deployRelease.sh
Log:
deployRelease.sh updated to comply with Cygwin
Modified: trunk/deployRelease.sh
===================================================================
--- trunk/deployRelease.sh 2009-03-24 18:55:34 UTC (rev 13163)
+++ trunk/deployRelease.sh 2009-03-24 20:17:31 UTC (rev 13164)
@@ -1,26 +1,32 @@
+settings=~/.m2t/settings.xml
+
+case "`uname`" in
+ CYGWIN*) settings=`cygpath -w $settings` ;;
+esac
+
PROJECT_DIR=`pwd`
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
+mvn -s $settings -P local,docs,release clean deploy -N
cd $PROJECT_DIR/cdk
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/framework
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/ui
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean install
+mvn -s $settings -P local,docs,release clean deploy -N
+mvn -s $settings -P local,docs,release clean install
cd $PROJECT_DIR/docs
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/ui/assembly
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/extensions
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/samples
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
+mvn -s $settings -P local,docs,release clean deploy -N
cd $PROJECT_DIR/samples/laguna
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/glassX
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/darkX
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/richfaces-demo
-mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
+mvn -s $settings -P local,docs,release clean deploy