--- On Wed, 3/25/09, Nicolas Lalevée <nicolas.lale...@hibnet.org> wrote:
> From: Nicolas Lalevée <nicolas.lale...@hibnet.org> > Subject: Re: [ivyde] WorkspaceResolver > To: ivy-u...@ant.apache.org > Date: Wednesday, March 25, 2009, 10:29 AM > On mardi 24 mars 2009 20:17:11 Matt > Benson wrote: > > Nicolas (or anybody, but practically, Nicolas): > > > > I am trying to use the > WorkspaceResolver in IvyDE 2.0.0beta1 to resolve > > project dependencies in Eclipse where the dependency > is not found any any > > repo (yet, anyway). I have selected "Resolve > dependencies in workspace" in > > the global Ivy settings, as well as the project Ivy > settings, yet I still > > see nothing in the log that would indicate the > workspace resolver is being > > called into play. I have NOT exported the Ivy > library in the Java Build > > Path/Order and Export tab for my dependency project; > it seems that doing so > > would not require any special work on the part of the > IvyDE plugin, so I > > would think that I am not supposed to do that. > How can I know whether the > > workspace resolver is being used, and if not, why > not? :) > > The worksapce resolver implemented in the beta1 is a sort > of workaround. The > process implemented is to launch a normal resolve. Then if > some of the > resolved dependency is mathing the organization name and > module name of some > project in your Eclipse workspace, then IvyDE will switch > the resolved jar by > the Eclipse project. > So if you don't have any build of your dependency, it > cannot work because the > first normal resolve will fail. > > A more proper workspace resolver that will effectivelly > consider the Eclipse > workspace as an Ivy repository has been implemented in the > trunk of IvyDE. So > it will be able to resolve your project in Eclipse > correctly. > So I can either try to remember how to build from trunk (sob) or I can deploy snapshot dependencies for IvyDE to resolve against? Thanks a heap for your answer, Nicolas! -Matt > Nicolas > >