Hi Igor,

The build for this project was changed last night to be able to generate a command line application from where youc an run sample-api examples To be able to run the build you need to checkout the project (it is a small project used only to build a command line client for nuxeo ecm)

https://svn.nuxeo.org/nuxeo/tools/build/nuxeo-client-build/trunk

After the checkout run go into the project root directory and run "mvn install"

Then go into nuxeo-sample-api and run mvn install
A directory named target/api-sample will be created
Inside you have a run.sh script that you can use to launch nuxeo-sample-api from command line.

Bogdan


igor wrote:

I regret to advise you that deploy target (maven) don't work well in "nuxeo-api-sample". I have got following error:

E:\nuxeo-api-sample>mvn deploy

[INFO] Scanning for projects...

[INFO] ----------------------------------------------------------------------------

[INFO] Building Unnamed - org.nuxeo.ecm.sample:nuxeo-api-sample:jar:0.0.1

[INFO] task-segment: [deploy]

[INFO] ----------------------------------------------------------------------------

[INFO] [resources:resources]

[INFO] Using default encoding to copy filtered resources.

Downloading: http://archiva.nuxeo.org/archiva/repository/external_snapshot/org/nuxeo/ecm/build/nuxeo-client-build/1.0.0-SNAPSHOT/nuxeo-clien

t-build-1.0.0-SNAPSHOT.pom

[WARNING] Unable to get resource from repository external_snapshot (http://archiva.nuxeo.org/archiva/repository/external_snapshot)

Downloading: http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot/org/nuxeo/ecm/build/nuxeo-client-build/1.0.0-SNAPSHOT/nuxeo-client-b

uild-1.0.0-SNAPSHOT.pom

[WARNING] Unable to get resource from repository nuxeo_snapshot (http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot)

Downloading: http://archiva.nuxeo.org/archiva/repository/external_snapshot/org/nuxeo/ecm/build/nuxeo-client-build/1.0.0-SNAPSHOT/nuxeo-clien

t-build-1.0.0-SNAPSHOT.pom

[WARNING] Unable to get resource from repository external_snapshot (http://archiva.nuxeo.org/archiva/repository/external_snapshot)

Downloading: http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot/org/nuxeo/ecm/build/nuxeo-client-build/1.0.0-SNAPSHOT/nuxeo-client-b

uild-1.0.0-SNAPSHOT.pom

[WARNING] Unable to get resource from repository nuxeo_snapshot (http://archiva.nuxeo.org/archiva/repository/nuxeo_snapshot)

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Failed to resolve artifact.

Missing:

----------

1) org.nuxeo.ecm.build:nuxeo-client-build:pom:1.0.0-SNAPSHOT

Path to dependency:

1) org.nuxeo.ecm.sample:nuxeo-api-sample:jar:0.0.1

2) org.nuxeo.ecm.build:nuxeo-client-build:pom:1.0.0-SNAPSHOT

----------

1 required artifact is missing.

for artifact:

org.nuxeo.ecm.sample:nuxeo-api-sample:jar:0.0.1

from the specified remote repositories:

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

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

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

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

external_snapshot (http://archiva.nuxeo.org/archiva/repository/external_snapshot)

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 6 seconds

[INFO] Finished at: Mon Jul 16 15:24:22 EEST 2007

[INFO] Final Memory: 10M/20M

[INFO] ------------------------------------------------------------------------

Best regards. Igor Semenov.

------------------------------------------------------------------------

_______________________________________________
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