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 Stefan Bodewig <bo...@apache.org> on 2007/11/29 10:28:32 UTC
This list is going to move
Dear Subscribers,
since Ivy is a subproject of Ant now, this list is going to move.
Instead of ivy-user@incubator.apache.org it will become
ivy-user@ant.apache.org.
If you want to stay subscribed, you don't need to do anything, you
should automatically stay subscribed.
We don't know exactly when this change is going to happen, but you
will be informed when it is done.
Once the change has been done, you will need to adapt your filters,
.procmail rules or whatever you use to split your mails.
Cheers
Stefan
--
http://stefan.samaflost.de/
Re: IvyDE and custom resolvers (ivy-svn)
Posted by jonathan doklovic <jd...@ibsys.com>.
GRRRRRRRRR.....
Nevermind, realized i need to use the <properties> task. :)
- Jonathan
On Fri, 2007-11-30 at 12:01 -0600, jonathan doklovic wrote:
> Ok, I found the resolve all button.
>
> (hopefully) Final qeustion:
> my svn resolver needs user/pass attributes.
> In ant, I simply read those from a properties file and pass the
> references to the resolver.
> In IvyDE, I'm not sure how to handle this since the settings <property>
> task doesn't take a file.
>
> I would *like* to do something like this:
>
> <settings>
> <property file="${ivy.settings.dir}/svn.properties"/>
> ...
> <svn user="${svn.user.name}" password="${svn.user.password}"/>
>
>
> Any suggestions?
>
> - Jonathan
>
>
> On Fri, 2007-11-30 at 00:43 +0100, Xavier Hanin wrote:
> > On Nov 30, 2007 12:28 AM, jonathan doklovic <jd...@ibsys.com>
> > 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.2 you 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/
Re: IvyDE and custom resolvers (ivy-svn)
Posted by jonathan doklovic <jd...@ibsys.com>.
Ok, I found the resolve all button.
(hopefully) Final qeustion:
my svn resolver needs user/pass attributes.
In ant, I simply read those from a properties file and pass the
references to the resolver.
In IvyDE, I'm not sure how to handle this since the settings <property>
task doesn't take a file.
I would *like* to do something like this:
<settings>
<property file="${ivy.settings.dir}/svn.properties"/>
...
<svn user="${svn.user.name}" password="${svn.user.password}"/>
Any suggestions?
- Jonathan
On Fri, 2007-11-30 at 00:43 +0100, Xavier Hanin wrote:
> On Nov 30, 2007 12:28 AM, jonathan doklovic <jd...@ibsys.com>
> 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.2 you 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/
Re: IvyDE and custom resolvers (ivy-svn)
Posted by Xavier Hanin <xa...@gmail.com>.
On Nov 30, 2007 12:28 AM, jonathan doklovic <jd...@ibsys.com> 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/
Re: IvyDE and custom resolvers (ivy-svn)
Posted by jonathan doklovic <jd...@ibsys.com>.
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?
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
> >
> >
>
Re: IvyDE and custom resolvers (ivy-svn)
Posted by Xavier Hanin <xa...@gmail.com>.
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
>
>
--
View this message in context: http://www.nabble.com/This-list-is-going-to-move-tf4896031.html#a14036066
Sent from the ivy-user mailing list archive at Nabble.com.
IvyDE and custom resolvers (ivy-svn)
Posted by jonathan doklovic <jd...@ibsys.com>.
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