[dbdoclet] Re: How to start dbdoclet under Windows from Command-Line?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Darya,

there is a typo in your command line. The second o in doobook should be
 a c. Too many o's :-)

javadoc -docletpath
D:\Programme\DocBookDoclet\jars\dbdoclet.jar
- -doclet org.dbdoclet.doclet.do>>>o<<<<book.DocBookDoclet -overview
html/overview.html -properties

Regards
Michael

> Hi Michael,
> 
> thanks for you help.
> 
> In my case there is no space in my path name :( . I am
> still not sure whether this is a javadoc problem.
> 
> Regards,
> Darya
> 
> --- Michael Fuchs <michael.fuchs@xxxxxxxxxxxxxxx>
> schrieb:
> 
> Hello Darya,
> 
> normally there is a space between DocBook and Doclet
> in the path to the
> jar file. Because of this you have to protect the
> path with quotes:
> 
> javadoc -docletpath "D:\Programme\DocBook
> Doclet\jars\dbdoclet.jar"
> -doclet org.dbdoclet.doclet.docbook.DocBookDoclet
> -overview
> html/overview.html -properties dbdoclet.properties
> <PACKAGE>
> 
> Darya Said-Akbari schrieb:
>>>> Hi Michael,
>>>>
>>>> I get the following error:
>>>>
>>>> javadoc: Cannot find doclet class
>>>> org.dbdoclet.doclet.doobook.DocBookDoclet
>>>>
>>>> Is that a javadoc problem?
>>>>
>>>> My command line is:
>>>>
>>>> javadoc -docletpath
>>>> D:\Programme\DocBookDoclet\jars\dbdoclet.jar
> -doclet
>>>> org.dbdoclet.doclet.doobook.DocB
>>>> ookDoclet -overview html/overview.html -properties
>>>> dbdoclet.properties
>>>>
>>>>
>>>> --- Michael Fuchs <michael.fuchs@xxxxxxxxxxxxxxx>
>>>> schrieb:
>>>>
>>>> Hello Darya,
>>>>
>>>> dbdoclet.jar is a doclet for the javadoc tool from
>>>> the JDK
>>>> (http://java.sun.com/j2se/javadoc/index.jsp).
>>>>
>>>> Example:
>>>>
>>>> C:\j2sdk1.4.2_08\bin\javadoc
>>>>         -docletpath
>>>> C:\Programme\dbdoclet\jars\dbdoclet.jar \
>>>>         -doclet
>>>> org.dbdoclet.doclet.doobook.DocBookDoclet \
>>>>         -overview docs/overview.html \
>>>>         -protected \
>>>>         -properties dbdoclet.properties \
>>>>         java.lang
>>>>
>>>> Read manual of javadoc and dboclet for a full
>>>> description of all options.
>>>>
>>>> Regards
>>>> Michael
>>>>
>>>> Darya Said-Akbari schrieb:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I get an error when I try to start dbdoclet
> under
>>>>>>> Windows from command line like:
>>>>>>>
>>>>>>> java -jar
> %DBKDLT_HOME%\jars\jdk1.4\dbdoclet.jar
>>>>>>> I get the following error:
>>>>>>>
>>>>>>> [Logger] Default configuration file
> C:\Dokumente
>>>> und
>>>>>>> Einstellungen\dakbari.4PRODUCTION\.logger.
>>>>>>> Exception in thread "main"
>>>>>>> java.lang.NoSuchMethodError: main
>>>>>>>
>>>>>>> Am I missing anything?
>>>>>>>
>>>>>>> Regards
>>>>>>> Darya
>>>>>>>
>>>>>>>
>>>>>>>                 
>>>>>>>
>> ___________________________________________________________
>>>>>>> Telefonate ohne weitere Kosten vom PC zum PC:
>>>> http://messenger.yahoo.de
>>>>
>>>>>> begin:vcard
> fn:Michael Fuchs
> n:Fuchs;Michael
> email;internet:michael.fuchs@xxxxxxxxxxxxxxx
> tel;work:089 / 189 35 33 20
> tel;fax:089 / 189 35 33 11
> tel;cell:0160 / 784 53 84
> version:2.1
> end:vcard
>>>>>
>> ___________________________________________________________
>>>> Der frühe Vogel fängt den Wurm. Hier gelangen Sie
> zum neuen Yahoo! Mail: http://mail.yahoo.de
> 
>>> begin:vcard
fn:Michael Fuchs
n:Fuchs;Michael
email;internet:michael.fuchs@xxxxxxxxxxxxxxx
tel;work:089 / 189 35 33 20
tel;fax:089 / 189 35 33 11
tel;cell:0160 / 784 53 84
version:2.1
end:vcard
>>
>>

> ___________________________________________________________ 
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFG4DoNAj4n78BmMYRAsqjAKCl+IjoNpV8rhgJLEW3D6DZgxw22ACgrwBu
otsWw0RPFFFRPCjuGQec1GI=
=ojAr
-----END PGP SIGNATURE-----
begin:vcard
fn:Michael Fuchs
n:Fuchs;Michael
email;internet:michael.fuchs@xxxxxxxxxxxxxxx
tel;work:089 / 189 35 33 20
tel;fax:089 / 189 35 33 11
tel;cell:0160 / 784 53 84
version:2.1
end:vcard

Other related posts: