Hi Jim,
        You should insert into the xdoclet classpath (the classpath for the
task) but don't forget to drop into the same package (sometimes ex,
/Classes.jelly) is used, but that refers to same package as calling script.

It should work this way.

Regards
Diogo

-----------------------------------
Diogo Bacelar Quintela
EF - Tecnologias de Informação, Lda.
Av. António Serpa, 26 - 4º Dto.
1050-027 Lisboa, Portugal
Tel: (+351) 217 827 800
Fax: (+351) 217 827 830
Email: [EMAIL PROTECTED]
PGP: 0xF51A5AB9 
> -----Original Message-----
> From: Jim JXR [mailto:[EMAIL PROTECTED]
> Sent: segunda-feira, 21 de Novembro de 2005 3:58
> To: [email protected]
> Subject: [xdoclet-user] How to override a jelly template in the jar?
> 
> Hi,
> 
> I'm looking for a way to substitute the packaged jelly
> template in a plugin jar with my own version, without
> having to rebuild the jar file itself. I need to do
> this for hibernate plugin so that I can generate id
> column names in the following format: <table_name>_id
> 
> When I'm using version 1.0, I can just put a
> Class.jelly on the front of the build classpath in Ant
> (something like <path><pathelement location="my
> Class.jelly"/><fileset>xdoclet2's
> jars</fileset></path>), and the plugin would pick that
> up and use it instead of the one inside the jar. But
> with 1.0.2, this doesn't seem to work anymore. Is
> there a standard way to do what I intended to do?
> 
> Thanks
> 
> 
> 
> 
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to