The Eclipse N4JS project is in the Incubation Phase and there is no official release available yet (for unofficial releases see the download page. This doesn’t mean that N4JS is unstable; we have an extensive test suite (>90.000 tests including the ECMAScript test suites) to ensure a stable nightly build. N4JS has been in use in several large non-public projects for years. There still may be bugs (as there are always bugs) and features which are currently under development. We encourage feedback from all users! For questions about getting started with the N4JS Language and IDE for developing your own projects, see the the Eclipse N4JS forum.
Eclipse developers who want to develop N4JS itself should use the Oomph Eclipse installer. The N4JS project is listed under "Eclipse Projects/N4JS" This setup installs the correct Eclipse version, creates a new workspace and clones all projects into it (for details see below).
Build the N4JS IDE from command line
Ensure you have
Maven 3.2.x and
Node.js 12.3.x (recommended).
installed on your system.
Clone the repository
git clone https://github.com/Eclipse/n4js.git
Change to the n4js folder:
Run the Maven build:
mvn clean verify
You may have to increase the memory for maven via
export MAVEN_OPTS="-Xmx2048m" (Unix) or
set MAVEN_OPTS="-Xmx2048m" (Windows).
For extending the N4JS-language in a different project, the
mvn clean deploy -Dlocal-snapshot-deploy-folder=/var/lib/my/folder/local-mvn-deploy-repository
The existence of
local-snapshot-deploy-folder will trigger a profile enabling the deploy-goal for the project
Copyright (c) 2019 NumberFour AG and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html