Hudson plugin with external libraries

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Hudson plugin with external libraries

Petr Zajac
Hello,
I am developing hudson plugin for codeviation project
http://anna.nbextras.org/anna

The plugin implements a wrapper. and a publisher. Wrapper allows to
checkout and run build project for a different  cvs  tags  and timestamp
in a loop.  Wrapper
also overrides ANT_OPTS property in order to replace default compiler. I
implemented  modified compiler (name Patched ant) with SPI  for
extracting metrics and information  from project a storing  it with cvs
history to disk. Prototype of wrapper with UI is already implemented.

Currently I am implementing publisher. I need to have the Patched ant  
on the plugin classpath. The patched and is not maven project and I not
expert on maven. I am asking for a advice how to add Panched ant to
classpath of module. Have I use ClassPath attribute in manifest of the
plugin?

Petr


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson plugin with external libraries

Kohsuke Kawaguchi
Administrator
Petr Zajac wrote:
> Hello,
> I am developing hudson plugin for codeviation project
> http://anna.nbextras.org/anna

Cool. I think the link is wrong though. You must have meant
http://anna.nbextras.org/wiki/

> Currently I am implementing publisher. I need to have the Patched ant  
> on the plugin classpath. The patched and is not maven project and I not
> expert on maven. I am asking for a advice how to add Panched ant to
> classpath of module. Have I use ClassPath attribute in manifest of the
> plugin?

You can take a look at the JPRT plugin. It has a local lib directory in
which it stores some jar files that came from outside Maven. See its pom
for how to have Maven recognize those.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hudson plugin with external libraries

Petr Zajac
Kohsuke Kawaguchi wrote:
> Petr Zajac wrote:
>> Hello,
>> I am developing hudson plugin for codeviation project
>> http://anna.nbextras.org/anna
>
> Cool. I think the link is wrong though. You must have meant
> http://anna.nbextras.org/wiki/
>
sure

>> Currently I am implementing publisher. I need to have the Patched
>> ant  on the plugin classpath. The patched and is not maven project
>> and I not expert on maven. I am asking for a advice how to add
>> Panched ant to classpath of module. Have I use ClassPath attribute in
>> manifest of the plugin?
>
> You can take a look at the JPRT plugin. It has a local lib directory
> in which it stores some jar files that came from outside Maven. See
> its pom for how to have Maven recognize those.
>
Thanks, it works.

Petr

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]