[OSM-dev] Trouble compiling osmosis

Brett Henderson brett at bretth.com
Tue May 26 04:20:02 BST 2009

Joerg Ostertag wrote:
> I have errors while compiling osmosis:
> 	/home/tweety/openstreetmap-applications/utils/osmosis/trunk/build-ivy.xml:52: 	 
> 	impossible to resolve dependencies:
> 	 java.io.FileNotFoundException: /root/.ivy2/cache/resolved-bretth.com-
>                                                    osmosis-working at cool.xml
> 					 (No such file or directory)
> What is osmosis compile trying to get here?
> More details here:
> http://www.gpsdrive.de/build_cluster/osmosis/debian-squeeze-64/debuild.log.shtml

Osmosis uses the ivy tool for dependency management:

It creates an .ivy2 directory in your home directory.  This contains a 
number of sub-directories which are manipulated by ivy during the 
dependency resolution process.  I have a few suggestions on how to progress.
* Find out why ivy thinks your home directory is "/root", that is most 
likely the problem.  I assume you're not running the build as root.
* Run "ant resolve" which will force ivy to perform dependency 
resolution to be performed.
* Run "ant clean-cache" which will clean up the ivy directory if 
something has gotten corrupted (I've never had to do this).


More information about the dev mailing list