Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » how to add ant script for bytecode instrumentation (how to add ant script for bytecode instrumentation )
how to add ant script for bytecode instrumentation [message #890091] Thu, 21 June 2012 04:49
Rohit Lad is currently offline Rohit LadFriend
Messages: 2
Registered: June 2012
Junior Member
Hi,

I am using Hibernate 3.3 in my web application. Hibernate3 supports the lazy fetching of individual properties. To enable this feature I need to do bytecode instrumentation by adding following ant script.

Can anyone suggest me any toolset or the way to add this any script to web application ?
My project is in Myeclipse but there is no option to do this.

I dont have Idea how to add following script and configure in my project.

<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>


Thanks,
Rohit
Previous Topic:Could not initialize class org.eclipse.xsd.XS
Next Topic:Also would like to finish HelloWorldSWT
Goto Forum:
  


Current Time: Thu Apr 25 00:45:42 GMT 2024

Powered by FUDForum. Page generated in 0.02545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top