On Nov 30, 2007 12:28 AM, jonathan doklovic <[EMAIL PROTECTED]> wrote:

> Ok,
>
> I was able to get the classpath to work, but I have another quick
> question...
>
> If I add an ivy.xml as a library, everything is fine and my jars show up
> in the package explorer.
>
> Then, if I run a cache-clean via ant, my library node for the ivy.xml is
> removed (due to not having any jars under it) and the only way I can
> figure out to make it do another resolve is to open the build path
> configuration dialog and click apply.
>
> Is there any other way to force a resolve?

Not sure which version of IvyDE you're using, but with latest (unreleased)
one there is a resolve all button in the toolbar, you can use to call
resolve on all your projects with an Ivy classpath container. In IvyDE
1.2you just have to edit the
plugin.xml and uncomment the action.

HTH,

Xavier

>
>
> Thanks,
>
> - Jonathan
>
> On Thu, 2007-11-29 at 14:06 -0800, Xavier Hanin wrote:
> > What you did should work, but I suggest to use the classpath feature [1]
> of
> > Ivy to load the required jars. The advantage of this techniaue is that
> you
> > won't have to modify IvyDE plugin (better for upgrades) and it will work
> the
> > same way both in IvyDE and Ant.
> >
> > Xavier
> >
> > [1] http://ant.apache.org/ivy/history/trunk/configuration/classpath.html
> >
> >
> > jonathan doklovic wrote:
> > >
> > > Hi,
> > >
> > > I'm trying to get IvyDE working with my ivy-settings.xml which has an
> > > svn resolver provided by ivy-svn.
> > >
> > > When IvyDE tries to load the settings, it complains that it can't
> define
> > > the svn type due to the class not being found.
> > >
> > > I'm using IvyDE-1.3.0.
> > > I extracted the jar into the eclipse/plugins folder, added the ivy-svn
> > > jar and dependencies to the lib/default folder, and added each jar as
> a
> > > library in the plugin.xml
> > >
> > > None of that corrected the problem and I still get the class not found
> > > error.
> > >
> > > Is there any way to get this to work?
> > >
> > > Thanks,
> > >
> > > - Jonathan
> > >
> > >
> >
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Reply via email to