diff --git a/settings.gradle.kts b/settings.gradle.kts index 41db3763..fa61a114 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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") diff --git a/tutorials/eclipse-rcp/README.md b/tutorials/eclipse-rcp/README.md index 9e52321d..8fae0802 100644 --- a/tutorials/eclipse-rcp/README.md +++ b/tutorials/eclipse-rcp/README.md @@ -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. diff --git a/tutorials/eclipse-rcp/build.gradle.kts b/tutorials/eclipse-rcp/build.gradle.kts deleted file mode 100644 index fbb6104a..00000000 --- a/tutorials/eclipse-rcp/build.gradle.kts +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2026, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -repositories { - mavenCentral() - maven("https://europe-maven.pkg.dev/jxbrowser/releases") -} - -configurations { - create("jxbrowserPlatform") -} - -val jxBrowserVersion: String by rootProject.extra - -dependencies { - // Core JxBrowser library. - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser:$jxBrowserVersion") - - // Uncomment when SWT artifact is available. - // SWT dependency - // ------------------------- - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser-swt:$jxBrowserVersion") - - // Windows-only dependency - // ------------------------- - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser-win32:$jxBrowserVersion") - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser-win64:$jxBrowserVersion") - - // macOS-only dependency - // ------------------------- - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser-mac:$jxBrowserVersion") - - // Linux-only dependency - // ------------------------- - dependencies.add("jxbrowserPlatform", "com.teamdev.jxbrowser:jxbrowser-linux64:$jxBrowserVersion") - - implementation(files("$rootDir/network/src/main/resources/resource.jar")) -} - -/** - * Copies JxBrowser JAR files from the local Maven repository to the temp directory. - */ -val copyJarsFromRepository by tasks.register("copyJarsFromRepository", Copy::class) { - from(configurations.getByName("jxbrowserPlatform")) - into("$buildDir/temp") -} - -/** - * Copies JxBrowser JAR files to the specific folders in the workspace where they belong. - * - * For example, `jxbrowser-win32-7.5.jar` is copied to `jxbrowser-win32` folder. - */ -val copyJarsToPlugIns by tasks.register("copyJarsToPlugIns") { - dependsOn(copyJarsFromRepository) - doLast { - listOf("win32", "win64", "linux64", "mac").forEach { platform -> - copy { - from(file("$buildDir/temp/jxbrowser-$platform-$jxBrowserVersion.jar")) - into(file("$projectDir/jxbrowser-$platform")) - rename { _ -> "jxbrowser-$platform.jar" } - } - mkdir("$projectDir/jxbrowser-$platform/src") - } - - mkdir("$projectDir/jxbrowser/src") - - copy { - from(file("${buildDir}/temp/jxbrowser-$jxBrowserVersion.jar")) - into(file("${projectDir}/jxbrowser")) - rename { _ -> "jxbrowser.jar" } - } - - copy { - from(file("${buildDir}/temp/jxbrowser-swt-$jxBrowserVersion.jar")) - into(file("${projectDir}/jxbrowser")) - rename { _ -> "jxbrowser-swt.jar" } - } - } -} - -/** - * Removes JAR files copied to the Eclipse workspace. - */ -val cleanUp by tasks.register("cleanUp", Delete::class) { - delete(fileTree(projectDir) { - include("**/*.jar") - }) -} - -tasks.clean { - dependsOn(cleanUp) -} - -val prepareEclipseExample by tasks.register("prepareEclipseExample") { - group = "Eclipse RCP Example" - description = "Downloads dependencies for the project and puts them to the right places" - dependsOn(copyJarsToPlugIns) -} diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/Application.e4xmi b/tutorials/eclipse-rcp/com.example.e4.rcp/Application.e4xmi deleted file mode 100644 index 9f9fc873..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/Application.e4xmi +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/com.example.e4.rcp/META-INF/MANIFEST.MF deleted file mode 100644 index 51f9e49c..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Rcp -Bundle-SymbolicName: com.example.e4.rcp;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: EXAMPLE -Require-Bundle: javax.inject;bundle-version="0.0.0", - org.eclipse.core.runtime;bundle-version="0.0.0", - org.eclipse.swt;bundle-version="0.0.0", - org.eclipse.e4.ui.model.workbench;bundle-version="0.0.0", - org.eclipse.jface;bundle-version="0.0.0", - org.eclipse.e4.ui.services;bundle-version="0.0.0", - org.eclipse.e4.ui.workbench;bundle-version="0.0.0", - org.eclipse.e4.core.di;bundle-version="0.0.0", - org.eclipse.e4.ui.di;bundle-version="0.0.0", - org.eclipse.e4.core.contexts;bundle-version="0.0.0", - jxbrowser;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Import-Package: javax.annotation;version="0.0.0" -Automatic-Module-Name: com.example.e4.rcp diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/build.properties b/tutorials/eclipse-rcp/com.example.e4.rcp/build.properties deleted file mode 100644 index a3e20b0a..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/build.properties +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -source..=src/ -output..=bin/ -bin.includes=plugin.xml,\ - META-INF/,\ - .,\ - icons/,\ - css/default.css,\ - Application.e4xmi diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product b/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product deleted file mode 100644 index 7fe146ad..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - -clearPersistedState - - -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product.launch b/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product.launch deleted file mode 100644 index 6ff03f0f..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/com.example.e4.rcp.product.launch +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/css/default.css b/tutorials/eclipse-rcp/com.example.e4.rcp/css/default.css deleted file mode 100644 index f6f2f62a..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/css/default.css +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2025, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/home.png b/tutorials/eclipse-rcp/com.example.e4.rcp/icons/home.png deleted file mode 100644 index e9ace41c..00000000 Binary files a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/home.png and /dev/null differ diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/open_in_app.png b/tutorials/eclipse-rcp/com.example.e4.rcp/icons/open_in_app.png deleted file mode 100644 index 9df4eeb7..00000000 Binary files a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/open_in_app.png and /dev/null differ diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/save_edit.png b/tutorials/eclipse-rcp/com.example.e4.rcp/icons/save_edit.png deleted file mode 100644 index b17caf5a..00000000 Binary files a/tutorials/eclipse-rcp/com.example.e4.rcp/icons/save_edit.png and /dev/null differ diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/plugin.xml b/tutorials/eclipse-rcp/com.example.e4.rcp/plugin.xml deleted file mode 100644 index 22b85317..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/plugin.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/AboutHandler.java b/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/AboutHandler.java deleted file mode 100644 index 7590e26a..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/AboutHandler.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2020, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package com.example.e4.rcp.handlers; - -import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.swt.widgets.Shell; - -public class AboutHandler { - - @Execute - public void execute(Shell shell) { - MessageDialog.openInformation(shell, "About", "Eclipse 4 RCP Application"); - } -} diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/OpenHandler.java b/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/OpenHandler.java deleted file mode 100644 index 8da7527c..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/OpenHandler.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2020, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package com.example.e4.rcp.handlers; - -import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.swt.widgets.FileDialog; -import org.eclipse.swt.widgets.Shell; - -public class OpenHandler { - - @Execute - public void execute(Shell shell) { - FileDialog dialog = new FileDialog(shell); - dialog.open(); - } -} diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/QuitHandler.java b/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/QuitHandler.java deleted file mode 100644 index 60d0b947..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/QuitHandler.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package com.example.e4.rcp.handlers; - -import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.e4.ui.workbench.IWorkbench; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.swt.widgets.Shell; - - -public class QuitHandler { - - @Execute - public void execute(IWorkbench workbench, Shell shell) { - if (MessageDialog.openConfirm(shell, "Confirmation", - "Do you want to exit?")) { - workbench.close(); - } - } -} diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/SaveHandler.java b/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/SaveHandler.java deleted file mode 100644 index c88e3d8c..00000000 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/handlers/SaveHandler.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2020, TeamDev. All rights reserved. - * - * Redistribution and use in source and/or binary forms, with or without - * modification, must retain the above copyright notice and the following - * disclaimer. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package com.example.e4.rcp.handlers; - -import org.eclipse.e4.core.di.annotations.CanExecute; -import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.e4.ui.workbench.modeling.EPartService; - -public class SaveHandler { - - @CanExecute - public boolean canExecute(EPartService partService) { - if (partService != null) { - return !partService.getDirtyParts().isEmpty(); - } - return false; - } - - @Execute - public void execute(EPartService partService) { - partService.saveAll(false); - } -} diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/.project b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/.project new file mode 100644 index 00000000..3948b801 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/.project @@ -0,0 +1,17 @@ + + + com.teamdev.jxbrowser.demo.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/build.properties b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/build.properties new file mode 100644 index 00000000..64f93a9f --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/feature.xml b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/feature.xml new file mode 100644 index 00000000..bd007114 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/feature.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/pom.xml b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/pom.xml new file mode 100644 index 00000000..ae0f53c7 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.feature/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + + com.teamdev.jxbrowser.demo.feature + eclipse-feature + 1.0.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + diff --git a/tutorials/eclipse-rcp/jxbrowser-win32/.classpath b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.classpath similarity index 70% rename from tutorials/eclipse-rcp/jxbrowser-win32/.classpath rename to tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.classpath index e9b0125a..558b50a9 100644 --- a/tutorials/eclipse-rcp/jxbrowser-win32/.classpath +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.classpath @@ -1,8 +1,10 @@ - - + + + + + - diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.project b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.project new file mode 100644 index 00000000..605db647 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/.project @@ -0,0 +1,28 @@ + + + com.teamdev.jxbrowser.demo.product + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/META-INF/MANIFEST.MF new file mode 100644 index 00000000..374e1e03 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Product Plug-In +Bundle-SymbolicName: com.teamdev.jxbrowser.demo.product +Bundle-Version: 1.0.0.qualifier +Automatic-Module-Name: com.teamdev.jxbrowser.demo.product +Require-Bundle: org.eclipse.core.runtime +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/build.properties b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/build.properties new file mode 100644 index 00000000..5f22cdd4 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/build.properties @@ -0,0 +1 @@ +bin.includes = META-INF/ diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product new file mode 100644 index 00000000..f9ab67b3 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product @@ -0,0 +1,53 @@ + + + + + + + + + + -clearPersistedState + + -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true + + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JRE-1.1 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product.launch b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product.launch new file mode 100644 index 00000000..02ff39a7 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/com.teamdev.jxbrowser.demo.product.launch @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/pom.xml b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/pom.xml new file mode 100644 index 00000000..5b53d5da --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo.product/pom.xml @@ -0,0 +1,42 @@ + + + 4.0.0 + + com.teamdev.jxbrowser.demo.product + eclipse-repository + 1.0.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + + + materialize-products + + materialize-products + + + true + + + + archive-products + + archive-products + + + + + + + diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/.classpath b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.classpath similarity index 95% rename from tutorials/eclipse-rcp/com.example.e4.rcp/.classpath rename to tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.classpath index eca7bdba..1a821310 100644 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/.classpath +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.classpath @@ -1,7 +1,7 @@ - - + + diff --git a/tutorials/eclipse-rcp/jxbrowser-mac/.project b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.project similarity index 93% rename from tutorials/eclipse-rcp/jxbrowser-mac/.project rename to tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.project index 9e3fb65b..d833af96 100644 --- a/tutorials/eclipse-rcp/jxbrowser-mac/.project +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/.project @@ -1,6 +1,6 @@ - jxbrowser-mac + com.teamdev.jxbrowser.demo diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/Application.e4xmi b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/Application.e4xmi new file mode 100644 index 00000000..b9488c30 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/Application.e4xmi @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/META-INF/MANIFEST.MF new file mode 100644 index 00000000..9cb80681 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: RCP Application +Bundle-SymbolicName: com.teamdev.jxbrowser.demo;singleton:=true +Bundle-Version: 1.0.0.qualifier +Require-Bundle: org.eclipse.swt, + org.eclipse.e4.ui.model.workbench, + org.eclipse.jface, + org.eclipse.e4.ui.services, + org.eclipse.e4.ui.workbench, + org.eclipse.e4.core.di, + org.eclipse.e4.ui.di, + org.eclipse.e4.core.contexts, + org.eclipse.core.runtime, + org.eclipse.e4.core.commands, + com.google.gson, + org.eclipse.core.databinding, + org.eclipse.jface.databinding, + org.eclipse.core.databinding.property, + jxbrowser +Bundle-RequiredExecutionEnvironment: JavaSE-17 +Automatic-Module-Name: com.teamdev.jxbrowser.demo +Import-Package: jakarta.annotation, + jakarta.inject +Bundle-ActivationPolicy: lazy diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/build.properties b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/build.properties new file mode 100644 index 00000000..4e069e22 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/build.properties @@ -0,0 +1,6 @@ +source.. = src/ +output.. = bin/ +bin.includes = plugin.xml,\ + META-INF/,\ + .,\ + Application.e4xmi diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/plugin.xml b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/plugin.xml new file mode 100644 index 00000000..a36b809c --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/plugin.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/pom.xml b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/pom.xml new file mode 100644 index 00000000..49f4c128 --- /dev/null +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + com.teamdev.jxbrowser.demo + 1.0.0-SNAPSHOT + eclipse-plugin + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/parts/SamplePart.java b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/src/com/teamdev/jxbrowser/demo/parts/SamplePart.java similarity index 86% rename from tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/parts/SamplePart.java rename to tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/src/com/teamdev/jxbrowser/demo/parts/SamplePart.java index 78e4241d..c6dac09d 100644 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/src/com/example/e4/rcp/parts/SamplePart.java +++ b/tutorials/eclipse-rcp/com.teamdev.jxbrowser.demo/src/com/teamdev/jxbrowser/demo/parts/SamplePart.java @@ -1,5 +1,5 @@ /* - * Copyright 2020, TeamDev. All rights reserved. + * Copyright 2026, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following @@ -17,8 +17,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -// #docfragment "without-license" -package com.example.e4.rcp.parts; + +package com.teamdev.jxbrowser.demo.parts; import static org.eclipse.swt.layout.GridData.FILL; @@ -26,9 +26,11 @@ import com.teamdev.jxbrowser.engine.Engine; import com.teamdev.jxbrowser.engine.EngineOptions; import com.teamdev.jxbrowser.engine.RenderingMode; +import com.teamdev.jxbrowser.logging.Logger; +import com.teamdev.jxbrowser.logging.Level; import com.teamdev.jxbrowser.view.swt.BrowserView; -import javax.annotation.PostConstruct; +import jakarta.annotation.PostConstruct; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; @@ -40,11 +42,12 @@ public class SamplePart { @PostConstruct public void createComposite(Composite parent) { + // Uncomment to enable debug logging: + // Logger.level(Level.DEBUG); parent.setLayout(new GridLayout(1, false)); - + System.setProperty("jxbrowser.license.key", ""); Engine engine = Engine.newInstance( EngineOptions.newBuilder(RenderingMode.HARDWARE_ACCELERATED) - .licenseKey("your_license_key") .build()); Browser browser = engine.newBrowser(); @@ -65,4 +68,3 @@ public void createComposite(Composite parent) { view.setLayoutData(new GridData(FILL, FILL, true, true)); } } -// #enddocfragment "without-license" diff --git a/tutorials/eclipse-rcp/jxbrowser-linux64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser-linux64/META-INF/MANIFEST.MF deleted file mode 100644 index 83c62d22..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-linux64/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Jxbrowser-linux64 -Bundle-SymbolicName: jxbrowser-linux64 -Bundle-Version: 1.0.0.qualifier -Fragment-Host: jxbrowser;bundle-version="1.0.0" -Automatic-Module-Name: jxbrowser-linux64 -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ClassPath: jxbrowser-linux64.jar, - . -Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64)) diff --git a/tutorials/eclipse-rcp/jxbrowser-linux64/build.properties b/tutorials/eclipse-rcp/jxbrowser-linux64/build.properties deleted file mode 100644 index dd04ce30..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-linux64/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -source..=src/ -output..=bin/ -bin.includes=META-INF/,\ - .,\ - jxbrowser-linux64.jar diff --git a/tutorials/eclipse-rcp/jxbrowser-mac/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser-mac/META-INF/MANIFEST.MF deleted file mode 100644 index 4ed859f3..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-mac/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Jxbrowser-mac -Bundle-SymbolicName: jxbrowser-mac -Bundle-Version: 1.0.0.qualifier -Fragment-Host: jxbrowser;bundle-version="1.0.0" -Automatic-Module-Name: jxbrowser-mac -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ClassPath: jxbrowser-mac.jar, - . -Eclipse-PlatformFilter: (osgi.os=macosx) diff --git a/tutorials/eclipse-rcp/jxbrowser-mac/build.properties b/tutorials/eclipse-rcp/jxbrowser-mac/build.properties deleted file mode 100644 index e06f0c13..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-mac/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -source..=src/ -output..=bin/ -bin.includes=META-INF/,\ - .,\ - jxbrowser-mac.jar diff --git a/tutorials/eclipse-rcp/jxbrowser-win32/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser-win32/META-INF/MANIFEST.MF deleted file mode 100644 index 770f0874..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-win32/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Jxbrowser-win32 -Bundle-SymbolicName: jxbrowser-win32 -Bundle-Version: 1.0.0.qualifier -Fragment-Host: jxbrowser;bundle-version="1.0.0" -Automatic-Module-Name: jxbrowser-win32 -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ClassPath: jxbrowser-win32.jar, - . -Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.arch=x86)) diff --git a/tutorials/eclipse-rcp/jxbrowser-win32/build.properties b/tutorials/eclipse-rcp/jxbrowser-win32/build.properties deleted file mode 100644 index c97628a9..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-win32/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -source..=src/ -output..=bin/ -bin.includes=META-INF/,\ - .,\ - jxbrowser-win32.jar diff --git a/tutorials/eclipse-rcp/jxbrowser-win64/.project b/tutorials/eclipse-rcp/jxbrowser-win64/.project deleted file mode 100644 index a7e9c769..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-win64/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - jxbrowser-win64 - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/tutorials/eclipse-rcp/jxbrowser-win64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser-win64/META-INF/MANIFEST.MF deleted file mode 100644 index 438bea45..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-win64/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Jxbrowser-win64 -Bundle-SymbolicName: jxbrowser-win64 -Bundle-Version: 1.0.0.qualifier -Fragment-Host: jxbrowser;bundle-version="1.0.0" -Automatic-Module-Name: jxbrowser-win64 -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ClassPath: jxbrowser-win64.jar, - . -Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.arch=x86_64)) diff --git a/tutorials/eclipse-rcp/jxbrowser-win64/build.properties b/tutorials/eclipse-rcp/jxbrowser-win64/build.properties deleted file mode 100644 index 19e7b860..00000000 --- a/tutorials/eclipse-rcp/jxbrowser-win64/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -source..=src/ -output..=bin/ -bin.includes=META-INF/,\ - .,\ - jxbrowser-win64.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.classpath b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.classpath new file mode 100644 index 00000000..2e19b365 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/com.example.e4.rcp/.project b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.project similarity index 93% rename from tutorials/eclipse-rcp/com.example.e4.rcp/.project rename to tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.project index 63c2bd15..3aa40edd 100644 --- a/tutorials/eclipse-rcp/com.example.e4.rcp/.project +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/.project @@ -1,6 +1,6 @@ - com.example.e4.rcp + jxbrowser.linux.gtk.aarch64 diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..fb3a061b --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.linux.gtk.aarch64 +Bundle-SymbolicName: jxbrowser.linux.gtk.aarch64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=aarch64)) +Automatic-Module-Name: jxbrowser.linux.gtk.aarch64 +Bundle-ClassPath: jxbrowser-linux64-arm.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/build.properties b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/build.properties new file mode 100644 index 00000000..6e27d1e4 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-linux64-arm.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/pom.xml new file mode 100644 index 00000000..16ab9775 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.aarch64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.linux.gtk.aarch64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser Linux ARM binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-linux64-arm + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser-linux64/.classpath b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.classpath similarity index 77% rename from tutorials/eclipse-rcp/jxbrowser-linux64/.classpath rename to tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.classpath index e06abfff..e885b4c7 100644 --- a/tutorials/eclipse-rcp/jxbrowser-linux64/.classpath +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.classpath @@ -1,8 +1,11 @@ - - + + + + + - + diff --git a/tutorials/eclipse-rcp/jxbrowser-win32/.project b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.project similarity index 93% rename from tutorials/eclipse-rcp/jxbrowser-win32/.project rename to tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.project index 8d6d1bc5..a352337d 100644 --- a/tutorials/eclipse-rcp/jxbrowser-win32/.project +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/.project @@ -1,6 +1,6 @@ - jxbrowser-win32 + jxbrowser.linux.gtk.x86_64 diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..4a5aa6f2 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.linux.gtk.x86_64 +Bundle-SymbolicName: jxbrowser.linux.gtk.x86_64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64)) +Automatic-Module-Name: jxbrowser.linux.gtk.x86_64 +Bundle-ClassPath: jxbrowser-linux64.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/build.properties b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/build.properties new file mode 100644 index 00000000..1c73633b --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-linux64.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/pom.xml new file mode 100644 index 00000000..20738ab3 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.linux.gtk.x86_64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.linux.gtk.x86_64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser Linux x86_64 binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-linux64 + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.classpath b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.classpath new file mode 100644 index 00000000..2af6c369 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.project b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.project new file mode 100644 index 00000000..e415003f --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/.project @@ -0,0 +1,28 @@ + + + jxbrowser.macosx.cocoa.aarch64 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..dfa31203 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.macosx.cocoa.aarch64 +Bundle-SymbolicName: jxbrowser.macosx.cocoa.aarch64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=macosx) (osgi.arch=aarch64)) +Automatic-Module-Name: jxbrowser.macosx.cocoa.aarch64 +Bundle-ClassPath: jxbrowser-mac-arm.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/build.properties b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/build.properties new file mode 100644 index 00000000..a78cd52b --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-mac-arm.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/pom.xml new file mode 100644 index 00000000..28a03e24 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.aarch64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.macosx.cocoa.aarch64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser MacOS ARM binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-mac-arm + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser-mac/.classpath b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.classpath similarity index 77% rename from tutorials/eclipse-rcp/jxbrowser-mac/.classpath rename to tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.classpath index 04b48a72..8cf003cc 100644 --- a/tutorials/eclipse-rcp/jxbrowser-mac/.classpath +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.classpath @@ -1,8 +1,11 @@ - - + + + + + - + diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.project b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.project new file mode 100644 index 00000000..a64c18d9 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/.project @@ -0,0 +1,28 @@ + + + jxbrowser.macosx.cocoa.x86_64 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..b9c61a41 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.macosx.cocoa.x86_64 +Bundle-SymbolicName: jxbrowser.macosx.cocoa.x86_64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=macosx) (osgi.arch=x86_64)) +Automatic-Module-Name: jxbrowser.macosx.cocoa.x86_64 +Bundle-ClassPath: jxbrowser-mac.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/build.properties b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/build.properties new file mode 100644 index 00000000..2ed2f21c --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-mac.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/pom.xml new file mode 100644 index 00000000..26f6588d --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.macosx.cocoa.x86_64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.macosx.cocoa.x86_64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser MacOS Intel binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-mac + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.classpath b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.classpath new file mode 100644 index 00000000..bfff3b5c --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.project b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.project new file mode 100644 index 00000000..d2cdf95b --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/.project @@ -0,0 +1,28 @@ + + + jxbrowser.win32.win32.aarch64 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..4fb5b6b2 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.win32.win32.aarch64 +Bundle-SymbolicName: jxbrowser.win32.win32.aarch64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.arch=aarch64)) +Automatic-Module-Name: jxbrowser.win32.win32.aarch64 +Bundle-ClassPath: jxbrowser-win64-arm.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/build.properties b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/build.properties new file mode 100644 index 00000000..2cccd7e2 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-win64-arm.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/pom.xml new file mode 100644 index 00000000..e6cf1ef7 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.aarch64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.win32.win32.aarch64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser Windows ARM binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-win64-arm + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser-win64/.classpath b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.classpath similarity index 77% rename from tutorials/eclipse-rcp/jxbrowser-win64/.classpath rename to tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.classpath index c9d1c8d5..ee5e4a69 100644 --- a/tutorials/eclipse-rcp/jxbrowser-win64/.classpath +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.classpath @@ -1,8 +1,11 @@ - - + + + + + - + diff --git a/tutorials/eclipse-rcp/jxbrowser-linux64/.project b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.project similarity index 93% rename from tutorials/eclipse-rcp/jxbrowser-linux64/.project rename to tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.project index ad843b50..8511c363 100644 --- a/tutorials/eclipse-rcp/jxbrowser-linux64/.project +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/.project @@ -1,6 +1,6 @@ - jxbrowser-linux64 + jxbrowser.win32.win32.x86_64 diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/META-INF/MANIFEST.MF new file mode 100644 index 00000000..f756488d --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jxbrowser.win32.win32.x86_64 +Bundle-SymbolicName: jxbrowser.win32.win32.x86_64;singleton:=true +Bundle-Version: 8.11.0.qualifier +Fragment-Host: jxbrowser;bundle-version="8.11.0" +Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.arch=x86_64)) +Automatic-Module-Name: jxbrowser.win32.win32.x86_64 +Bundle-ClassPath: jxbrowser-win64.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/build.properties b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/build.properties new file mode 100644 index 00000000..08b6e258 --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jxbrowser-win64.jar diff --git a/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/pom.xml b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/pom.xml new file mode 100644 index 00000000..3fb26ded --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser.win32.win32.x86_64/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jxbrowser.win32.win32.x86_64 + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser Windows x86_64 binaries + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser-win64 + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/jxbrowser/.classpath b/tutorials/eclipse-rcp/jxbrowser/.classpath index 86a2ca77..1b3383e3 100644 --- a/tutorials/eclipse-rcp/jxbrowser/.classpath +++ b/tutorials/eclipse-rcp/jxbrowser/.classpath @@ -1,8 +1,8 @@ - - + + diff --git a/tutorials/eclipse-rcp/jxbrowser/META-INF/MANIFEST.MF b/tutorials/eclipse-rcp/jxbrowser/META-INF/MANIFEST.MF index 35d3966f..fdbf13b9 100644 --- a/tutorials/eclipse-rcp/jxbrowser/META-INF/MANIFEST.MF +++ b/tutorials/eclipse-rcp/jxbrowser/META-INF/MANIFEST.MF @@ -2,15 +2,13 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Jxbrowser Bundle-SymbolicName: jxbrowser -Bundle-Version: 1.0.0 -Bundle-ClassPath: jxbrowser.jar, - jxbrowser-swt.jar -Bundle-Vendor: TeamDev Ltd. +Bundle-Version: 8.15.0.qualifier Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.annotation, com.teamdev.jxbrowser.browser, com.teamdev.jxbrowser.browser.callback, com.teamdev.jxbrowser.browser.callback.input, + com.teamdev.jxbrowser.browser.callback.internal, com.teamdev.jxbrowser.browser.event, com.teamdev.jxbrowser.browser.event.internal, com.teamdev.jxbrowser.browser.internal, @@ -21,13 +19,72 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.cache.internal.rpc, com.teamdev.jxbrowser.callback, com.teamdev.jxbrowser.callback.internal, + com.teamdev.jxbrowser.callback.internal.rpc, + com.teamdev.jxbrowser.capture, + com.teamdev.jxbrowser.capture.event, + com.teamdev.jxbrowser.capture.internal, + com.teamdev.jxbrowser.capture.internal.rpc, + com.teamdev.jxbrowser.card, + com.teamdev.jxbrowser.card.internal, + com.teamdev.jxbrowser.card.internal.rpc, + com.teamdev.jxbrowser.cast, + com.teamdev.jxbrowser.cast.event, + com.teamdev.jxbrowser.cast.internal, + com.teamdev.jxbrowser.cast.internal.rpc, com.teamdev.jxbrowser.cookie, com.teamdev.jxbrowser.cookie.internal, com.teamdev.jxbrowser.cookie.internal.rpc, + com.teamdev.jxbrowser.deps.com.google.common.base, + com.teamdev.jxbrowser.deps.com.google.common.collect, + com.teamdev.jxbrowser.deps.com.google.common.io, + com.teamdev.jxbrowser.deps.com.google.common.math, + com.teamdev.jxbrowser.deps.com.google.common.primitives, + com.teamdev.jxbrowser.deps.com.google.common.util.concurrent, + com.teamdev.jxbrowser.deps.com.google.errorprone.annotations, + com.teamdev.jxbrowser.deps.com.google.errorprone.annotations.concurrent, + com.teamdev.jxbrowser.deps.com.google.j2objc.annotations, com.teamdev.jxbrowser.deps.com.google.protobuf, com.teamdev.jxbrowser.deps.com.google.protobuf.compiler, + com.teamdev.jxbrowser.deps.com.google.thirdparty.publicsuffix, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.builder.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.calledmethods.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.compilermsgs.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.fenum.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.formatter, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.formatter.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.guieffect.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.i18n.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.i18nformatter, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.i18nformatter.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.index.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.initialization.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.interning.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.lock.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.nullness, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.nullness.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.optional.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.propkey.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.regex, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.regex.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.signature.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.signedness, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.signedness.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.tainting.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.units, + com.teamdev.jxbrowser.deps.org.checkerframework.checker.units.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.aliasing.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.initializedfields.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.reflection.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.returnsreceiver.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.subtyping.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.util.report.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.common.value.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.dataflow.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.framework.qual, + com.teamdev.jxbrowser.deps.org.checkerframework.framework.util, com.teamdev.jxbrowser.devtools, com.teamdev.jxbrowser.devtools.internal, + com.teamdev.jxbrowser.devtools.internal.rpc, com.teamdev.jxbrowser.dom, com.teamdev.jxbrowser.dom.event, com.teamdev.jxbrowser.dom.event.internal, @@ -40,23 +97,41 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.download.internal, com.teamdev.jxbrowser.download.internal.rpc, com.teamdev.jxbrowser.engine, + com.teamdev.jxbrowser.engine.callback.internal, com.teamdev.jxbrowser.engine.event, com.teamdev.jxbrowser.engine.event.internal, com.teamdev.jxbrowser.engine.internal, + com.teamdev.jxbrowser.engine.internal.rpc, com.teamdev.jxbrowser.event, com.teamdev.jxbrowser.event.internal, com.teamdev.jxbrowser.event.internal.rpc, + com.teamdev.jxbrowser.extensions, + com.teamdev.jxbrowser.extensions.callback, + com.teamdev.jxbrowser.extensions.event, + com.teamdev.jxbrowser.extensions.internal, + com.teamdev.jxbrowser.extensions.internal.rpc, com.teamdev.jxbrowser.frame, com.teamdev.jxbrowser.frame.internal, com.teamdev.jxbrowser.frame.internal.callback, + com.teamdev.jxbrowser.frame.internal.convert, com.teamdev.jxbrowser.frame.internal.rpc, + com.teamdev.jxbrowser.fullscreen, + com.teamdev.jxbrowser.fullscreen.event, + com.teamdev.jxbrowser.fullscreen.internal, + com.teamdev.jxbrowser.fullscreen.internal.rpc, com.teamdev.jxbrowser.internal, com.teamdev.jxbrowser.internal.event, com.teamdev.jxbrowser.internal.licensing, + com.teamdev.jxbrowser.internal.memory, + com.teamdev.jxbrowser.internal.platform.mac, + com.teamdev.jxbrowser.internal.platform.win, + com.teamdev.jxbrowser.internal.reflect, com.teamdev.jxbrowser.internal.rpc, com.teamdev.jxbrowser.internal.rpc.event, com.teamdev.jxbrowser.internal.rpc.stream, + com.teamdev.jxbrowser.internal.rpc.stream.util, com.teamdev.jxbrowser.internal.rpc.transport, + com.teamdev.jxbrowser.internal.string, com.teamdev.jxbrowser.internal.ui, com.teamdev.jxbrowser.internal.xz, com.teamdev.jxbrowser.js, @@ -69,6 +144,7 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.media.internal, com.teamdev.jxbrowser.media.internal.rpc, com.teamdev.jxbrowser.menu, + com.teamdev.jxbrowser.menu.internal.rpc, com.teamdev.jxbrowser.navigation, com.teamdev.jxbrowser.navigation.callback, com.teamdev.jxbrowser.navigation.event, @@ -78,12 +154,17 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.net.callback, com.teamdev.jxbrowser.net.event, com.teamdev.jxbrowser.net.internal, + com.teamdev.jxbrowser.net.internal.callback, com.teamdev.jxbrowser.net.internal.rpc, com.teamdev.jxbrowser.net.proxy, com.teamdev.jxbrowser.net.proxy.internal, com.teamdev.jxbrowser.net.tls, com.teamdev.jxbrowser.os, + com.teamdev.jxbrowser.os.internal, com.teamdev.jxbrowser.os.internal.rpc, + com.teamdev.jxbrowser.password, + com.teamdev.jxbrowser.password.internal, + com.teamdev.jxbrowser.password.internal.rpc, com.teamdev.jxbrowser.permission, com.teamdev.jxbrowser.permission.callback, com.teamdev.jxbrowser.permission.internal, @@ -91,12 +172,22 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.plugin.callback, com.teamdev.jxbrowser.plugin.internal, com.teamdev.jxbrowser.plugin.internal.rpc, + com.teamdev.jxbrowser.print, + com.teamdev.jxbrowser.print.event, + com.teamdev.jxbrowser.print.internal, + com.teamdev.jxbrowser.print.internal.rpc, + com.teamdev.jxbrowser.print.internal.settings, + com.teamdev.jxbrowser.print.settings, + com.teamdev.jxbrowser.profile, + com.teamdev.jxbrowser.profile.internal, + com.teamdev.jxbrowser.profile.internal.rpc, com.teamdev.jxbrowser.search, com.teamdev.jxbrowser.search.internal, com.teamdev.jxbrowser.search.internal.rpc, com.teamdev.jxbrowser.spellcheck, com.teamdev.jxbrowser.spellcheck.internal, com.teamdev.jxbrowser.spellcheck.internal.rpc, + com.teamdev.jxbrowser.suggestions, com.teamdev.jxbrowser.time, com.teamdev.jxbrowser.time.internal, com.teamdev.jxbrowser.time.internal.rpc, @@ -105,18 +196,31 @@ Export-Package: com.teamdev.jxbrowser, com.teamdev.jxbrowser.ui.event.internal.rpc, com.teamdev.jxbrowser.ui.internal, com.teamdev.jxbrowser.ui.internal.rpc, + com.teamdev.jxbrowser.user, + com.teamdev.jxbrowser.user.internal, + com.teamdev.jxbrowser.user.internal.rpc, com.teamdev.jxbrowser.view, com.teamdev.jxbrowser.view.graphics, + com.teamdev.jxbrowser.view.internal, + com.teamdev.jxbrowser.view.internal.linux, + com.teamdev.jxbrowser.view.internal.mac, + com.teamdev.jxbrowser.view.internal.win, com.teamdev.jxbrowser.view.swt, com.teamdev.jxbrowser.view.swt.callback, + com.teamdev.jxbrowser.view.swt.callback.internal, com.teamdev.jxbrowser.view.swt.graphics, com.teamdev.jxbrowser.view.swt.internal, com.teamdev.jxbrowser.view.swt.internal.dialog, + com.teamdev.jxbrowser.view.swt.internal.dnd, com.teamdev.jxbrowser.view.swt.internal.menu, + com.teamdev.jxbrowser.view.swt.internal.platform, com.teamdev.jxbrowser.zoom, com.teamdev.jxbrowser.zoom.event, com.teamdev.jxbrowser.zoom.internal, com.teamdev.jxbrowser.zoom.internal.rpc -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Automatic-Module-Name: jxbrowser Require-Bundle: org.eclipse.swt +Automatic-Module-Name: jxbrowser +Bundle-ClassPath: jxbrowser.jar, + jxbrowser-swt.jar, + . +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tutorials/eclipse-rcp/jxbrowser/build.properties b/tutorials/eclipse-rcp/jxbrowser/build.properties index 05429600..15113ada 100644 --- a/tutorials/eclipse-rcp/jxbrowser/build.properties +++ b/tutorials/eclipse-rcp/jxbrowser/build.properties @@ -1,22 +1,6 @@ -# -# Copyright 2025, TeamDev. All rights reserved. -# -# Redistribution and use in source and/or binary forms, with or without -# modification, must retain the above copyright notice and the following -# disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -bin.includes=META-INF/,\ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ jxbrowser.jar,\ jxbrowser-swt.jar diff --git a/tutorials/eclipse-rcp/jxbrowser/pom.xml b/tutorials/eclipse-rcp/jxbrowser/pom.xml new file mode 100644 index 00000000..ff72671f --- /dev/null +++ b/tutorials/eclipse-rcp/jxbrowser/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + + jxbrowser + eclipse-plugin + 8.11.0-SNAPSHOT + + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + + + JxBrowser Core API and SWT integration + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + gather-libs + validate + + copy + + + . + + true + + + com.teamdev.jxbrowser + jxbrowser + ${jxbrowser.version} + + + com.teamdev.jxbrowser + jxbrowser-swt + ${jxbrowser.version} + + + + + + + + + diff --git a/tutorials/eclipse-rcp/pom.xml b/tutorials/eclipse-rcp/pom.xml new file mode 100644 index 00000000..bc41d647 --- /dev/null +++ b/tutorials/eclipse-rcp/pom.xml @@ -0,0 +1,119 @@ + + + 4.0.0 + + com.teamdev.jxbrowser + jxbrowser-rcp + 1.0-SNAPSHOT + pom + + + + com.teamdev + https://europe-maven.pkg.dev/jxbrowser/releases + + + eclipse-platform + https://download.eclipse.org/releases/${eclipse.release}/ + p2 + + + + + 17 + 17 + 4.0.13 + UTF-8 + 8.15.0 + 2025-09 + + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho.version} + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho.version} + true + + + + org.eclipse.tycho + tycho-packaging-plugin + ${tycho.version} + + + package + package-feature + + ${project.artifactId} + + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho.version} + + + + linux + gtk + x86_64 + + + linux + gtk + aarch64 + + + win32 + win32 + x86_64 + + + win32 + win32 + aarch64 + + + macosx + cocoa + x86_64 + + + macosx + cocoa + aarch64 + + + + + + + + jxbrowser + jxbrowser.win32.win32.x86_64 + jxbrowser.win32.win32.aarch64 + jxbrowser.linux.gtk.x86_64 + jxbrowser.linux.gtk.aarch64 + jxbrowser.macosx.cocoa.x86_64 + jxbrowser.macosx.cocoa.aarch64 + com.teamdev.jxbrowser.demo.feature + com.teamdev.jxbrowser.demo + com.teamdev.jxbrowser.demo.product + +