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

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

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 PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFG3xGNAj4n78BmMYRAgj8AKC3GLGuEYzGmTd+KDdm0x5HIzW10ACfUcMg
aowhZJxDqRF0boFXjBVXO7s=
=QfBJ
-----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: