It's related to:

https://issues.apache.org/jira/browse/KARAF-2771

The Karaf repository contains artifacts.xml not up to date.

I'm fixing that.

Regards
JB

On 02/21/2014 05:20 PM, Giuseppe Gerla wrote:
Dear all
I downloaded source code from

https://git-wip-us.apache.org/repos/asf?p=karaf-eik.git;a=tree;h=refs/heads/eik-2.x;hb=eik-2.x

and builded it with maven 3.0.5  and Java 6. The first problem is on the
building of manual module.
After I removed the manual module from building and try to install the
plugin on Eclipse Kepler. This is the error reported

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.core_0.5.3.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.core_0.5.3.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\features\info.evanchik.eclipse.karaf.feature_0.5.3.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\features\info.evanchik.eclipse.karaf.feature_0.5.3.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.jmx_0.5.0.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.jmx_0.5.0.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\features\info.evanchik.eclipse.karaf.jmx.feature_0.5.3.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\features\info.evanchik.eclipse.karaf.jmx.feature_0.5.3.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.ui_0.5.3.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.ui_0.5.3.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.workbench_0.5.3.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.eclipse.karaf.workbench_0.5.3.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.karaf.app_0.5.0.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\info.evanchik.karaf.app_0.5.0.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.apache.aries.jmx.core_1.0.0.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.apache.aries.jmx.core_1.0.0.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.apache.mina.core_2.0.0.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.apache.mina.core_2.0.0.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.fusesource.jansi_1.5.0.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.fusesource.jansi_1.5.0.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.ops4j.pax.url.mvn_1.3.2.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.ops4j.pax.url.mvn_1.3.2.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.osgi.jmx_1.0.0.201109050850.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\org.osgi.jmx_1.0.0.201109050850.jar
(Impossibile trovare il file specificato)
An error occurred copying file
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\sshd-core_0.5.0.jar.
D:\Dev\tools\eik-2.3.1\features\org.apache.karaf.eik.repository\plugins\sshd-core_0.5.0.jar
(Impossibile trovare il file specificato)


To install the plugin I use this procedure
Help -> Install New Software -> Add -> Local and select
/features/org.apache.karaf.eik.repository folder. My OS is Windows 7.


Regards
Giuseppe


2014-02-21 13:25 GMT+01:00 Giuseppe Gerla <[email protected]>:

yes
I tried also Maven 3.0.5 without success.

Now i'm trying without manual module....

Regards
Giuseppe


2014-02-21 12:51 GMT+01:00 [email protected] <[email protected]>:

Hi

You have to use maven 3.0.x.

Regards
JB

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://wwx.talend.com

----- Reply message -----
From: "Giuseppe Gerla" <[email protected]>
To: <[email protected]>
Subject: [INFO] Change in EIK version
Date: Fri, Feb 21, 2014 9:55 am


Hi all
I'm not able to build the eik-2.3.1.

This is the error:

Apache Karaf :: EIK :: Manual ..................... FAILURE

[ERROR] Failed to execute goal
org.fusesource.scalate:maven-scalate-plugin:1.5.1:sitegen-no-fork
(generate-htmls) on project manual: An API incompatibility was encountered
during configuration of mojo
  org.fusesource.scalate:maven-scalate-plugin:1.5.1:sitegen-no-fork:
java.lang.NoSuchMethodError:

org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/
classworlds/ClassRealm;)V


My mvn -version output:

Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28
04:15:32+0200)
Maven home: D:\Dev\maven-3.1.0
Java version: 1.6.0_38, vendor: Sun Microsystems Inc.
Java home: C:\Program Files (x86)\Java\jdk1.6.0_38\jre
Default locale: it_IT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"


Thanks
Giuseppe


2014-02-21 8:34 GMT+01:00 Filippo Balicchia <[email protected]>:

Hi,

I don't know if this the correct thread, if no i'm sorry.


I started testing and either version 2.x  and version 3 with Kepler,
and noticed that the project, target platform creation with its setting
have no problem.
But when o try create e new Osgi Framework  from run configuration

I get

java.lang.IllegalStateException: Target platform is not set from Karaf
project !
at


org.apache.karaf.eik.ui.KarafLaunchConfigurationInitializer.loadKarafPlatform(KarafLaunchConfigurationInitializer.java:243)
at


org.apache.karaf.eik.ui.KarafLaunchConfigurationInitializer.initialize(KarafLaunchConfigurationInitializer.java:91)
at


org.eclipse.pde.ui.launcher.OSGiLauncherTabGroup.setDefaults(OSGiLauncherTabGroup.java:53)
at


org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.setDefaults(LaunchConfigurationTabGroupWrapper.java:237)
at


org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:79)
at


org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:105)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at


org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:108)
at


org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at


org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at


org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at


org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
My target platform is set.

if it is not just my problem I can investigate.

Regards

--Filippo


2014-02-21 8:05 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:

Yes, you are right, I gonna review and update manual as well.

Regards
JB


On 02/20/2014 11:14 PM, Filippo Balicchia wrote:

Thanks for update.
I'm starting to test master 3.0.0-SNAPSHOT

Regarding the manual, the eik versions seen that begin to increase.
IMHO would be better to have only one

wdyt ?

Regards

--Filippo





2014-02-20 19:50 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:

  Hi all,

just a quick update about EIK branches:

- master has been updated with version 3.0.0-SNAPSHOT and added the
Karaf
3.0.0 support
- eik-2.x branch has been created, with version 2.3.1-SNAPSHOT
- 3.0.0-SNAPSHOT and 2.3.1-SNAPSHOT artifacts have been deployed.

I saw a potential issue in the EIK repository. I will try to fix it
tonight.

If some users can test the new SNAPSHOTs, it would be great.

Thanks,
Regards
JB


On 02/18/2014 03:39 PM, Jean-Baptiste Onofré wrote:

  Hi all,

In order to provide EIK version working with Karaf 2.x and 3.x, I
changed the EIK version policy and branching.
Now, EIK follows the same rule as the other Karaf subprojects
(Cellar
and Cave).

EIK master is now 3.0.0-SNAPSHOT and focus on the Karaf 3.0.0
support.
I gonna create a eik-2.3.x branch (starting with version
2.3.1-SNAPSHOT)
focus on Karaf 2.3.x support.

I cleaned up a bit the EIK branches: the latest EIK version on each
branch should work with Eclipse Kepler.

I will deploy a first EIK 2.3.1-SNAPSHOT as soon as the branch is
created.

Just after, I will push the changes on master to allow EIK
3.0.0-SNAPSHOT to work with Karaf 3.0.x. I gonna deploy a SNAPSHOT
as
well.

It should be done by tonight.

If some users can make a try on the SNAPSHOTs and get back to me,
it
would be great and will allow me to prepare both EIK 2.3.1 and
3.0.0
release.

Thanks in advance for your help.

Regards
JB


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com







--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to