Hi,

I wanted to ask about two issues:

1) Some weeks ago I uploaded a new module for xdoclet to JIRA
(XDT-154). However, it is still in assigned state. Since the OJB people
continuously ask me when the module will be part of xdoclet, I wanted to
ask if there is something I can do that would speed up the integration ?

2) I wanted to write unit tests for the aforementioned module as I figured
that xdoclet should be perfectly suited for unit testing being a
straightforward input-output system. However I was not able to write
self-contained tests (e.g. no external files etc.) due to two major
reasons:

* xdoclet is at its core file-based. Although you could work around this
with temporary files, this is clumsy at best. Since I want to call xdoclet
from within a java program (e.g. using the ant and xdoclet api), a
stream-based api would make this a lot easier, and besides would also
allow for using urls to read/write files (e.g. ssh, ftp).

* A much larger problem is the frequent use of singletons. Though
singletons are a good way to keep global state, this makes it impossible
to reset xdoclet since important information about the current source is
kept in global state (for whatever reason). Could you please provide a
means to reset xdoclet completely ?

Greetings,
Tom




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to