... | ... | @@ -4,36 +4,7 @@ Note that as part of the Pulse build, a Pulse.jar file was built to `<pulse/bin> |
|
|
|
|
|
Configuration
|
|
|
-------------
|
|
|
Pulse provides an IntelliJ project. To open it, select 'File->Open Project' and navigate to the root of your Pulse source directory. Next, follow the following steps :
|
|
|
|
|
|
### Create a protobuf Module
|
|
|
You will need to create a protobuf module to compile the java files associated with th google protocol buffer library downloaded by the Pulse superbuild.
|
|
|
|
|
|
* Select 'File->New->Module From Existing Sources'
|
|
|
* Navigate to `<pulse/build>/protobuf/src/protobuf/java/core/src/main` directory
|
|
|
* Continue through the wizard, you can rename the module from 'main' to 'protobuf' if you wish for clarity.
|
|
|
|
|
|
### Create a schema Module
|
|
|
You will need to create a schema module to compile the java code generated from compiling the Pulse proto files
|
|
|
|
|
|
* Select 'File->New->Module From Existing Sources'
|
|
|
* Navigate to `<pulse/build>/Pulse/schema` directory
|
|
|
* Continue through the wizard, the module will be named 'schema'
|
|
|
|
|
|
### Configure the project dependencies
|
|
|
The following module dependencies need to be reflected in the Project Structure :
|
|
|
* schema depends on protobuf
|
|
|
* cdm depends on schema
|
|
|
* engine depends on cdm
|
|
|
* howto depends on engine
|
|
|
|
|
|
To set these dependencies, follow these instructions :
|
|
|
|
|
|
* Select 'File->Project Structure'
|
|
|
* Select 'Modules'
|
|
|
* Select the each Module and add a 'Module Dependency' via the + button on the right of the dialog.
|
|
|
|
|
|
![IntelliJ_Settings](/uploads/2754d550012b259ef53abb7732782a61/IntelliJ_Settings.png)
|
|
|
Pulse provides an IntelliJ project. To open it, select 'File->Open Project' and navigate to the root of your Pulse source directory.
|
|
|
|
|
|
### Run the SDK examples
|
|
|
|
... | ... | |