[ 
http://jira.codehaus.org/browse/MHIBERNATE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johann Reyes closed MHIBERNATE-70.
----------------------------------

    Resolution: Fixed

Added "instrument" goal to plugin. Refer to 
http://svn.codehaus.org/mojo/trunk/sandbox/hibernate3-maven-plugin/src/it/jpa-instrument-default/
 for example on how to use it.

> 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
>          Components: instrument
>            Reporter: MG
>            Assignee: Johann Reyes
>             Fix For: 3.0
>
>
> 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