Re: hudson and ivy - question

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

Re: hudson and ivy - question

David Seymore
Hi Daniel,
  Thanks for getting in touch :) I'm not able to reproduce your problem, but, it kind of looks like the url that is being built for when ivy checks the file isnt building correctly.. Have you tried just running the war (java -jar hudson.war) directly to verify if this happens in that case as well? I would also suggest going to the manage hudson link, and going to system configuration, and setting up the full path to hudson to see if that fixes things.. might be a bug in the Ivy plugin.. might not be, i'm fairly junior at hudson internals.

Just to reiterate, hudson 1.226 + ivy 0.1 is working in standalone (java -jar hudson.war) for me. And it seems like it may be a tomcat setup or hudson setup error you are bumping into.

But, also, that error you are seing is just the configuration's test for the presence of the file.. if you go ahead and save the correct value, the plugin should operate just fine.

-David Seymore

On Wed, Jun 18, 2008 at 6:38 PM, Daniel Schwager <[hidden email]> wrote:



i read your wiki on

and try to install ivy-plugin to the latest version of Hudson, but I get an error like this:





Could you help me to track down this message ? Do I have to configure tomcat

To use the .hudson work-directory ?


hudson@builder:~/.hudson/plugins/ivy$ find
































Best regards from germany





DT Netsolution GmbH   -   Taläckerstr. 30    -    D-70437 Stuttgart

Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870

Tel: +49-711-849910-32, Fax: -932 - Mailto:[hidden email]


David Seymore
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: hudson and ivy - question

David Seymore
Hey, sure, no problem.

so, the plugin actually fills in the 'build other projects' part of the configuration each time the build is run.. so, it scans the configred ivy.xml, determines what the dependencies are, and gathers up the projects that equate to that dependency. So, you need to setup the path to the ivy.xml file on each project that is ivy managed, and then run the builds for those projects.

The plugin doesn't output anything to the console after the build.

Hope that is helpful.. You might be able to see some console output where you started hudson in standalone mode... note sure though.


On Thu, Jun 19, 2008 at 8:18 AM, Daniel Schwager <[hidden email]> wrote:

Hi David,


thx for the quick response. Your are right – with "java -jar hudson.war" the error does not occurs.

It must be a topic relatated to tomcat's configuration (I think, tomcat does not know about the directory containing

the ivy-plugin).


But one more


-          can I debug your plugin  

o    is it possible to see, which projects depends on the first project ?

o   Which ivy-file does the plugin use/search-for ?



-          I created two Hudson jobs (ivy-enabled), each with an ivy.xml in the top to the project directory (beside of my build.xml). The first one depends
on the second one – but I can's see any action/gui-changes related to ivy-processing



On  you told me about the

the post-build-actions "Build other projects". I can't enable this option without specifying another  Hudson-job.

Maybe your plugin will enable+fillup this config-option.



How can I debug my setup ?




David Seymore
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: hudson and ivy - question

David Seymore
then, output/artifacts/ivy.xml, is what youshould configure the ivy plugin with. it only parses the ivy stuff after the build finishes normal stuff.

-Dave Seymore

On Thu, Jun 19, 2008 at 12:48 PM, Daniel Schwager <[hidden email]> wrote:

Sorry for my iteration to the solution of the problem …


Or use "only" the generated ivy.xml from the last build, which has still published to the ivy-repository

(in our case: output/artifacts/ivy.xml)


No changes has to do your using your plugin


Sorry for my email-noise.

Now I will try to integrate our 10 ivy-projects to Hudson+ivy-plugin  (-:








Von: Daniel Schwager
Gesendet: Donnerstag, 19. Juni 2008 18:43
An: Daniel Schwager; 'David Seymore'
Cc: Daniel Schwager
Betreff: AW: hudson and ivy - question


Or – maybe better solution:

Attribute 2

-          Calling ant/script for generating a valid (variable free) ivy-hudson.xml file:

Pre-execute script: "ant –f build.xml build_ivyfile_for_hudson_named_ivy-hudson-xml"





Maybe a feature-request ?

- Requirement: Place project specific pieces of information (org-name, module-name, Branch, CVS-module-name, ….)
 only in ONE-file (e.g. build.configuration), not in  ivy.xml, build.configuration,, …. Therefore, I use  the variables.


- Solution: Ivy-Plugin optionally read a project dependent property file before parsing ivy.xml (using the vars read before..)


  Ivy file:              ivy.xml

               Attribute 2

-          An  ant-style propertyfiles  (

Ant-snipplet: <property file="path/to/somehere/" description="1. global variable" />

-          Or only a normal, plain propetyfile
Propertyfile: path/to/somehere/

-          Or an using a plain propertyfile generated after calling ant with a defined target:
Target calling ant for generating propertyfile:  generate_propertyfile
Propertyfile: path/to/somehere/new-generated.propertyfile

David Seymore
[hidden email]