Re: Doclet ?

2001-12-05 Thread Stefan Bodewig

On Wed, 05 Dec 2001, Cyriaque Dupoirieux
[EMAIL PROTECTED] wrote:

 I have made sevral tries but Ant always tell me that
 there is a bad option -d :

remove the destdir attribute from your javadoc task and Ant will not
try to pass on the -d switch.

Stefan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Doclet ?

2001-12-05 Thread Cyriaque Dupoirieux



Stefan Bodewig wrote:

On Wed, 05 Dec 2001, Cyriaque Dupoirieux
[EMAIL PROTECTED] wrote:

I have made sevral tries but Ant always tell me that
there is a bad option -d :


remove the destdir attribute from your javadoc task and Ant will not
try to pass on the -d switch.

And if I remove the destdir, where will Ant generate my documentation ???
-


Stefan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Cyriaque Dupoirieux mailto:[EMAIL PROTECTED]
PCO Technologies
Burolines - 2 ter rue Marcel Doret
31700 Blagnac
Tél : 05.34.60.44.13 - Fax : 05.34.60.44.10





Re: Doclet ?

2001-12-05 Thread Stefan Bodewig

On Wed, 05 Dec 2001, Cyriaque Dupoirieux
[EMAIL PROTECTED] wrote:

 And if I remove the destdir, where will Ant generate my
 documentation ???

Whatever you tell your doclet.  If your doclet doesn't support the -d
switch, it must have some other means to specify that, use the
additionalparam attribute for that.

Stefan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: doclet extension

2001-07-03 Thread Glenn McAllister

msew wrote:

 Does anyone out there have a link to a good tutorial or even just example
 files of how to easily extend the standard doclet?

To the best of my knowledge, extending the standard doclet isn't that easy.
Admittedly, I looked at it about two years ago, so they may have refactored
it.  The biggest problem though isn't the organization of the doclet
(although that was an absolute mess), its the fact that you
(effectively) never instantiate your doclet - all the methods the javadoc
utility calls have to be static.  Thus, how do you inherit from the standard
doclet to change its capabilities?  The standard answer used to be
duplicate the code and then change what you want.  Not having checked out
the standard doclet in a long time, thats going to have to be my answer too.

 ie you have a @tag and you just want to easily use it in your every day
 javadocing :-)

You think they would have made that easy, wouldn't you. :-)

Glenn McAllister
SOMA Networks, Inc.




RE: doclet extension

2001-07-03 Thread Matt Warman
Title: RE: doclet extension





If you want to create EJB's look at EJBdoclet. It's open source and is integrated with ANT.


-Original Message-
From: Glenn McAllister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 10:03 AM
To: [EMAIL PROTECTED]
Subject: Re: doclet extension



msew wrote:


 Does anyone out there have a link to a good tutorial or even just example
 files of how to easily extend the standard doclet?


To the best of my knowledge, extending the standard doclet isn't that easy.
Admittedly, I looked at it about two years ago, so they may have refactored
it. The biggest problem though isn't the organization of the doclet
(although that was an absolute mess), its the fact that you
(effectively) never instantiate your doclet - all the methods the javadoc
utility calls have to be static. Thus, how do you inherit from the standard
doclet to change its capabilities? The standard answer used to be
duplicate the code and then change what you want. Not having checked out
the standard doclet in a long time, thats going to have to be my answer too.


 ie you have a @tag and you just want to easily use it in your every day
 javadocing :-)


You think they would have made that easy, wouldn't you. :-)


Glenn McAllister
SOMA Networks, Inc.