OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Need to know the format of file path in build.xml - webhelp


Hi David, Kasun :

Also when I tried with using "My\ files" instead of "My files" according to step 6, part a (used the file name as showing in "Terminal"). This time I got another type of error that is saying;

gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/Installed-Programes/Programming/DocBook/My files$ ant webhelp
Buildfile: /home/gihan/Installed-Programes/Programming/DocBook/My files/build.xml
validate:
BUILD FAILED
/home/gihan/Installed-Programes/Programming/DocBook/docbook-xsl-1.76.1/webhelp/build.xml:23: File /home/gihan/Installed-Programes/Programming/DocBook/My/ files/test.xml cannot be read
Total time: 0 seconds

As I understood, the problem came up with trying to include a path which includes directories having "spaces".
Then I tried after rename "My filse" into "Myfiles" then it gets working.
So, can you explain why is happened like that ?
Is there any method to build webhelp even include directories which are having 'spaces' ?

Thank you in Advance !.

On Sun, Apr 1, 2012 at 12:47 AM, gihan karunarathne <gckarunarathne@gmail.com> wrote:
Hi webhelp devs :

I follow the "Generating webhelp output"[1] and I got an error when following step 6, part b.
Before that I successfully created a webhelp output by putting input xml file inside the webhelp-xsl folder (DocBook/docbook-xsl-1.76.1/webhelp/).

But when I go to build it in another directory I got this problem.
I configured build.xml file as in step 6, part a.

<project>
  <property name="input-xml" value="/home/gihan/Installed-Programes/Programming/DocBook/My files/test.xml"/>
  <property name="output-dir" value="/home/gihan/Installed-Programes/Programming/DocBook/My files/webout"/>
  <import file="/home/gihan/Installed-Programes/Programming/DocBook/docbook-xsl-1.76.1/webhelp/build.xml"/>
</project>


Here I put my input file test.xml in directory which called as 'My files'. So I got following error when I run the command "ant webhelp";

Buildfile: /home/gihan/Installed-Programes/Programming/DocBook/My files/build.xml
validate:
BUILD FAILED
/home/gihan/Installed-Programes/Programming/DocBook/docbook-xsl-1.76.1/webhelp/build.xml:23: Could not validate document /home/gihan/Installed-Programes/Programming/DocBook/My files/test.xml
Total time: 6 minutes 30 seconds

If I didn't configure build.xml file properly, please correct me !.

[1]. http://docbook.sourceforge.net/release/xsl/current/webhelp/docs/content/ch02s01.html

--
Regards
Gihan Chanuka Karunarathne
Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka





--
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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]