Add bootstrap.deps that contains all dependencies path without repoLocal directory

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-02-13 21:20:58 +00:00
parent 1d25bf0e8a
commit 57113a0329
2 changed files with 7 additions and 0 deletions

View File

@ -267,6 +267,7 @@ buildMavenProject()
then
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.includes > /dev/null 2>&1

View File

@ -86,6 +86,8 @@ public class Bootstrapper
StringBuffer libs = new StringBuffer();
StringBuffer deps = new StringBuffer();
String repoLocal = replace(downloader.getMavenRepoLocal().getPath(), "\\", "/");
String classpathSeparator;
if (repoLocal.indexOf(":") != -1) //Windows
@ -104,11 +106,15 @@ public class Bootstrapper
classPath.append( repoLocal + "/" + getArtifactPath( d, "/" ) + classpathSeparator );
libs.append( repoLocal + "/" + getArtifactPath( d, "/" ) + "\n" );
deps.append( getArtifactPath( d, "/" ) + "\n" );
}
writeFile( "bootstrap.classpath", classPath.toString() );
writeFile( "bootstrap.libs", libs.toString() );
writeFile( "bootstrap.deps", deps.toString() );
}
private void writeUnitTest()