Diff of /trunk/extras/apache-ant/apache-ant-1.8.1-r1.smage2
Parent Directory | Revision Log | Patch
revision 5691 by niro, Wed Aug 4 08:47:39 2010 UTC | revision 5692 by niro, Wed Aug 4 10:04:47 2010 UTC | |
---|---|---|
# | Line 28 UP2DATE="updatecmd http://www.apache.org | Line 28 UP2DATE="updatecmd http://www.apache.org |
28 | src_compile() | src_compile() |
29 | { | { |
30 | cd ${SRCDIR} | cd ${SRCDIR} |
31 | # get junit.jar location from classpath | |
32 | local junit="$(echo ${CLASSPATH} | sed 's/.*:\(.*junit.jar\):.*/\1/')" | |
33 | # and copy it to lib/optional as apache-ant has now a hard-dependency to it | |
34 | echo "Using junit.jar from ${junit}!" | |
35 | cp -v ${junit} ${SRCDIR}/lib/optional/junit.jar || die | |
36 | ||
37 | install -d dist || die | install -d dist || die |
38 | ./build.sh -Ddist.dir=dist/ dist || die | ./build.sh -Ddist.dir=dist/ dist || die |
|