Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ include("examples")
// DOM changes
module("content-changes", "./tutorials/content-changes")
module("docker", "./tutorials/docker")
module("eclipse-rcp", "./tutorials/eclipse-rcp")
// Selenium integration
module("launcher", "./tutorials/selenium/launcher")
module("target-app", "./tutorials/selenium/target-app")
Expand Down
38 changes: 27 additions & 11 deletions tutorials/eclipse-rcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,34 @@ Creating of this example project is described in
the [tutorial](https://jxbrowser-support.teamdev.com/docs/tutorials/eclipse/rcp-application.html).

## Build and launch
1. Copy necessary JxBrowser JAR files to the workspace:

### Using Maven

1. Build the project using Maven and Apache Tycho:

```bash
./gradlew prepareEclipseExample
$ mvn clean verify
```

2. Open this workspace in Eclipse.
3. In **File -> Import** menu, choose **General -> Existing Projects Into Workspace**.
4. In **Select root directory**, select this directory and import all found projects.
5. Insert your license key into [com.example.e4.rcp/src/com/example/e4/rcp/parts/SamplePart.java]().
6. In **Run** menu, choose **Run Configurations**.
7. Open `com.example.e4.rcp.product` run configuration from **Eclipse Applications** group.
8. In **Plug-ins** tab, click **Add Required Plug-ins** to make sure that all platform-specific SWT components
are present in a classpath.
9. Click **Run**.
2. Navigate to the `com.teamdev.jxbrowser.demo.product/target/products` directory:

```bash
$ cd com.teamdev.jxbrowser.demo.product/target/products
$ ls
com.teamdev.jxbrowser.demo.product-win32.win32.x86_64.zip
com.teamdev.jxbrowser.demo.product-win32.win32.aarch64.zip
com.teamdev.jxbrowser.demo.product-linux.gtk.aarch64.tar.gz
com.teamdev.jxbrowser.demo.product-linux.gtk.x86_64.tar.gz
com.teamdev.jxbrowser.demo.product-macosx.cocoa.aarch64.tar.gz
com.teamdev.jxbrowser.demo.product-macosx.cocoa.x86_64.tar.gz

```
3. Unpack the archive for your platform.
4. Double-click the `eclipse[.exe]` file in the unpacked archive.

### Using Eclipse IDE

1. Download Eclipse IDE for RCP developers.
2. Open this folder as a workspace.
3. Import existing projects from the folder to the workspace.
4. Run the `com.teamdev.jxbrowser.demo.product` run configuration.
115 changes: 0 additions & 115 deletions tutorials/eclipse-rcp/build.gradle.kts

This file was deleted.

51 changes: 0 additions & 51 deletions tutorials/eclipse-rcp/com.example.e4.rcp/Application.e4xmi

This file was deleted.

20 changes: 0 additions & 20 deletions tutorials/eclipse-rcp/com.example.e4.rcp/META-INF/MANIFEST.MF

This file was deleted.

27 changes: 0 additions & 27 deletions tutorials/eclipse-rcp/com.example.e4.rcp/build.properties

This file was deleted.

This file was deleted.

Loading