Hi David : I successfully went though it.
> I haven't been able to reproduce that (on Ubuntu). Ant usually does ok > with spaces in paths and doesn't require you to escape spaces. What > environment are you running it in? > I'm using Ubuntu-11.10 32-bit version, Apache Ant(TM) version 1.8.2 compiled on August 19 2011 and docbook-xsl-1.76.1. Can you explain that what is the difference between docbook-xsl-1.76.1 and docbook-xsl-snapshot ? > > Btw., it won't change anything for this problem, but I would use the > latest snapshot release when working with webhelp: > http://snapshots.docbook.org/ Much has been updated and fixed. > I tried using latest docbook-xsl-snapshot (30 March 2012) then it successfully validate the path but got stuck in another place ( build.xml -> 35 line); Buildfile: /home/gihan/Installed-Programes/Programming/DocBook/Myfiles/build.xml validate: [xmlvalidate] 1 file(s) have been successfully validated. clean: [delete] Deleting directory /home/gihan/Installed-Programes/Programming/DocBook/Myfiles/webout chunk: [mkdir] Created dir: /home/gihan/Installed-Programes/Programming/DocBook/Myfiles/webout BUILD FAILED /home/gihan/Installed-Programes/Programming/DocBook/docbook-xsl-snapshot/webhelp/build.xml:35: *stylesheet /home/gihan/Installed-Programes/Programming/DocBook/profiling/profile.xsl doesn't exist.* Total time: 1 minute 20 seconds with the configurations in build.xml <project> <property name="input-xml" value="/home/gihan/Installed-Programes/Programming/DocBook/Myfiles/test.xml"/> <property name="output-dir" value="/home/gihan/Installed-Programes/Programming/DocBook/Myfiles/webout"/> <import file="/home/gihan/Installed-Programes/Programming/* DocBook/docbook-xsl-snapshot/webhelp/build.xml*"/> </project> So, I moved files inside docbook-xsl-snapshot into DocBook and run "ant webhelp". Then it successfully created output. Also I change the 'Myfiles' into 'My files' with a space. Then also it's worked perfectly. Thank you David for your help !. -- Regards Gihan Chanuka Karunarathne Department of Computer Science and Engineering University of Moratuwa Sri Lanka Twitter: https://twitter.com/#!/gihanchanuka LinkedIn: http://lk.linkedin.com/pub/gihan-karunarathne/25/ba3/993
