opensubscriber
   Find in this group all groups
 
Unknown more information…

l : log4php-dev@logging.apache.org 7 September 2009 • 1:32AM -0400

How to run just the Doxia plugin?
by Christian Hammers

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi

Can anybody give me a hint how to tell maven to just recreate the *.apt
files without running the phpdoc stuff (26 seconds) as a "mvn site"
does?

I figured that one can probably¹ use
{snippet|file://../../examples/syslog.php}
in an .apt file and
@example ../../examples/php/syslog.php   An example how to use this class
via phpdoc in the class comments.

This way we could keep the examples in ready-to-run .php files which
ensures that they do actually run and have no typos in them (as
copy & paste examples in documentations often have).

bye,

-christian-


¹: probably means that currently mvn throws a not very helpfull
   exception. But it is supposed to work...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.