Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof

I found the answer on
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html

I've updated the wiki
http://docs.codehaus.org/display/MAVENUSER/Howto+instrument+domain+model+classes+using+hibernate

2007/1/30, nicolas de loof <[EMAIL PROTECTED]>:


My project is the domain model that has no dependency. This the reason I
want to set hibernate dependency as a plugin dependency.

I tried :


But this isn't an valid refId

2007/1/30, Marco Mistroni <[EMAIL PROTECTED]>:
>
> Nicholas, additional thing
>
> if you make it work, would you mind write a wiki here
>
> http://docs.codehaus.org/display/MAVENUSER/Examples
>
> with your example pom.xml? it might help (me :)  or anyone that want to
> do
> same
> things later on
>
> regards
> marco
>
> On 1/30/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> >
> > ah i see, i was betting that that could have been one of the
> problems
> >
> > any reasons why the code below does not work using
> > process-classes?
> > i had to add extra classes 'manually' to classpath because i had
> problem
> > with some jboss versions that were screwing up the wstools task.. so i
> > couldn't import the whole  jboss-all-client, that's why you see all
> >  in sample i gave
> >
> >
> > 
> >
> >
> > there was a message i saw on this list which was talking about using
> maven
> > dependencies for classpath. i m sure is < than 1 month..
> >
> > good luck
> >
> > rgds
> >  marco
> >
> >
> >
> >
> >
> > On 1/30/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
> > >
> > > 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
> > > >
> > > > 
> > > >
> > > >   
> > > >   
> > > >
> > > >   
> > > >   
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > > 
> > > > 
> > > >   
> > > >> > >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
> 
> > > > 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 ?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
>



Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof

My project is the domain model that has no dependency. This the reason I
want to set hibernate dependency as a plugin dependency.

I tried :


But this isn't an valid refId

2007/1/30, Marco Mistroni <[EMAIL PROTECTED]>:


Nicholas, additional thing

if you make it work, would you mind write a wiki here

http://docs.codehaus.org/display/MAVENUSER/Examples

with your example pom.xml? it might help (me :)  or anyone that want to do
same
things later on

regards
marco

On 1/30/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>
> ah i see, i was betting that that could have been one of the
problems
>
> any reasons why the code below does not work using
> process-classes?
> i had to add extra classes 'manually' to classpath because i had problem
> with some jboss versions that were screwing up the wstools task.. so i
> couldn't import the whole  jboss-all-client, that's why you see all
>  in sample i gave
>
>
> 
>
>
> there was a message i saw on this list which was talking about using
maven
> dependencies for classpath. i m sure is < than 1 month..
>
> good luck
>
> rgds
>  marco
>
>
>
>
>
> On 1/30/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
> >
> > 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
> > >
> > > 
> > >
> > >   
> > >   
> > >
> > >   
> > >   
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > >   
> > >> >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

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




Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni

Nicholas, additional thing

if you make it work, would you mind write a wiki here

http://docs.codehaus.org/display/MAVENUSER/Examples

with your example pom.xml? it might help (me :)  or anyone that want to do
same
things later on

regards
marco

On 1/30/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:


ah i see, i was betting that that could have been one of the problems

any reasons why the code below does not work using
process-classes?
i had to add extra classes 'manually' to classpath because i had problem
with some jboss versions that were screwing up the wstools task.. so i
couldn't import the whole  jboss-all-client, that's why you see all
 in sample i gave





there was a message i saw on this list which was talking about using maven
dependencies for classpath. i m sure is < than 1 month..

good luck

rgds
 marco





On 1/30/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
>
> 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
> >
> > 
> >
> >   
> >   
> >
> >   
> >   
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> >   
> >>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 
> > 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 ?
> > >
> > >
> >
> >
>
>



Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni

ah i see, i was betting that that could have been one of the problems

any reasons why the code below does not work using
process-classes?
i had to add extra classes 'manually' to classpath because i had problem
with some jboss versions that were screwing up the wstools task.. so i
couldn't import the whole  jboss-all-client, that's why you see all
 in sample i gave





there was a message i saw on this list which was talking about using maven
dependencies for classpath. i m sure is < than 1 month..

good luck

rgds
marco





On 1/30/07, nicolas de loof <[EMAIL PROTECTED]> wrote:


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




Re: hibernate InstrumentTask

2007-01-30 Thread nicolas de loof

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


   
  
  

  
  



















  
  

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




Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni

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


  
 
 

 
 
   
   
   
   
   
   
   
   
   
   
   

   
   
   
   

   
   
 
 

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




hibernate InstrumentTask

2007-01-30 Thread nicolas de loof

Hello,

Is there any plugin that support hibernate InstrumentTask ?
How to configure the antrun plugin to use it ?