Hi,
 
What I'm trying to do is simple. In theory. But I can't seen to find any references to it.
 
I have this Ant Task that creates all hbm.xml files for my project and the hibernate.cfg.xml too.
 
I'm supposed to replicate it in a java oriented way, a.k.a. use java classes to do it.
 
I've built the classes already (using classes inherited from XDoclets classes) but when I run the program it generates the hibernate.cfg.xml but doesn't generate any hbm.xml at all. And apparently, no errors occur, since nothing unusual (red error messages) hits the console and the program ends normaly.
 
I think that it may have something to do with the fileset used to point the directory to the program.
 
In the Ant task it has the line "include name=**/*.java" to specify the files that need to be converted. I couldn't find a way to replicate this line in java code using  the FileSet class (but I could set the directory from where the files are taken).
 
Is there a page where I can find references to using these classes? Because once ant is overused, it seens nobody cares to create some sort of tutorial about using it the way I'm trying.
 
Atentiously,
 
Falci
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to