You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by CalvinJ <ca...@yahoo.com> on 2009/01/22 02:13:36 UTC

IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

I'm guessing I've configured something wrong but when using Ivy 2.0.0rc2 and
IvyDE 2.0.0beta1
in Eclipse 3.3, it works the first time you set it up on a project. But when
you change any
dependencies in ivy.xml outside of Eclipse, it never picks up the change.
Even when I do a 
project Refresh (which works for the Maven plug-in), it doesn't do anything.

Any suggestions on what I might be doing wrong or something else I need to
configure to get IvyDE
to pick up changes to ivy.xml?
-- 
View this message in context: http://www.nabble.com/IvyDE-doesn%27t-pick-up-ivy.xml-changes-made-outside-of-Eclipse-tp21593723p21593723.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

Posted by Nicolas Lalevée <ni...@anyware-tech.com>.
On jeudi 22 janvier 2009 02:13:36 CalvinJ wrote:
> I'm guessing I've configured something wrong but when using Ivy 2.0.0rc2
> and IvyDE 2.0.0beta1
> in Eclipse 3.3, it works the first time you set it up on a project. But
> when you change any
> dependencies in ivy.xml outside of Eclipse, it never picks up the change.
> Even when I do a
> project Refresh (which works for the Maven plug-in), it doesn't do
> anything.
>
> Any suggestions on what I might be doing wrong or something else I need to
> configure to get IvyDE
> to pick up changes to ivy.xml?

I don't see any reason it wouldn't pick changes. But do you just refresh the 
project, or do you refresh/resolve the dependencies via IvyDE ?

Nicolas


Re: IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

Posted by CalvinJ <ca...@yahoo.com>.
Thanks guys for the help and the explanation of when it refreshes.  It works
just fine when using Resolve.  I must have missed that.
-- 
View this message in context: http://www.nabble.com/IvyDE-doesn%27t-pick-up-ivy.xml-changes-made-outside-of-Eclipse-tp21593723p21608016.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

Posted by Kirby Files <kf...@masergy.com>.
CalvinJ wrote on 01/21/2009 08:13 PM:
> I'm guessing I've configured something wrong but when using Ivy
> 2.0.0rc2 and IvyDE 2.0.0beta1 in Eclipse 3.3, it works the first
> time you set it up on a project. But when you change any
> dependencies in ivy.xml outside of Eclipse, it never picks up the
> change. Even when I do a project Refresh (which works for the Maven
>  plug-in), it doesn't do anything.

In general, IvyDE picks up changes under the following circumstances

  * ivy.xml is edited in the IvyXml Editor within Eclipse
  * The user invokes Resolve from the Ivy Classpath Container context menu
  * The settings for the Ivy Classpath Container are edited
  * The project is reopened

Invoking Refresh from the project context menu just synchronizes 
Eclipse's view of the filesystem with your OS filesystem. I think 
Resolve is what you're looking for.

Thanks,
   --kirby