Knowledge Base Article

Nios II IDE Command-Line Tools Select Wrong Workspace on Linux

Description

On Linux systems, the Nios II IDE command-line tools use the default Eclipse project workspace, regardless what workspace you are using in the IDE. The default workspace is at /eclipse/nios2-ide-workspace-<version>.

This issue affects the following tools:

  • nios2-create-system-library
  • nios2-create-application-project
  • nios2-build-project
  • nios2-import-project
  • nios2-delete-project
Resolution

Explicitly supply the Nios II IDE command-line tools with a workspace location, by means of the -data command-line argument. The syntax of the -data argument is as follows:

-data <path to workspace>

The path to the workspace must be absolute, and must not contain whitespace. Aside from these restrictions, any valid file system path can be used for the workspace. shows how to specify a workspace path.

Providing a Non-Default Workspace Location in Linux
nios2-create-project -data /home/jchang/myworkspace<other arguments>r
Updated 1 month ago
Version 2.0
No CommentsBe the first to comment