Using the Nsys plugin software developer kit (SDK), you can create add-ons to extend applications based on Nsys Platform.
Requirements
- Oracle JDK 1.7+ or Open JDK 1.7+ (Java)
If your system does not meet the above requirements, please read the installation documentation: http://doc.nsys.org
1.0 Installation on Linux and Mac
Verify the Java Developer Kit (JDK) is installed
user@host:~$ javac -version javac 1.7.0_71 user@host:~$
Download latest version of the Nsys Plugin SDK
user@host:~$ wget http://cloud.nsys.org/download/nsys-plugin-sdk.zip
Edit your ~/.bashrc to include the following ($ nano ~/.bashrc)
export NSYS_SDK_HOME=/home/user/nsys-plugin-sdk export PATH=$NSYS_SDK_HOME/bin:$PATH
Test the Nsys Plugin SDK
user@host:~$ nsys-version Using NSYS_SDK_HOME: /home/user/nsys-plugin-sdk/bin/.. Using NSYS_SDK_VERSION: 1.0.0.100 Using NSYS_SDK_OPTS: Using M2_HOME: /home/user/nsys-plugin-sdk/bin/../apache-maven-3.3.1 Using MAVEN_OPTS: -Xms128M -Xmx768M -XX:MaxPermSize=256M Executing: /home/user/nsys-plugin-sdk/bin/../apache-maven-3.3.1/bin/mvn -gs /home/user/nsys-plugin-sdk/bin/../apache-maven-3.3.1/conf/settings.xml --version Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T21:10:27+01:00) Maven home: /home/user/nsys-plugin-sdk/bin/../apache-maven-3.3.1 Java version: 1.7.0_71, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac" user@host:~$
2.0 Create your own plugin project
At this point, you have set up your environment and run a test of the Nsys Plugin SDK. To learn how to create a plugin for Nsys Daemon, Nsys Portal or even how to build your own software application based on customized distribution of the Nsys Platform please see an example source code of Nsys Demo.