You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/22 02:11:51 UTC
cvs commit: jakarta-turbine-maven/src/java/org/apache/maven CreatePath.java CreatePatternSet.java CreateReference.java StringUtil.java
jvanzyl 02/02/21 17:11:51
Modified: . build-bootstrap.xml
Added: . build-bootstrap.sh
Removed: src/java/org/apache/maven CreatePath.java
CreatePatternSet.java CreateReference.java
StringUtil.java
Log:
- still working on the bootstrap, just have to to finish the
ProjectPropertiesTask
Revision Changes Path
1.3 +3 -40 jakarta-turbine-maven/build-bootstrap.xml
Index: build-bootstrap.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build-bootstrap.xml 21 Feb 2002 21:06:30 -0000 1.2
+++ build-bootstrap.xml 22 Feb 2002 01:11:51 -0000 1.3
@@ -4,46 +4,10 @@
<!-- Allow any user specific values to override the defaults -->
<property file="${user.home}/build.properties" />
- <!-- Allow user defaults for this project -->
- <property file="build.properties" />
- <!-- Set default values for the build -->
- <property file="default.properties" />
- <!-- Construct compile classpath -->
- <path id="classpath">
- <pathelement location="${dom4j.jar}"/>
- <pathelement location="${commons-beanutils.jar}"/>
- <pathelement location="${commons-collections.jar}"/>
- <pathelement location="${commons-util.jar}"/>
- <pathelement location="${commons-graph.jar}"/>
- <pathelement location="${velocity.jar}"/>
- <pathelement location="${log4j.jar}"/>
- <pathelement location="${stratum.jar}"/>
- <pathelement location="${dom4j.jar}"/>
- <pathelement location="${build.dest}"/>
- </path>
-
- <!-- ================================================================== -->
- <!-- E N V I R O N M E N T -->
<!-- ================================================================== -->
-
- <target name="env">
- <echo message="java.home = ${java.home}"/>
- <echo message="user.home = ${user.home}"/>
- <echo message="lib.repo = ${lib.repo}"/>
-
- <echo message="${commons-graph.jar}"/>
- </target>
-
+ <!-- G E N E R A T E B U I L D S Y S T E M -->
<!-- ================================================================== -->
- <!-- U S A G E -->
- <!-- ================================================================== -->
-
- <target
- name="usage">
-
- <echo message="use -projecthelp to see the available targets"/>
- </target>
<target
name="generate-build">
@@ -52,14 +16,13 @@
<taskdef
name="create-build-system"
- classname="org.apache.maven.build.CreateBuildSystem">
- <classpath refid="classpath"/>
+ classname="org.apache.maven.build.BaseProjectTask">
</taskdef>
<create-build-system
controlTemplate="Control.vm"
outputDirectory="./work"
- templatePath="${src.dir}/templates/build"
+ templatePath="src/templates/build"
outputFile="bootstrap.report"
projectDescriptor="project-maven.xml"
/>
1.1 jakarta-turbine-maven/build-bootstrap.sh
Index: build-bootstrap.sh
===================================================================
#!/bin/sh
[ -z $LIB_REPO ] && echo '$LIB_REPO must be defined!' && exit
BOOTSTRAP_JARS="dom4j-1.1.jar\
commons-util-0.1-dev.jar\
commons-beanutils.jar\
commons-collections.jar\
commons-graph.jar\
log4j-1.1.3.jar\
stratum-0.1-dev.jar\
velocity-1.3-dev.jar"
for JAR in $BOOTSTRAP_JARS
do
CLASSPATH=$CLASSPATH:${LIB_REPO}/${JAR}
done
# Bootstrap directory of classes needed to generate the
# build system.
rm -rf bootstrap
mkdir bootstrap
# Need Ant
CLASSPATH=$CLASSPATH:bootstrap:$ANT_HOME/lib/ant.jar
echo $CLASSPATH
$JAVA_HOME/bin/javac -classpath $CLASSPATH -d bootstrap \
src/java/org/apache/maven/project/*.java \
src/java/org/apache/maven/build/*.java
ant -buildfile build-bootstrap.xml
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>