Skip to content

Latest commit

 

History

History
87 lines (56 loc) · 1.23 KB

README.md

File metadata and controls

87 lines (56 loc) · 1.23 KB

swtrap

SWT/RAP + JFreeChart - JVM and Native Image Demo

Global

Clean Build (JVM - All projects)

./gradlew

SWT (Native Image)

Update Tracing Agent Data

NOTE: This should be done after every major change or dependency addition

<graalvm_java_path> -agentlib:native-image-agent=config-output-dir=swt/src/main/resources/META-INF/native-image/ -jar swt/build/libs/swt-all.jar

Build

export GRAALVM_HOME=<graalvm_folder>
./gradlew :swt:nativeBuild

Run

./gradlew :swt:nativeRun

SWT (JVM)

Build

./gradlew :swt:build

Run

./gradlew :swt:run

RWT (Native Image)

Update Tracing Agent Data

NOTE: This should be done after every major change or dependency addition

<graalvm_java_path> -agentlib:native-image-agent=config-output-dir=rwt/src/main/resources/META-INF/native-image/ -jar rwt/build/libs/rwt.jar

Build

export GRAALVM_HOME=<graalvm_folder>
./gradlew :rwt:nativeBuild

Run

./gradlew :rwt:nativeRun

RWT (JVM)

Build

./gradlew :rwt:build

Run

NOTE: The application will be available at http://localhost:8080/rwt

./gradlew :rwt:bootRun