update bootstrap build script

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163078 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2004-09-15 11:03:12 +00:00
parent bc287e0e8b
commit 46b377de67
3 changed files with 15 additions and 28 deletions

View File

@ -1,13 +1,15 @@
#!/bin/sh #!/bin/sh
buildDir=target buildDir=target
classesDir=${buildDir}/classes
srcDir=src/main/java
rm -rf ${buildDir} > /dev/null 2>&1 rm -rf ${buildDir} > /dev/null 2>&1
mkdir ${buildDir} mkdir -p ${classesDir}
javac -d ${buildDir} @sources.txt javac -d ${classesDir} ${srcDir}/*.java
( cd ${buildDir} ; jar -cfm ../mboot.jar ../manifest.txt * ) ( cd ${classesDir} ; jar -cfm ../mboot.jar ../../manifest.txt * )
cp mboot.jar .. cp ${buildDir}/mboot.jar ..

View File

@ -1,15 +1,19 @@
@echo off @echo off
set buildDir=target set buildDir=target
set classesDir=%buildDir%\classes
set srcDir=src\main\java
if exist %classesDir% rmdir /S/Q %buildDir%
if exist %buildDir% rmdir /S/Q %buildDir% if exist %buildDir% rmdir /S/Q %buildDir%
mkdir %buildDir% mkdir %buildDir%
mkdir %classesDir%
%JAVA_HOME%\bin\javac -d %buildDir% @sources.txt %JAVA_HOME%\bin\javac -d %classesDir% %srcDir%\*.java
cd %buildDir% cd %classesDir%
%JAVA_HOME%\bin\jar -cfm ..\mboot.jar ..\manifest.txt * %JAVA_HOME%\bin\jar -cfm ..\mboot.jar ..\..\manifest.txt *.*
cd .. cd ..\..
copy mboot.jar .. copy %buildDir%\mboot.jar ..

View File

@ -1,19 +0,0 @@
src/main/java/ArtifactDownloader.java
src/main/java/Base64.java
src/main/java/FileUtils.java
src/main/java/HttpUtils.java
src/main/java/IsolatedClassLoader.java
src/main/java/JavacCompiler.java
src/main/java/AbstractCompiler.java
src/main/java/CompilerError.java
src/main/java/StreamPumper.java
src/main/java/DirectoryScanner.java
src/main/java/SelectorUtils.java
src/main/java/MBoot.java
src/main/java/SurefirePlugin.java
src/main/java/JarMojo.java
src/main/java/StringUtils.java
src/main/java/IOUtil.java
src/main/java/Commandline.java
src/main/java/SurefireBooter.java
src/main/java/Os.java