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 "Hamlin, J.C." <j....@sap.com> on 2014/11/26 01:45:00 UTC

Ivy/IvyDE for Eclipse 4.4 (Luna)

We've been using IvyDE (2.2.0) with Ivy (2.4.0) in Eclipse 4.3 (Kepler) from the IvyDE update site for a long time and it has been working great.

I just tried this same combo in Eclipse 4.4 (Luna) and it failed.

java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
                at org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:610)
                at org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:604)
                at org.apache.ivy.core.settings.IvySettings.addSystemProperties(IvySettings.java:308)
                at org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:303)
                at org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:222)
                at org.apache.ivyde.internal.eclipse.workspaceresolver.WorkspaceIvySettings.<init>(WorkspaceIvySettings.java:30)
                at org.apache.ivyde.internal.eclipse.CachedIvy.createIvySettings(CachedIvy.java:226)
                at org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:200)
                at org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163)
                at org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124)
                at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145)
                at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85)
                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Luna has been out since June. Is there any chance there will be an update to IvyDE update site soon that will allow it to work with Eclipse 4.4 (Luna)?

Thanks in advance for your reply.

-J.C.


Re: Ivy/IvyDE for Eclipse 4.4 (Luna)

Posted by Nicolas Lalevée <ni...@hibnet.org>.
There is indeed a bug:
https://issues.apache.org/jira/browse/IVY-1487 <https://issues.apache.org/jira/browse/IVY-1487>

We are in the process of releasing Ivy with the fix. We have some build issues but I hope it will get out very soon.

A build of the trunk is available as an update site there:
https://builds.apache.org/job/IvyDE-updatesite/lastSuccessfulBuild/artifact/trunk/build/ <https://builds.apache.org/job/IvyDE-updatesite/lastSuccessfulBuild/artifact/trunk/build/>

Nicolas

> Le 26 nov. 2014 à 06:00, Gary Gregory <ga...@gmail.com> a écrit :
> 
> IIRC, there is an Eclipse update site you can use to patch Luna...
> 
> Gary
> 
> On Tue, Nov 25, 2014 at 7:45 PM, Hamlin, J.C. <j....@sap.com> wrote:
> 
>> We've been using IvyDE (2.2.0) with Ivy (2.4.0) in Eclipse 4.3 (Kepler)
>> from the IvyDE update site for a long time and it has been working great.
>> 
>> I just tried this same combo in Eclipse 4.4 (Luna) and it failed.
>> 
>> java.lang.ClassCastException:
>> org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast
>> to java.lang.String
>>                at
>> org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:610)
>>                at
>> org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:604)
>>                at
>> org.apache.ivy.core.settings.IvySettings.addSystemProperties(IvySettings.java:308)
>>                at
>> org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:303)
>>                at
>> org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:222)
>>                at
>> org.apache.ivyde.internal.eclipse.workspaceresolver.WorkspaceIvySettings.<init>(WorkspaceIvySettings.java:30)
>>                at
>> org.apache.ivyde.internal.eclipse.CachedIvy.createIvySettings(CachedIvy.java:226)
>>                at
>> org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:200)
>>                at
>> org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163)
>>                at
>> org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124)
>>                at
>> org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145)
>>                at
>> org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85)
>>                at
>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> 
>> Luna has been out since June. Is there any chance there will be an update
>> to IvyDE update site soon that will allow it to work with Eclipse 4.4
>> (Luna)?
>> 
>> Thanks in advance for your reply.
>> 
>> -J.C.
>> 
>> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


Re: Ivy/IvyDE for Eclipse 4.4 (Luna)

Posted by Gary Gregory <ga...@gmail.com>.
IIRC, there is an Eclipse update site you can use to patch Luna...

Gary

On Tue, Nov 25, 2014 at 7:45 PM, Hamlin, J.C. <j....@sap.com> wrote:

> We've been using IvyDE (2.2.0) with Ivy (2.4.0) in Eclipse 4.3 (Kepler)
> from the IvyDE update site for a long time and it has been working great.
>
> I just tried this same combo in Eclipse 4.4 (Luna) and it failed.
>
> java.lang.ClassCastException:
> org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast
> to java.lang.String
>                 at
> org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:610)
>                 at
> org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:604)
>                 at
> org.apache.ivy.core.settings.IvySettings.addSystemProperties(IvySettings.java:308)
>                 at
> org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:303)
>                 at
> org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:222)
>                 at
> org.apache.ivyde.internal.eclipse.workspaceresolver.WorkspaceIvySettings.<init>(WorkspaceIvySettings.java:30)
>                 at
> org.apache.ivyde.internal.eclipse.CachedIvy.createIvySettings(CachedIvy.java:226)
>                 at
> org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:200)
>                 at
> org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163)
>                 at
> org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124)
>                 at
> org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145)
>                 at
> org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85)
>                 at
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Luna has been out since June. Is there any chance there will be an update
> to IvyDE update site soon that will allow it to work with Eclipse 4.4
> (Luna)?
>
> Thanks in advance for your reply.
>
> -J.C.
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory