My issue is about building the classpath for the hibernate instrumentTask
using maven dependencies : your sample config uses ${jboss.libdir} to build
the task calsspath. I'd like to set a dependency for the plugin on
hibernate.
Thanks anyway.
2007/1/30, Marco Mistroni <[EMAIL PROTECTED]>:
Hi,
my 2 cents ..... don't know the issue but i went to check
what does that instrument task do..
i see no reason why you can't just use maven antrun plugin and execute
it...
dont know if this might help... here i configured a custom ant task
(wstools), like this
<configuration>
<tasks>
<taskdef name="wstools" classname="
org.jboss.ws.tools.ant.wstools
">
<classpath refid="maven.dependency.classpath"/>
<classpath>
<fileset dir="${jboss.libdir}\client">
<include name="activation.jar"/>
<include name="javassist.jar"/>
<include name="jboss-common-client.jar"/>
<include name="jbossretro-rt.jar"/>
<include name="jboss-backport-concurrent.jar"/>
<include name="jbossws-client.jar"/>
<include name="jboss-xml-binding.jar"/>
<include name="concurrent.jar"/>
<include name="log4j.jar"/>
<include name="mail.jar"/>
<include name="wsdl4j.jar"/>
</fileset>
<fileset dir="${jboss.libdir}\lib\endorsed">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
</tasks>
<wstools dest="${project.build.outputDirectory}/META-INF"
config="${workspace.dir}/middleware/jboss/wstools-
messenger-config.xml"/>
but i bet you knew that, i saw your name on this list since long
was that hte problem? if you just replace it the above code with the ant
code listed here
http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html
now. watching at that ant task for instrumentationTask it says
'depends=compile',
so you shoul dinvoke your maven-antrun-plugin in the <process-classes>
phase
you might encounter problems of classpath...
pls let me know if this helps
rgds
marco
On 1/30/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Is there any plugin that support hibernate InstrumentTask ?
> How to configure the antrun plugin to use it ?
>
>