Another fix for windows.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-02-13 09:53:39 +00:00
parent fbece66bf4
commit 1d25bf0e8a
1 changed files with 8 additions and 2 deletions

View File

@ -193,12 +193,18 @@ buildMavenProject()
isCommandSuccessful $? "Failed running project parser!"
projectDependencyClassPath=`cat bootstrap.classpath`:.
bootstrapClasspath=`cat bootstrap.classpath`
if $cygwin = true; then
bootstrapClasspath=`cygpath -pu "$bootstrapClasspath"`
fi
projectDependencyClassPath=$bootstrapClasspath:.
if [ ! -z $sourceDirectory ] && [ -d $sourceDirectory ]
then
compile $projectDependencyClassPath $buildDest $sourceDirectory
compile "$projectDependencyClassPath" $buildDest $sourceDirectory
isCommandSuccessful $? "Failed compiling classes!"