evenisse 2004/02/13 13:22:12
Modified: maven-core .cvsignore bootstrap.sh
Log:
Fix build on windows.
Revision Changes Path
1.2 +1 -0 maven-components/maven-core/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/maven-components/maven-core/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Feb 2004 23:27:41 -0000 1.1
+++ .cvsignore 13 Feb 2004 21:22:11 -0000 1.2
@@ -3,3 +3,4 @@
target
*.ipr
*.iws
+dist
\ No newline at end of file
1.4 +10 -4 maven-components/maven-core/bootstrap.sh
Index: bootstrap.sh
===================================================================
RCS file: /home/cvs/maven-components/maven-core/bootstrap.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bootstrap.sh 13 Feb 2004 15:18:07 -0000 1.3
+++ bootstrap.sh 13 Feb 2004 21:22:12 -0000 1.4
@@ -15,21 +15,26 @@
cp target/maven*.jar ${DIST}/lib
+repoLocal=`cat bootstrap.repo`
+
+if [ "$cygwin" = "true" ]
+then
+ repoLocal=`cygpath -pu "$repoLocal"`
+fi
+
cp src/bin/* ${DIST}/bin
-libs=`cat bootstrap.libs`
+libs=`cat bootstrap.deps`
cp src/xsd/* ${DIST}
for i in $libs
do
- cp $i ${DIST}/lib
+ cp "$repoLocal/$i" ${DIST}/lib
done
rm -f ${DIST}/lib/junit*.jar > /dev/null 2>&1
# Build the plugins
-repoLocal=`cat bootstrap.repo`
-
for plugin in `cat bootstrap.plugins`
do
@@ -56,6 +61,7 @@
rm -f bootstrap.classpath > /dev/null 2>&1
rm -f bootstrap.libs > /dev/null 2>&1
+rm -f bootstrap.deps > /dev/null 2>&1
rm -f bootstrap.resources > /dev/null 2>&1
rm -f bootstrap.repo > /dev/null 2>&1
rm -f bootstrap.tests.resources > /dev/null 2>&1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]