The Royal Nick Humphrey Global World IT Forum, Home Edition  

Go Back   The Royal Nick Humphrey Global World IT Forum, Home Edition > Webutvikling Forum > Ajax forum > W3C Forum > XML, XSL/XSLT, XSL-FO og XPath forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-10, 14:03
Nickleus's Avatar
Nickleus Nickleus is offline
Nick Humphrey - Admin
 
Join Date: 06 Apr 2004
Location: Noreg
Posts: 2,794
Send a message via MSN to Nickleus Send a message via Skype™ to Nickleus
Default ant xdoclet template not outputting / no output

i was having trouble getting xdoclet / template to output even though the build exited without errors / successfully. i found out i had to write it like this to get it to work:
Code:
<xdoclet destdir="${root}">
    <fileset dir="${root}/java" includes="com/myapp/persistentservices/transagreement/daoimpl/*.java"/>
    <template templateFile="generator_springdaoconf.xdt" destinationfile="${myapp.conf.dir}/hbm_dao_config.spring.xml"/>
</xdoclet>
destinationfile is relative to xdoclet:destdir, but templateFile is NOT! kind of wacky if you ask me...

heres a tree of the files to help you see the relationships:
/root
-/build_files
--build.xml
--generator_springdaoconf.xdt
-/java
-/myapp_conf
--hbm_dao_config.spring.xml
__________________
Nick Humphrey
Download for free my experimental music, art, poetry and pictures.
My album Classic E B-sides can be purchased on both itunes and amazon.com.
Help me improve my phrasebook of world languages.
I offer remote healing services.
My blog.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
growisofs unable to WRITE@LBA=0h: Input/output error write failed: Input/output error Nickleus Ubuntu Linux forum 0 18-01-08 13:00
application output in DOS window seems stuck Nickleus Microsoft Windows Forum 0 01-11-07 12:00
wscript - hvordan skrive ut output på konsollvinduet Nickleus Microsoft Windows Forum 0 04-10-06 14:10
Linux bash - redirecting av output (stdout) og error (stderr) - 2>&1 Nickleus Linux bash forum 0 12-05-06 13:37
MSDOS - sortere dir output ved dato Nickleus Microsoft Windows Forum 0 21-07-04 16:37


All times are GMT +2. The time now is 04:03.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Check out my phrasebook
All rights reserved 2004-2009