Workspace & Assistant
What is a workspace?
A workspace is the collection of tools, libraries, documentations put together in a specific directory structure
that acts as a Development Environment and facilitates creation, management and build of D2 Plugin projects.
D2SV SDK distributable comes in the form of a zip file named as D2SV-SDK-<Version>.zip
. After extracting the zip and
subsequently executing ws-init.bat
successfully in the extracted folder turns it into a workspace.
What is the Assistant?
The workspace assistant is a command line utility that lives within a workspace & provides the functional aspects of the
workspace with help of NodeJS
& Apache Maven
runtimes.
While running, the assistant presents users with options to get something done within the corresponding workspace.
To run the assistant, open a command prompt/terminal in a workspace root directory and run
$npm start
Things that the workspace assistant is capable of doing are:
- Create a new plugin project
- Add smartview application scope perspective
- Add smartview UI support to an existing plugin
- Remove a plugin from workspace
- Add D2-REST controller to a plugin
- Build all plugins in the workspace
- Check out the documentation
- Check out some samples
- Add smartview shortcut behavior
- Add smartview list tile
- Add smartview shortcut tile
- Add D2FS dialog to a plugin
- Add new metadata view to plugin
- Add new task details view to plugin