Skip to content

Instantly share code, notes, and snippets.

<p>Welcome,
You have safely landed to the Nuxeo Platform Codenvy quick-start template! Compared to an empty Java Codenvy project, you have:
- a sample operation from which you get inspiration to implement your own operations (see [about automation]( http://doc.nuxeo.com/x/mQAz) and [how to build an operation](http://doc.nuxeo.com/x/7QAz))
- a custom runner (see runner menu) "nuxeo" that will build and deploy your java project on a Nuxeo Platform instance started in the cloud,
In the future we will add the ability to easily "deploy" a Nuxeo Studio Project, necessary for implementing the business logic of your project. You can get a Nuxeo Studio access filling the [this form](https://connect.nuxeo.com/register).
## About Nuxeo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Nuxeo - Codenvy</title>
</head>
<body>
<h3>Welcome!</h3>
{
"entity-type": "documents",
"isPaginable": true,
"resultsCount": 4,
"pageSize": 20,
"maxPageSize": 1000,
"currentPageSize": 3,
"currentPageIndex": 0,
"numberOfPages": 1,
"isPreviousPageAvailable": false,
{"v": "2.0",
"project": {
"name": "nuxeo-project",
"visibility": "public",
"builders": {
"default": "maven"
},
"attributes": {
"language": [
"java"
{
"steps": [
{
"title": "<b>Nuxeo Platform</b> Project Template",
"content": "Welcome in the <b>Nuxeo</b> Codenvy Template. We have instantiated for you a project template. When you build it, it produces a jar that can be deployed on a <b>Nuxeo Platform</b> instance. You can use Codenvy to implement the custom java logic that you would not be able to design and configure using <b>Nuxeo Studio</b>, the configuration environment.<ul><li>[https://connect.nuxeo.com/register/#/ Nuxeo Studio Trial]</li><li>[http://doc.nuxeo.com/x/CBU5AQ Getting Started]</li><li>[http://doc.nuxeo.com/x/EIAV Nuxeo Studio Documentation]</li></ul>",
"element": "gwt-debug-projectExplorerTree-panel",
"placement": "RIGHT",
"actions": [
{
"action": "openfile /src/main/java/org/nuxeo/sample/SampleOperation.java"
"steps": [
{
"title": "<b>Nuxeo Platform</b> Project Template",
"content": "Welcome in the <b>Nuxeo</b> Codenvy Template. We have instantiated for you a project template. When you build it, it produces a jar that can be deployed on a <b>Nuxeo Platform</b> instance. You can use Codenvy to implement the custom java logic that you would not be able to design and configure using <b>Nuxeo Studio</b>, the configuration environment.<ul><li>[https://connect.nuxeo.com/register/#/ Nuxeo Studio Trial]</li><li>[http://doc.nuxeo.com/x/CBU5AQ Getting Started]</li><li>[http://doc.nuxeo.com/x/EIAV Nuxeo Studio Documentation]</li></ul>",
"element": "gwt-debug-projectExplorerTree-panel",
"placement": "RIGHT",
"actions": [
{
"action": "openfile /src/main/java/org/nuxeo/sample/SampleOperation.java"
}
{
"title": "Start a <b>Nuxeo</b> Server and Deploy your Customisation",
"content": "This button can be used to build the project and deploy it on a <b>Nuxeo Platform</b> instance started in a docker container in the cloud so that you can test your development. If you click on the “Run” button below, server will be automatically started.",
"element": "gwt-debug-MainToolbar/runApp-true",
"placement": "BOTTOM",
"xOffset": "-17",
"actions": [
{
"action": "trigger runApp"
}
/*
* (C) Copyright 2015 Nuxeo SA (http://nuxeo.com/) and contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-2.1.html
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[DOCKER] Step 2 : RUN unzip /tmp/build.zip && mkdir $NUXEO_HOME/nxserver/plugins && cp /tmp/application.jar $NUXEO_HOME/nxserver/plugins
[DOCKER] ---> Running in c7facd1bee2f
[DOCKER] Archive: /tmp/build.zip
[DOCKER] creating: lib/
[DOCKER] inflating: lib/nuxeo-common-6.0.jar
[DOCKER]
[DOCKER] inflating: lib/xercesImpl-2.9.1.jar
[DOCKER]
[DOCKER] inflating: lib/commons-io-2.4.jar
[DOCKER]
{
"v": "2.1",
"creator": {
"email": "vpasquier@nuxeo.com",
"accountId": "accountID",
"name": "Nuxeo"
},
"project": {
"name": "nuxeo-project",
"visibility": "public",