Add support for build time instrumentation
------------------------------------------

                 Key: MHIBERNATE-70
                 URL: http://jira.codehaus.org/browse/MHIBERNATE-70
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Improvement
            Reporter: MG
            Assignee: Johann Reyes


There is another ant task which is part of hibernate tools but it is documented 
only in core hibernate.

http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazyproperties

It needs to be exposed by maven plugin as a goal too.

<target name="instrument" depends="compile">
    <taskdef name="instrument" 
classname="org.hibernate.tool.instrument.InstrumentTask">
        <classpath path="${jar.path}"/>
        <classpath path="${classes.dir}"/>
        <classpath refid="lib.class.path"/>
    </taskdef>

    <instrument verbose="true">
        <fileset dir="${testclasses.dir}/org/hibernate/auction/model">
            <include name="*.class"/>
        </fileset>
    </instrument>
</target>

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to