evenisse    2004/02/13 13:20:58

  Modified:    maven-mboot/src/bash maven.functions
               maven-mboot/src/main Bootstrapper.java
  Log:
  Add bootstrap.deps that contains all dependencies path without repoLocal directory
  
  Revision  Changes    Path
  1.24      +1 -0      maven-components/maven-mboot/src/bash/maven.functions
  
  Index: maven.functions
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot/src/bash/maven.functions,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- maven.functions   13 Feb 2004 09:53:39 -0000      1.23
  +++ maven.functions   13 Feb 2004 21:20:58 -0000      1.24
  @@ -267,6 +267,7 @@
         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
  
  
  
  1.17      +6 -0      maven-components/maven-mboot/src/main/Bootstrapper.java
  
  Index: Bootstrapper.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot/src/main/Bootstrapper.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Bootstrapper.java 13 Feb 2004 09:52:13 -0000      1.16
  +++ Bootstrapper.java 13 Feb 2004 21:20:58 -0000      1.17
  @@ -86,6 +86,8 @@
   
           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 @@
               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()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to