Building applications¶
Build SPL applications using the extension with or without configuring compile options. Build configurations are automatically saved to .vscode/.streams.json for future builds.
Before building, choose whether to use the saved build configuration or specify a new one. If no configuration is provided on first build, default settings are used.
Ensure toolkit paths are configured
Builds will fail if your application uses toolkits the extension is not aware of. You can configure toolkit paths to inform the extension of used toolkits.
Compile-time parameters
Applications containing compile-time parameters require at least one build with custom parameters to set initial values. Otherwise, the build will fail.
Building with saved config¶
To build an SPL application using the previous build configuration (or defaults on first build):
- In File Explorer, right-click the SPL file containing your application
- Select Build
- Open the SPL file containing your application
- Click the (Streams Development) icon in the Activity Bar
- Click the (Build) icon
Building with custom parameters¶
To configure compilation settings, build with parameters:
- In File Explorer, right-click the SPL file containing your application
- Click Build with Parameters
- Complete the wizard form
- Click the Build Application button
- Open the SPL file containing your application
- Click the (Streams Development) icon in the Activity Bar
- Click the (Build with Parameters) icon
- Complete the wizard form
- Click the Build Application button
Viewing build output¶
- Enter Ctrl+Shift+U (Windows/Linux) or Cmd+Shift+U (macOS) to open the OUTPUT panel.
- From the channel dropdown, select Teracloud Streams | SPL.
Viewing build configurations¶
The Streams Development view displays the saved build configuration for your application.
- Open the SPL file containing your application
- Click the (Streams Development) icon in the Activity Bar
The configuration will be under the Main Composites section.
Cleaning build artifacts¶
Remove build artifacts by running a clean operation:
- In File Explorer, right-click the SPL file containing your application
- Click Clean Build Artifacts
- Open the SPL file containing your application
- Click the (Streams Development) icon in the Activity Bar
- Click the (Clean build artifacts) icon
Next steps¶
Once an application is built, you can run it in standalone mode or submit it to a runtime environment.