Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Enabling bytecode instrumentation within an Eclipse build
Enabling bytecode instrumentation within an Eclipse build [message #226276] Tue, 07 August 2007 19:44 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Hello,
I would like to enable bytecode instrumentation for some of the classes
within my Eclipse project.
I know it's possible with an Ant task like the one below:

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

However as I would like to avoid Ant tasks in my project, is it possible
to configure Eclipse to enable bytecode instrumentation in any other way?

Kind regards,
P.B.
Re: Enabling bytecode instrumentation within an Eclipse build [message #895263 is a reply to message #226276] Thu, 12 July 2012 09:42 Go to previous message
Rohit Lad is currently offline Rohit LadFriend
Messages: 2
Registered: June 2012
Junior Member
Hi,

did you found any solution for this issue?
I also want to enable bytecode instruentation in myEclipse project.

Thanks,
Rohit
Previous Topic:Java Build Path
Next Topic:Can not install svn from update site
Goto Forum:
  


Current Time: Thu Mar 28 21:25:43 GMT 2024

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

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

Back to the top