On Monday 21 December 2009 11:03:38 pm William Immendorf wrote:
> > Advice/suggestions welcomed.
>
> This is what I do:
>
> Vi build.xml, and in the all target, remove the junit in the depends line.
>
Thanks a lot. I tried your suggestion and Initially I had
[exec] BUILD FAILED
[exec] /opt/forrest/main/targets/plugins.xml:374:
Directory /opt/forrest/build/plugins creation was not successful for an
unknown reason
BUILD FAILED
~/sources-lanX161109/fop-0.95/build.xml:1202:
/home/lattice/build09u8/sources-lanX161109/fop-0.95/build/site
not found
Total time: 3 minutes 59 seconds
Though I had forrest (downloaded as a binary) installed so I applied the
SED from here
(http://lfs.linux-mirror.org/blfs/view/cvs/pst/fop.html ) and the build now
reports:-
dist:
BUILD SUCCESSFUL
Total time: 6 minutes 26 seconds
======== checks made shown below:-
root [ ~/sources-lanX161109 ]# ls fop-0.95
KEYS build conf fop fop-0.95-src.zip
known-issues.xml test
LICENSE build.properties dist-bin fop-0.95-bin.tar.gz fop.bat
lib
NOTICE build.xml dist-src fop-0.95-bin.zip forrest.properties
src
README buildOLD.xml examples fop-0.95-src.tar.gz hyph
status.xml
root [ ~/sources-lanX161109 ]# ls fop-0.95/dist-bin
fop-0.95
root [ ~/sources-lanX161109 ]# ls fop-0.95/dist-bin/fop-0.95
KEYS LICENSE NOTICE README build conf examples fop fop.bat javadocs
lib status.xml
root [ ~/sources-lanX161109 ]#
=====================
indidently here is a little sed that preserves the original build.xml and
accomplished what you suggested
#############remove reference to junit in build.xml:-
cat build.xml | sed -e 's|"all" depends="package, servlet, transcoder-pkg,
junit"|"all" depends="package, servlet, transcoder-pkg"|g' > build2.xml
mv build.xml buildOLD.xml
mv build2.xml build.xml
#################
(I hope others might find it useful). And oh regarding ~/.foprc if /etc/skel
exists is it not better to create /etc/skel/.foprc?
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page