-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hbmtemplate doesn't find my template
PostPosted: Tue Jul 18, 2006 11:44 am 
Beginner
Beginner

Joined: Fri Sep 09, 2005 5:16 am
Posts: 22
Hello,

I have an ANT file using hibernate tool and the exporter hbmtemplate.
When executing my ant file, hibernate tools fails with the following error:

"org.hibernate.tool.hbm2x.ExporterException: Could not find template with name: build/templates/pojo/basepojo.ftl"

The task is declared as follow:

<property name="templates.dir" value="build/templates"/>
<hbmtemplate destdir="src"
template="${templates.dir}/pojo/basepojo.ftl"
filepattern="{package-name}/base/Base{class-name}.java"
/>

It was working well with an older version of the tool, using velocity. So I really don't understand what I m missing.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.