Hi all,
the problem happens when EIK 0.9.0 try to find standard-2.3.1-features.xml
in the repositories and fails when it does not find.
If you don't have standard-2.3.1-features.xml in M2_REPO can change
from
org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots
@id=karaf.${karaf.default.repository}
to
org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots
@id=karaf.${karaf.default.repository},file://<KARAF_HOME>/system
in your <KARAF_HOME>/etc/org.ops4j.pax.url.mvn.defaultRepositories
Regards
--Filippo
2013/4/16 Aurelie Chenevoy <[email protected]>
> Hi JB Thanks for reponding,
> I tried EIK 0.9.0.
> ok I'll try tomorrow karaf 2.2.9.
> Regards,
> Aurélie.
>
>
> 2013/4/15 Jean-Baptiste Onofré <[email protected]>
>
>> Hi Aurelie,
>>
>> yeah, I tested with Karaf 2.2.9, JDK 1.6.
>>
>> Did you try with EIK 0.9.0 or EIK trunk ?
>>
>> Regards
>> JB
>>
>>
>> On 04/15/2013 04:16 PM, Aurelie Chenevoy wrote:
>>
>>> Hi,
>>> has anyone succeeded to run eik project with java 6?
>>> I've tried with eclipse helios and indigo and karaf 2.2.1, 2.3.0 and
>>> 2.3.1 and i've always the same message : An internal error occured
>>> during : "Resolving Features for EikTest".
>>> URL[mvn:org.apache.karaf.**assemblies.features/standard/**2.3.0/xml/features]
>>> could
>>> not be resolved. Here is one of the eclipse's log trace :
>>>
>>> !SESSION 2013-04-10 10:43:12.706
>>> ------------------------------**-----------------____
>>>
>>> eclipse.buildId=M20110210-**1200____
>>>
>>> java.version=1.6.0_18____
>>>
>>> java.vendor=Sun Microsystems Inc.____
>>>
>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US____
>>>
>>> Framework arguments: -product org.eclipse.epp.package.**
>>> reporting.product____
>>>
>>>
>>> Command-line arguments: -os linux -ws gtk -arch x86 -product
>>> org.eclipse.epp.package.**reporting.product____
>>>
>>> __ __
>>>
>>> !ENTRY org.eclipse.equinox.registry 2 0 2013-04-10 10:43:16.785____
>>>
>>>
>>> !MESSAGE The extensions and extension-points from the bundle
>>> "com.something.eclipse.**shelled" are ignored. The bundle is not marked
>>> as
>>> singleton.____
>>>
>>> __ __
>>>
>>> !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2013-04-10 10:43:30.118____
>>>
>>>
>>> !MESSAGE Could not load repository template extension contributed by
>>> org.sonar.ide.eclipse.mylyn with connectorKind jira____
>>>
>>> __ __
>>>
>>> !ENTRY org.eclipse.jface 2 0 2013-04-10 10:43:48.055____
>>>
>>>
>>> !MESSAGE Keybinding conflicts occurred. They may interfere with normal
>>> accelerator operation.____
>>>
>>> !SUBENTRY 1 org.eclipse.jface 2 0 2013-04-10 10:43:48.055____
>>>
>>> !MESSAGE A conflict occurred for ALT+CTRL+C:____
>>>
>>> Binding(ALT+CTRL+C,____
>>>
>>>
>>> ParameterizedCommand(Command(**AnyEdit.capitalize.command,**
>>> Capitalize,____
>>>
>>> ,____
>>>
>>> Category(AnyEdit.category,**AnyEdit
>>> Tools,AnyEdit Tools key bindings,true),____
>>>
>>> de.loskutov.anyedit.actions.**
>>> ChangeCase,____
>>>
>>> ,,true),null),____
>>>
>>> org.eclipse.ui.**defaultAcceleratorConfiguratio**n,____
>>>
>>> org.eclipse.ui.**textEditorScope,,,system)____
>>>
>>> Binding(ALT+CTRL+C,____
>>>
>>>
>>> ParameterizedCommand(Command(**org.eclipse.linuxtools.**
>>> changelog.core.actions.**KeyActionCommand,Insert
>>> ChangeLog entry,____
>>>
>>> Insert a ChangeLog entry,____
>>>
>>>
>>> Category(org.eclipse.**linuxtools.changelog,**Changelog,Changelog key
>>> bindings,true),____
>>>
>>>
>>> org.eclipse.linuxtools.**changelog.core.actions.**
>>> InsertChangeLogKeyHandler,____
>>>
>>> ,,true),null),____
>>>
>>> org.eclipse.ui.**defaultAcceleratorConfiguratio**n,____
>>>
>>> org.eclipse.ui.**textEditorScope,,,system)____
>>>
>>> __ __
>>>
>>> !ENTRY org.eclipse.core.jobs <http://org.eclipse.core.jobs/**> 4 2
>>> 2013-04-10 10:44:39.024____
>>>
>>>
>>> !MESSAGE An internal error occurred during: "Resolving Features for
>>> EikTest".____
>>>
>>> !STACK 0____
>>>
>>> java.lang.RuntimeException: URL
>>> [mvn:org.apache.karaf.**assemblies.features/standard/**
>>> 2.2.10/xml/features]
>>> could not be resolved.____
>>>
>>> at
>>> org.ops4j.pax.url.mvn.**internal.Connection.**getInputStream(Connection.
>>> **java:195)____
>>>
>>> at
>>> org.apache.karaf.eik.ui.**features.FeaturesResolverJob.**
>>> resolveFeatures(**FeaturesResolverJob.java:129)_**___
>>>
>>> at
>>> org.apache.karaf.eik.ui.**features.FeaturesResolverJob.**
>>> run(FeaturesResolverJob.java:**87)____
>>>
>>>
>>> at org.eclipse.core.internal.**jobs.Worker.run(Worker.java:**54)
>>>
>>>
>>> I can't move to java7 so .. if you have an idea ?
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> [email protected]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>