[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-737) hbmtemplate tool - GenericExporter omits task attributes when used with exporterClass

Michelle Baert (JIRA) noreply at atlassian.com
Mon Aug 28 08:04:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-737?page=comments#action_24161 ] 

Michelle Baert commented on HBX-737:
------------------------------------

Maybe there a special layout required.

And here's the output:
---
E:\Public\OpenSource\Hibernate-3.2>build prepare-dir-up
build prepare-dir-up

E:\Public\OpenSource\Hibernate-3.2>java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib prepare-dir-up     
Buildfile: build.xml
  [taskdef] Could not load definitions from resource clovertasks. It could not be found.

splash:

init:
     [echo] Build Hibernate-3.2.0.cr3 (2006-08-28 01:53:47)
     [echo] JDK version: 1.5

init.antlr:

antlr:

compile:

jar:

prepare-dir-up:
     [copy] Copying 1 file to E:\Public\OpenSource\hibernate-3.2

BUILD SUCCESSFUL
Total time: 4 seconds
---
I suppose I have to dive into the build files to find out what should be done whith this target.
But I'll have a break now. 


> hbmtemplate tool - GenericExporter omits task attributes when used with exporterClass
> -------------------------------------------------------------------------------------
>
>          Key: HBX-737
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-737
>      Project: Hibernate Tools
>         Type: Bug

>   Components: ant
>     Versions: 3.2beta7
>  Environment: Hibernate 3.2 cr3, July 7, 2006
>     Reporter: Michelle Baert
>     Priority: Minor
>  Attachments: CustomExporter-20060825.zip, CustomExporter-20060825.zip, GenericExporter.java, GenericExporter.zip, GenericExporterTask.java, Patch03.diff, Work03.diff
>
>
> I enclose a minimal project with ant build file, and a patch proposal for GenericExporterTask.
> There are 2 custom exporter classes: 
> - MyExplorer simply extends GenericExporter with nothing else
> - My VerboseExplorer is similar but provides log messages.
> When run with current version of hibernate-tools, it fails because filepattern has been lost.
> build.xml:66: org.hibernate.tool.hbm2x.ExporterException: File pattern not set on GenericExporter
> When run after patching and jar rebuild, it runs fines.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list