Hibernate version: 3.0rc1
How can I configure SchemaExportTask, when run from ant, to allow it
to use some user defined entity resolver classes?
I have a mapping file which includes the Hibernate DTD declaration
followed by an external entity definition, which I later use in the file
by referring to it. Problem is, when run from ant, the file indicated as
the external entity is being searched in the directory where ant was
launched from - it does not matter where I place the file (same directory
of the mapping file, root directory of the class path, etc), the file is not
found.
At runtime, I set the Configuration member with my own entity
resolver which knows where to find the file (this is a crude solution, but
I know of no other solution which will work), but I cannot achieve the
same behaviour when using the SchemaExportTask.
Any ideas?
_________________ Cheers,
Bonny
please don't forget to rate :)
|