You need to get xdoclet-all as the "module", xdoclet needs the xjavadoc in a parallel directory.
This includes the xdoclet source, xjavadoc, and something about xdocletgui which I know nothing about.
Assume you are in /usr/java (just for example). I actually build on a win2k system, as long as there are no spaces in the path things should work just as well.


cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/xdoclet login
(just hit enter, no password needed)
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/xdoclet co xdoclet-all


Under /usr/java/xdoclet-all you have xdoclet, xdocletgui, and xjavadoc

cd into /usr/java/xdoclet and just "ant", the default target will build your distribution.

Andre Selton wrote:

--- Kevin Hagel <[EMAIL PROTECTED]> wrote:


Are you using cvs head version of xdoclet?
I've published this on one of my servers, built from
the latest & greatest cvs head version XDoclet 1.2




http://hagelnx.com/hagelnx-site/reference/xdoclet/ant/xdoclet/modules/hibernate/HibernateCfgSubTask.html


I find this hibernatecfg task very useful, it
discovers the mapping files for you, builds a <hibernate-configuration>
that you can load as a single resource.
Unfortunately you will not find it in the standard
xdoclet binary distribution.



This is exactly what I am looking for.
Sorry but I do not understand, the source code for
this is on the last CVS code ?


Andre Selton wrote:



--- Konstantin Priblouda <[EMAIL PROTECTED]>


wrote:






After all, when xdoclet generates it it just does
not
matter if it is one, or more. It ends up buried


deep


into package hierarchy of distribution jar file, and hibernate loads it automagically.





I was reading on this message :



http://www.mail-archive.com/[EMAIL PROTECTED]/msg07546.html


I am a newbie hibernate developer, so I can be
missing something obvious.

But have we a way of load all classes with a


single


command with one mapping file per class.
If I have a single file I can do a simple :

Configuration cfg = new


Configuration().addResource("hibernate.xml",this.getClass().getClassLoader());


to load all my configurations.

But with many config files I need to do :

Configuration cfg = new


Configuration().addClass(MyClass1.class).addClass(MyClass2.class).addClass(MyClass3.class);


It can find the mapping files, but I need to tell
the name of each class in the process. I do not


think


this is the automagically feature Konstantin was
talking about.
How this magic happens ?




__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to