To make sure you have a clean deployment of nuxeo5 server you also need to manually remove nuxeo.ear from jboss and nuxeo libs from server/default/lib (all the jars begining with nuxeo-)

But this may impact only the nuxeo5 server runtime and not apogee (this may impact the connection from apogee to nuxeo5)

Bogdan

Bogdan Stefanescu wrote:

I've reinstalled apogee on eclipse 3.3rc3 and it works.

So here is my install steps:
1. *first* be sure you have a clean environment: (I assume you already checked out nuxeo5 trunk) a. remove ~/.m2/repository/org/nuxeo folder (this is where maven store the local repository) b. run "svn update" then 'mvn clean' and 'mvn -Dmaven.test.skip=true install' in nuxeo nuxeo_ep trunk (https://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk)
2. Run mvn install -Papogee in nuxeo_ep/org.nuxeo.runtime/nuxeo-runtime
3. Go into nuxeo-apogee-core.
   Run 'mvn clean' then a 'mvn -Dmaven.test.skip=true install'
4. Run "svn update" in apogee trunk (https://svn.nuxeo.org/nuxeo/sandbox/Apogee/trunk) 5. start eclipse and add the nuxeo-apogee-core/target/plugins folder to target environment.
6. Add Apogee projects into eclipse if not already added
7. Start jboss with nuxeo5 deployed inside on localhost and then run Apogee product

The cleanup part is important - you may have errors because of some old jars deployed in your local maven repository


Bogdan



Bogdan Stefanescu wrote:

You should use only latest versions of jars build from the trunk.
(nuxeo-core-api-1.0.0.jar  is not working with apogee)

I will test from scratch an apogee instalation with eclipse RC3
ant let you know if it is work (and also the complete steps of installation)

Bogdan


Antony BRUGGER wrote:

-------- Original Message --------
Subject: Re: [Ecm] Nuxeo ECM CoreDemo
Date: Mon, 11 Jun 2007 15:08:41 +0200
From: Antony BRUGGER <[EMAIL PROTECTED]>
To: Bogdan Stefanescu <[EMAIL PROTECTED]>

Done this but still have pbs...

I know use Eclipse 3.3RC3 otherwise Nuxeo Apogee is not compiling because of some classes of Eclipse Equinox...(at least without adding equinox jar files
manually in the classpath...)

But now org.nuxeo.ecm.rcp is not compiling because
org.nuxeo.ecm.core.api.repository.RepositoryManager class is not known and
indeed there is no such class in the nuxeo-core-api-1.0.0.jar!
But this class is in nuxeo-core-api-1.2-SNAPSHOT.jar...So I copied it in the nuxeo-apogee-core project and it's now compiling BUT when I launch the apogee
product i have this error:

java.lang.RuntimeException: No application id has been found.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:229)
at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:92) at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:129)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064) at org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1042)
at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:967)
at
org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
at
org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
at
org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:675) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:359) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

May be can you describe the exact steps to have an Apogee dev environment
really up and running(Eclipse version, necessary plugins, etc...)?

We are currently evaluating Nuxeo product by making a prototype and one
positive thing about Nuxeo is the RCP client (cause we are in a architecture
where we have RCP clients) but seems to be difficult just to run it...

Thanks for your help

Antony

On Mon, 11 Jun 2007 13:44:43 +0200, Bogdan Stefanescu <[EMAIL PROTECTED]>
wrote:
You need in fact to update both nuxeo5 projects and also apogee ones.

Apogee is composed from some nuxeo5 bundles that provides the runtime,
the core functionalities and the API to nuxeo5 services.
These bundles are generated by nuxeo-apogee-core pom file.
This is let say the core part of apogee which is shared with the nuxeo5
server

Apart these ones Apogee contains also eclipse specific plug-ins .. these
ones are in the apogee sandbox
https://svn.nuxeo.org/nuxeo/nuxeo-apogee-core/trunk


Bogdan


Antony BRUGGER wrote:
When you say apogee wich exact project is it?

On Mon, 11 Jun 2007 13:21:21 +0200, Bogdan Stefanescu
<[EMAIL PROTECTED]> wrote:
I've also fixed some runtime problems to be able to run apogee with
latest nuxeo sources
So you need to update apogee ..

Bogdan

Antony BRUGGER wrote:

Thanks.

And what about my compilation pb? So far I can't run the Nuxeo RCP

client yet.

Antony

On Mon, 11 Jun 2007 12:02:00 +0200, Bogdan Stefanescu

<[EMAIL PROTECTED]> wrote:

Indeed, as you said, the version in the pom.xml is wrong. (In fact
the
version of runtime artifact changed from 1.2.0 to 1.2)
I fixed the pom and checked in.

Bogdan

Antony BRUGGER wrote:


I've done it...

On Mon, 11 Jun 2007 11:54:31 +0200, Bogdan Stefanescu


<[EMAIL PROTECTED]> wrote:


You should install the nuxeo runtime for apogee first. ( this is
documented in the README file :) )

Usage: mvn install

Note:

If the build fails with error:

##################

[INFO]



------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]



------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.nuxeo.runtime
ArtifactId: nuxeo-runtime-apogee
Version: 1.2.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

##################

then you must first build the apogee runtime artifact. Then try

again.

To build apogee runtime run:
mvn -Papogee install
on the nuxeo-runtime project


Bogdan



Antony BRUGGER wrote:



I try to follow instructions in the README.txt of
nuxeo-apogee-core

project but I have the following error when I run mvn install on
nuxeo-apogee-core project:



[INFO]



------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]



------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.nuxeo.runtime
ArtifactId: nuxeo-runtime-apogee
Version: 1.2.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.nuxeo.runtime



-DartifactId=nuxeo-runt



ime-apogee \
        -Dversion=1.2.0-SNAPSHOT -Dpackaging=jar

-Dfile=/path/to/file

  org.nuxeo.runtime:nuxeo-runtime-apogee:jar:1.2.0-SNAPSHOT

from the specified remote repositories:
  Nuxeo external_snapshot



(http://archiva.nuxeo.org/archiva/repository/external_



snapshot),
  central (http://repo1.maven.org/maven2),
  Nuxeo nuxeo_release



(http://archiva.nuxeo.org/archiva/repository/nuxeo_release



),
  Nuxeo central

(http://archiva.nuxeo.org/archiva/repository/central),

  Nuxeo nuxeo_snapshot



(http://archiva.nuxeo.org/archiva/repository/nuxeo_snapsh



ot)


Any idea to solve this?

Antony

On Fri, 08 Jun 2007 13:16:46 +0200, Bogdan Stefanescu



<[EMAIL PROTECTED]> wrote:



Problem are fixed apogee is now working.

Bogdan

Bogdan Stefanescu wrote:




Hi Antony,

Checkout the project
https://svn.nuxeo.org/nuxeo/nuxeo-apogee-core/trunk
in README.txt file you have installation instruction.

However I tried to run apogee with latest trunk sources
now and the connection to jboss fails because of some class
loader
problems.
I am trying to fix the problem.

Bogdan



Stefane Fermigier wrote:




Yes, this is a very old SVN setup, we have reorganized the SVN


since.


I'm looking for the up-to-date information. Stay tuned.

BTW: can you provide the URL for this outdated doc, so that we

fix

it?



  S.

On Jun 8, 2007, at 11:12 AM, Antony BRUGGER wrote:





I'd like to try the Nuxeo ECM Core Demo to have the Nuxeo RCP


client


connected to a JBoss Nuxeo server.

In the doc it is said to check out :

svn co http://svn.nuxeo.org/nuxeo/ECMPlatform/NXCore/trunk

NXCore

$ svn co
http://svn.nuxeo.org/nuxeo/ECMPlatform/NXCoreAPI/trunk
NXCoreAPI
$ svn co


http://svn.nuxeo.org/nuxeo/ECMPlatform/NXJCRConnector/trunk


NXJCRConnector
$ svn co http://svn.nuxeo.org/nuxeo/NXRuntime/NXRuntime/trunk




NXRuntime




but there is no http://svn.nuxeo.org/nuxeo/ECMPlatform/ on
SVN.
Can someone told me which exact project to check out or give
me
an

updated doc?

Tks

Antony

_______________________________________________
ECM mailing list
[email protected] <mailto:[email protected]>
http://lists.nuxeo.com/mailman/listinfo/ecm





--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87







------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm





_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm





_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm






_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm




_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to