[External] : Re: Eclipse and Gradle in OpenJFX
Andy Goryachev
andy.goryachev at oracle.com
Thu Jun 20 15:16:45 UTC 2024
Nir:
I don't understand two things:
1. why we need to jump through the hoops with the initial import (reverting the changes etc.) even if it described and
2. what 'eclipse' task you are referring to? There is no 'eclipse' task in build.gradle as far as I can see (see below)
What is the value of keeping these steps and complicating the process (with Eclipse)?
-andy
$ gradle -q :tasks --all
Defining Closed Properties
[...snip...]
------------------------------------------------------------
Tasks runnable from root project 'rt'
------------------------------------------------------------
Default tasks: sdk
Basic tasks
-----------
appsMac - Runs the apps creation tasks
buildModuleBaseMac - creates javafx.base property files
buildModuleGraphicsMac - copies javafx.graphics native libraries
buildModuleLibsMac
buildModuleMediaMac - copies javafx.media native libraries
buildModuleSWTMac - copies SWT JAR
buildModuleWebMac - copies javafx.web native libraries
clean - Deletes the build directory and the build directory of all sub projects
cleanAll - Scrubs the repo of build artifacts
findbugsMac - Runs the findbugs creation tasks
javadoc - Generates the JavaDoc for all the public API
javafxSwtMac - Creates the javafx-swt.jar for the mac target
base:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
controls:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
fxml:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
graphics:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
media:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
swing:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
web:jmodCopyLibMac - copied Windows DLLs into javafx subdir for jmods
publicExportsMac - Creates the public export bundles
publicExportsStandaloneMac - Creates the disk layout for sdk, jmods, and docs
sdkArtifactsMac - Copies bundled and standalone sdk dirs into artifacts for mac
sdkMac
targzJmodsMac - Creates the public jmods tar.gz bundle
targzSdkMac - Creates the public sdk tar.gz bundle
zipsMac - Creates the public zip bundles
zipsStandaloneMac - Creates the public zip bundles
Build tasks
-----------
base:assemble - Assembles the outputs of this project.
closedTests:assemble - Assembles the outputs of this project.
controls:assemble - Assembles the outputs of this project.
fxml:assemble - Assembles the outputs of this project.
graphics:assemble - Assembles the outputs of this project.
media:assemble - Assembles the outputs of this project.
swing:assemble - Assembles the outputs of this project.
swt:assemble - Assembles the outputs of this project.
systemTests:assemble - Assembles the outputs of this project.
web:assemble - Assembles the outputs of this project.
base:build - Assembles and tests this project.
closedTests:build - Assembles and tests this project.
controls:build - Assembles and tests this project.
fxml:build - Assembles and tests this project.
graphics:build - Assembles and tests this project.
media:build - Assembles and tests this project.
swing:build - Assembles and tests this project.
swt:build - Assembles and tests this project.
systemTests:build - Assembles and tests this project.
web:build - Assembles and tests this project.
base:buildDependents - Assembles and tests this project and all projects that depend on it.
closedTests:buildDependents - Assembles and tests this project and all projects that depend on it.
controls:buildDependents - Assembles and tests this project and all projects that depend on it.
fxml:buildDependents - Assembles and tests this project and all projects that depend on it.
graphics:buildDependents - Assembles and tests this project and all projects that depend on it.
media:buildDependents - Assembles and tests this project and all projects that depend on it.
swing:buildDependents - Assembles and tests this project and all projects that depend on it.
swt:buildDependents - Assembles and tests this project and all projects that depend on it.
systemTests:buildDependents - Assembles and tests this project and all projects that depend on it.
web:buildDependents - Assembles and tests this project and all projects that depend on it.
base:buildModuleMac
controls:buildModuleMac
fxml:buildModuleMac
graphics:buildModuleMac
media:buildModuleMac
swing:buildModuleMac
web:buildModuleMac
buildModulesMac
buildModuleZipMac
base:buildNeeded - Assembles and tests this project and all projects it depends on.
closedTests:buildNeeded - Assembles and tests this project and all projects it depends on.
controls:buildNeeded - Assembles and tests this project and all projects it depends on.
fxml:buildNeeded - Assembles and tests this project and all projects it depends on.
graphics:buildNeeded - Assembles and tests this project and all projects it depends on.
media:buildNeeded - Assembles and tests this project and all projects it depends on.
swing:buildNeeded - Assembles and tests this project and all projects it depends on.
swt:buildNeeded - Assembles and tests this project and all projects it depends on.
systemTests:buildNeeded - Assembles and tests this project and all projects it depends on.
web:buildNeeded - Assembles and tests this project and all projects it depends on.
buildRunArgsMac
graphics:ccMacFont - Compiles native sources for font for mac
graphics:ccMacGlass - Compiles native sources for glass for mac
graphics:ccMacIio - Compiles native sources for iio for mac
graphics:ccMacPrism - Compiles native sources for prism for mac
graphics:ccMacPrismES2 - Compiles native sources for prismES2 for mac
graphics:ccMacPrismSW - Compiles native sources for prismSW for mac
base:classes - Assembles main classes.
closedTests:classes - Assembles main classes.
controls:classes - Assembles main classes.
fxml:classes - Assembles main classes.
graphics:classes - Assembles main classes.
media:classes - Assembles main classes.
swing:classes - Assembles main classes.
swt:classes - Assembles main classes.
systemTests:classes - Assembles main classes.
web:classes - Assembles main classes.
base:clean - Deletes the build directory.
closedTests:clean - Deletes the build directory.
controls:clean - Deletes the build directory.
fxml:clean - Deletes the build directory.
graphics:clean - Deletes the build directory.
media:clean - Deletes the build directory.
swing:clean - Deletes the build directory.
swt:clean - Deletes the build directory.
systemTests:clean - Deletes the build directory.
web:clean - Deletes the build directory.
graphics:cleanNative - Clean all native libraries and objects for Graphics
graphics:cleanNativeDecora - Clean native objects for Decora
graphics:cleanNativeFont - Clean native objects for font
graphics:cleanNativeGlass - Clean native objects for glass
graphics:cleanNativeIio - Clean native objects for iio
graphics:cleanNativePrism - Clean native objects for prism
graphics:cleanNativePrismES2 - Clean native objects for prismES2
graphics:cleanNativePrismSW - Clean native objects for prismSW
createMSPfile
base:jar - Assembles a jar archive containing the classes of the 'main' feature.
closedTests:jar - Assembles a jar archive containing the classes of the 'main' feature.
controls:jar - Assembles a jar archive containing the classes of the 'main' feature.
fxml:jar - Assembles a jar archive containing the classes of the 'main' feature.
graphics:jar - Assembles a jar archive containing the classes of the 'main' feature.
media:jar - Assembles a jar archive containing the classes of the 'main' feature.
swing:jar - Assembles a jar archive containing the classes of the 'main' feature.
swt:jar - Assembles a jar archive containing the classes of the 'main' feature.
systemTests:jar - Assembles a jar archive containing the classes of the 'main' feature.
web:jar - Assembles a jar archive containing the classes of the 'main' feature.
base:jmodMac
controls:jmodMac
fxml:jmodMac
graphics:jmodMac
media:jmodMac
swing:jmodMac
web:jmodMac
graphics:jslcClasses - Assembles jslc classes.
graphics:linkMacFont - Creates native dynamic library for font for mac
graphics:linkMacGlass - Creates native dynamic library for glass for mac
graphics:linkMacIio - Creates native dynamic library for iio for mac
graphics:linkMacPrism - Creates native dynamic library for prism for mac
graphics:linkMacPrismES2 - Creates native dynamic library for prismES2 for mac
graphics:linkMacPrismSW - Creates native dynamic library for prismSW for mac
graphics:native - Compiles and Builds all native libraries for Graphics
graphics:nativeDecora - Generates JNI headers, compiles, and builds native dynamic library for Decora
graphics:nativeFont - Generates JNI headers, compiles, and builds native dynamic library for font for all compile targets
graphics:nativeGlass - Generates JNI headers, compiles, and builds native dynamic library for glass for all compile targets
graphics:nativeIio - Generates JNI headers, compiles, and builds native dynamic library for iio for all compile targets
graphics:nativePrism - Generates JNI headers, compiles, and builds native dynamic library for prism for all compile targets
graphics:nativePrismES2 - Generates JNI headers, compiles, and builds native dynamic library for prismES2 for all compile targets
graphics:nativePrismSW - Generates JNI headers, compiles, and builds native dynamic library for prismSW for all compile targets
graphics:shadersClasses - Assembles shaders classes.
base:shimsClasses - Assembles shims classes.
controls:shimsClasses - Assembles shims classes.
fxml:shimsClasses - Assembles shims classes.
graphics:shimsClasses - Assembles shims classes.
swing:shimsClasses - Assembles shims classes.
web:shimsClasses - Assembles shims classes.
graphics:stubClasses - Assembles stub classes.
systemTests:testapp1Classes - Assembles testapp1 classes.
systemTests:testapp2Classes - Assembles testapp2 classes.
systemTests:testapp3Classes - Assembles testapp3 classes.
systemTests:testapp4Classes - Assembles testapp4 classes.
systemTests:testapp5Classes - Assembles testapp5 classes.
systemTests:testapp6Classes - Assembles testapp6 classes.
systemTests:testapp7Classes - Assembles testapp7 classes.
base:testClasses - Assembles test classes.
closedTests:testClasses - Assembles test classes.
controls:testClasses - Assembles test classes.
fxml:testClasses - Assembles test classes.
graphics:testClasses - Assembles test classes.
media:testClasses - Assembles test classes.
swing:testClasses - Assembles test classes.
swt:testClasses - Assembles test classes.
systemTests:testClasses - Assembles test classes.
web:testClasses - Assembles test classes.
systemTests:testscriptapp1Classes - Assembles testscriptapp1 classes.
systemTests:testscriptapp2Classes - Assembles testscriptapp2 classes.
media:toolsClasses - Assembles tools classes.
Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.
Documentation tasks
-------------------
base:javadoc - Generates Javadoc API documentation for the 'main' feature.
closedTests:javadoc - Generates Javadoc API documentation for the 'main' feature.
controls:javadoc - Generates Javadoc API documentation for the 'main' feature.
fxml:javadoc - Generates Javadoc API documentation for the 'main' feature.
graphics:javadoc - Generates Javadoc API documentation for the 'main' feature.
media:javadoc - Generates Javadoc API documentation for the 'main' feature.
swing:javadoc - Generates Javadoc API documentation for the 'main' feature.
swt:javadoc - Generates Javadoc API documentation for the 'main' feature.
systemTests:javadoc - Generates Javadoc API documentation for the 'main' feature.
web:javadoc - Generates Javadoc API documentation for the 'main' feature.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'rt'.
apps:buildEnvironment - Displays all buildscript dependencies declared in project ':apps'.
base:buildEnvironment - Displays all buildscript dependencies declared in project ':base'.
closedTests:buildEnvironment - Displays all buildscript dependencies declared in project ':closedTests'.
controls:buildEnvironment - Displays all buildscript dependencies declared in project ':controls'.
fxml:buildEnvironment - Displays all buildscript dependencies declared in project ':fxml'.
graphics:buildEnvironment - Displays all buildscript dependencies declared in project ':graphics'.
media:buildEnvironment - Displays all buildscript dependencies declared in project ':media'.
swing:buildEnvironment - Displays all buildscript dependencies declared in project ':swing'.
swt:buildEnvironment - Displays all buildscript dependencies declared in project ':swt'.
systemTests:buildEnvironment - Displays all buildscript dependencies declared in project ':systemTests'.
web:buildEnvironment - Displays all buildscript dependencies declared in project ':web'.
dependencies - Displays all dependencies declared in root project 'rt'.
apps:dependencies - Displays all dependencies declared in project ':apps'.
base:dependencies - Displays all dependencies declared in project ':base'.
closedTests:dependencies - Displays all dependencies declared in project ':closedTests'.
controls:dependencies - Displays all dependencies declared in project ':controls'.
fxml:dependencies - Displays all dependencies declared in project ':fxml'.
graphics:dependencies - Displays all dependencies declared in project ':graphics'.
media:dependencies - Displays all dependencies declared in project ':media'.
swing:dependencies - Displays all dependencies declared in project ':swing'.
swt:dependencies - Displays all dependencies declared in project ':swt'.
systemTests:dependencies - Displays all dependencies declared in project ':systemTests'.
web:dependencies - Displays all dependencies declared in project ':web'.
dependencyInsight - Displays the insight into a specific dependency in root project 'rt'.
apps:dependencyInsight - Displays the insight into a specific dependency in project ':apps'.
base:dependencyInsight - Displays the insight into a specific dependency in project ':base'.
closedTests:dependencyInsight - Displays the insight into a specific dependency in project ':closedTests'.
controls:dependencyInsight - Displays the insight into a specific dependency in project ':controls'.
fxml:dependencyInsight - Displays the insight into a specific dependency in project ':fxml'.
graphics:dependencyInsight - Displays the insight into a specific dependency in project ':graphics'.
media:dependencyInsight - Displays the insight into a specific dependency in project ':media'.
swing:dependencyInsight - Displays the insight into a specific dependency in project ':swing'.
swt:dependencyInsight - Displays the insight into a specific dependency in project ':swt'.
systemTests:dependencyInsight - Displays the insight into a specific dependency in project ':systemTests'.
web:dependencyInsight - Displays the insight into a specific dependency in project ':web'.
help - Displays a help message.
apps:help - Displays a help message.
base:help - Displays a help message.
closedTests:help - Displays a help message.
controls:help - Displays a help message.
fxml:help - Displays a help message.
graphics:help - Displays a help message.
media:help - Displays a help message.
swing:help - Displays a help message.
swt:help - Displays a help message.
systemTests:help - Displays a help message.
web:help - Displays a help message.
javaToolchains - Displays the detected java toolchains.
apps:javaToolchains - Displays the detected java toolchains.
base:javaToolchains - Displays the detected java toolchains.
closedTests:javaToolchains - Displays the detected java toolchains.
controls:javaToolchains - Displays the detected java toolchains.
fxml:javaToolchains - Displays the detected java toolchains.
graphics:javaToolchains - Displays the detected java toolchains.
media:javaToolchains - Displays the detected java toolchains.
swing:javaToolchains - Displays the detected java toolchains.
swt:javaToolchains - Displays the detected java toolchains.
systemTests:javaToolchains - Displays the detected java toolchains.
web:javaToolchains - Displays the detected java toolchains.
outgoingVariants - Displays the outgoing variants of root project 'rt'.
apps:outgoingVariants - Displays the outgoing variants of project ':apps'.
base:outgoingVariants - Displays the outgoing variants of project ':base'.
closedTests:outgoingVariants - Displays the outgoing variants of project ':closedTests'.
controls:outgoingVariants - Displays the outgoing variants of project ':controls'.
fxml:outgoingVariants - Displays the outgoing variants of project ':fxml'.
graphics:outgoingVariants - Displays the outgoing variants of project ':graphics'.
media:outgoingVariants - Displays the outgoing variants of project ':media'.
swing:outgoingVariants - Displays the outgoing variants of project ':swing'.
swt:outgoingVariants - Displays the outgoing variants of project ':swt'.
systemTests:outgoingVariants - Displays the outgoing variants of project ':systemTests'.
web:outgoingVariants - Displays the outgoing variants of project ':web'.
projects - Displays the sub-projects of root project 'rt'.
apps:projects - Displays the sub-projects of project ':apps'.
base:projects - Displays the sub-projects of project ':base'.
closedTests:projects - Displays the sub-projects of project ':closedTests'.
controls:projects - Displays the sub-projects of project ':controls'.
fxml:projects - Displays the sub-projects of project ':fxml'.
graphics:projects - Displays the sub-projects of project ':graphics'.
media:projects - Displays the sub-projects of project ':media'.
swing:projects - Displays the sub-projects of project ':swing'.
swt:projects - Displays the sub-projects of project ':swt'.
systemTests:projects - Displays the sub-projects of project ':systemTests'.
web:projects - Displays the sub-projects of project ':web'.
properties - Displays the properties of root project 'rt'.
apps:properties - Displays the properties of project ':apps'.
base:properties - Displays the properties of project ':base'.
closedTests:properties - Displays the properties of project ':closedTests'.
controls:properties - Displays the properties of project ':controls'.
fxml:properties - Displays the properties of project ':fxml'.
graphics:properties - Displays the properties of project ':graphics'.
media:properties - Displays the properties of project ':media'.
swing:properties - Displays the properties of project ':swing'.
swt:properties - Displays the properties of project ':swt'.
systemTests:properties - Displays the properties of project ':systemTests'.
web:properties - Displays the properties of project ':web'.
resolvableConfigurations - Displays the configurations that can be resolved in root project 'rt'.
apps:resolvableConfigurations - Displays the configurations that can be resolved in project ':apps'.
base:resolvableConfigurations - Displays the configurations that can be resolved in project ':base'.
closedTests:resolvableConfigurations - Displays the configurations that can be resolved in project ':closedTests'.
controls:resolvableConfigurations - Displays the configurations that can be resolved in project ':controls'.
fxml:resolvableConfigurations - Displays the configurations that can be resolved in project ':fxml'.
graphics:resolvableConfigurations - Displays the configurations that can be resolved in project ':graphics'.
media:resolvableConfigurations - Displays the configurations that can be resolved in project ':media'.
swing:resolvableConfigurations - Displays the configurations that can be resolved in project ':swing'.
swt:resolvableConfigurations - Displays the configurations that can be resolved in project ':swt'.
systemTests:resolvableConfigurations - Displays the configurations that can be resolved in project ':systemTests'.
web:resolvableConfigurations - Displays the configurations that can be resolved in project ':web'.
tasks - Displays the tasks runnable from root project 'rt' (some of the displayed tasks may belong to subprojects).
apps:tasks - Displays the tasks runnable from project ':apps'.
base:tasks - Displays the tasks runnable from project ':base'.
closedTests:tasks - Displays the tasks runnable from project ':closedTests'.
controls:tasks - Displays the tasks runnable from project ':controls'.
fxml:tasks - Displays the tasks runnable from project ':fxml'.
graphics:tasks - Displays the tasks runnable from project ':graphics'.
media:tasks - Displays the tasks runnable from project ':media'.
swing:tasks - Displays the tasks runnable from project ':swing'.
swt:tasks - Displays the tasks runnable from project ':swt'.
systemTests:tasks - Displays the tasks runnable from project ':systemTests'.
web:tasks - Displays the tasks runnable from project ':web'.
Verification tasks
------------------
base:check - Runs all checks.
closedTests:check - Runs all checks.
controls:check - Runs all checks.
fxml:check - Runs all checks.
graphics:check - Runs all checks.
media:check - Runs all checks.
swing:check - Runs all checks.
swt:check - Runs all checks.
systemTests:check - Runs all checks.
web:check - Runs all checks.
base:test - Runs the test suite.
closedTests:test - Runs the test suite.
controls:test - Runs the test suite.
fxml:test - Runs the test suite.
graphics:test - Runs the test suite.
media:test - Runs the test suite.
swing:test - Runs the test suite.
swt:test - Runs the test suite.
systemTests:test - Runs the test suite.
web:test - Runs the test suite.
Other tasks
-----------
all
antUpdateCacheIfNeeded
apps
appsjar
apps:appsJarMac
media:buildMacGlib
media:buildMacGStreamer
media:buildMacNative
media:buildMacPlugins
buildModules
media:buildNativeTargets
checkCache
chmodArtifactsSdkMac
apps:cleanMac
base:cleanOpenLegalStandaloneMac
controls:cleanOpenLegalStandaloneMac
fxml:cleanOpenLegalStandaloneMac
graphics:cleanOpenLegalStandaloneMac
media:cleanOpenLegalStandaloneMac
swing:cleanOpenLegalStandaloneMac
web:cleanOpenLegalStandaloneMac
closedSystemTests
graphics:compileDecoraCompilers - Compile the Decora JSL Compilers
graphics:compileDecoraHLSLShaders - Compile Decora HLSL files into .obj files
graphics:compileDecoraNativeShadersMac - Compiles Decora SSE natives for mac
graphics:compileFullJava - Compile all of the graphics java classes - main and shaders
base:compileJava - Compiles main Java source.
closedTests:compileJava - Compiles main Java source.
controls:compileJava - Compiles main Java source.
fxml:compileJava - Compiles main Java source.
graphics:compileJava - Compiles main Java source.
media:compileJava - Compiles main Java source.
swing:compileJava - Compiles main Java source.
swt:compileJava - Compiles main Java source.
systemTests:compileJava - Compiles main Java source.
web:compileJava - Compiles main Java source.
web:compileJavaDOMBinding
web:compileJavaDOMBindingMac
graphics:compileJslcJava - Compiles jslc Java source.
web:compileNativeMac
graphics:compilePrismCompilers - Compile the Prism JSL Compilers
graphics:compilePrismHLSLShaders - Compile Prism HLSL files into .obj files
graphics:compileShadersJava - Compiles shaders Java source.
base:compileShimsJava - Compiles shims Java source.
controls:compileShimsJava - Compiles shims Java source.
fxml:compileShimsJava - Compiles shims Java source.
graphics:compileShimsJava - Compiles shims Java source.
swing:compileShimsJava - Compiles shims Java source.
web:compileShimsJava - Compiles shims Java source.
graphics:compileStubJava - Compiles stub Java source.
systemTests:compileTestapp1Java - Compiles testapp1 Java source.
systemTests:compileTestapp2Java - Compiles testapp2 Java source.
systemTests:compileTestapp3Java - Compiles testapp3 Java source.
systemTests:compileTestapp4Java - Compiles testapp4 Java source.
systemTests:compileTestapp5Java - Compiles testapp5 Java source.
systemTests:compileTestapp6Java - Compiles testapp6 Java source.
systemTests:compileTestapp7Java - Compiles testapp7 Java source.
base:compileTestJava - Compiles test Java source.
closedTests:compileTestJava - Compiles test Java source.
controls:compileTestJava - Compiles test Java source.
fxml:compileTestJava - Compiles test Java source.
graphics:compileTestJava - Compiles test Java source.
media:compileTestJava - Compiles test Java source.
swing:compileTestJava - Compiles test Java source.
swt:compileTestJava - Compiles test Java source.
systemTests:compileTestJava - Compiles test Java source.
web:compileTestJava - Compiles test Java source.
systemTests:compileTestscriptapp1Java - Compiles testscriptapp1 Java source.
systemTests:compileTestscriptapp2Java - Compiles testscriptapp2 Java source.
media:compileToolsJava - Compiles tools Java source.
components - Displays the components produced by root project 'rt'. [deprecated]
apps:components - Displays the components produced by project ':apps'. [deprecated]
base:components - Displays the components produced by project ':base'. [deprecated]
closedTests:components - Displays the components produced by project ':closedTests'. [deprecated]
controls:components - Displays the components produced by project ':controls'. [deprecated]
fxml:components - Displays the components produced by project ':fxml'. [deprecated]
graphics:components - Displays the components produced by project ':graphics'. [deprecated]
media:components - Displays the components produced by project ':media'. [deprecated]
swing:components - Displays the components produced by project ':swing'. [deprecated]
swt:components - Displays the components produced by project ':swt'. [deprecated]
systemTests:components - Displays the components produced by project ':systemTests'. [deprecated]
web:components - Displays the components produced by project ':web'. [deprecated]
copyAppsArtifacts
copyAppsArtifacts3DViewerMac
copyAppsArtifactsEnsemble8Mac
copyAppsArtifactsMac
copyAppsArtifactsMandelbrotSetMac
copyAppsArtifactsModenaMac
copyAppsArtifactsProjectProperties3DViewerMac
copyAppsArtifactsProjectPropertiesEnsemble8Mac
copyAppsArtifactsProjectPropertiesMandelbrotSetMac
copyAppsArtifactsProjectPropertiesModenaMac
copyAppsArtifactsReadmeMac
copyAppsArtifactsSources3DViewerMac
copyAppsArtifactsSourcesEnsemble8Mac
copyAppsArtifactsSourcesMandelbrotSetMac
copyAppsArtifactsSourcesModenaMac
copyArtifactsDocsMac
copyArtifactsJmodsMac
copyArtifactsSdkMac
copyArtifactsToysCanvasTestMac
copyArtifactsToysColorCubeMac
copyArtifactsToysEarthCubeFX2Mac
copyArtifactsToysEmbeddedSwingMac
copyArtifactsToysFX8-3DAPIMac
copyArtifactsToysGradientsMac
copyArtifactsToysHelloMac
copyArtifactsToysHelloWorldMac
copyArtifactsToysMac
copyArtifactsToysPickTest3DMac
copyArtifactsToysRobotMac
copyArtifactsToysVersionInfoMac
copyArtifactsToysVideoCubeMac
copyArtifactsToysZBufferTestMac
base:copyBinFilesMac
controls:copyBinFilesMac
fxml:copyBinFilesMac
graphics:copyBinFilesMac
media:copyBinFilesMac
swing:copyBinFilesMac
web:copyBinFilesMac
base:copyBuildPropertiesMac
controls:copyBuildPropertiesMac
fxml:copyBuildPropertiesMac
graphics:copyBuildPropertiesMac
media:copyBuildPropertiesMac
swing:copyBuildPropertiesMac
web:copyBuildPropertiesMac
base:copyClassFilesMac
controls:copyClassFilesMac
fxml:copyClassFilesMac
graphics:copyClassFilesMac
media:copyClassFilesMac
swing:copyClassFilesMac
web:copyClassFilesMac
base:copyClosedLegalStandaloneMac
controls:copyClosedLegalStandaloneMac
fxml:copyClosedLegalStandaloneMac
graphics:copyClosedLegalStandaloneMac
media:copyClosedLegalStandaloneMac
swing:copyClosedLegalStandaloneMac
web:copyClosedLegalStandaloneMac
base:copyDocFilesMac
controls:copyDocFilesMac
fxml:copyDocFilesMac
graphics:copyDocFilesMac
media:copyDocFilesMac
swing:copyDocFilesMac
web:copyDocFilesMac
web:copyDumpTreeNativeMac
base:copyGeneratedShims
controls:copyGeneratedShims
fxml:copyGeneratedShims
graphics:copyGeneratedShims
swing:copyGeneratedShims
web:copyGeneratedShims
web:copyICUFile
base:copyLegalMac
controls:copyLegalMac
fxml:copyLegalMac
graphics:copyLegalMac
media:copyLegalMac
swing:copyLegalMac
web:copyLegalMac
base:copyLegalStandaloneMac
controls:copyLegalStandaloneMac
fxml:copyLegalStandaloneMac
graphics:copyLegalStandaloneMac
media:copyLegalStandaloneMac
swing:copyLegalStandaloneMac
web:copyLegalStandaloneMac
base:copyLibFilesMac
controls:copyLibFilesMac
fxml:copyLibFilesMac
graphics:copyLibFilesMac
media:copyLibFilesMac
swing:copyLibFilesMac
web:copyLibFilesMac
base:copyLibFilesStandaloneMac
controls:copyLibFilesStandaloneMac
fxml:copyLibFilesStandaloneMac
graphics:copyLibFilesStandaloneMac
media:copyLibFilesStandaloneMac
swing:copyLibFilesStandaloneMac
web:copyLibFilesStandaloneMac
base:copyNativeFilesStandaloneMac
controls:copyNativeFilesStandaloneMac
fxml:copyNativeFilesStandaloneMac
graphics:copyNativeFilesStandaloneMac
media:copyNativeFilesStandaloneMac
swing:copyNativeFilesStandaloneMac
web:copyNativeFilesStandaloneMac
web:copyNativeMac
web:copyPreGeneratedWrappers
controls:copyShimBss
base:copySourceFilesMac
controls:copySourceFilesMac
fxml:copySourceFilesMac
graphics:copySourceFilesMac
media:copySourceFilesMac
swing:copySourceFilesMac
web:copySourceFilesMac
systemTests:copyTestapp2
systemTests:copyTestapp3
systemTests:copyTestapp4
systemTests:copyTestapp5
systemTests:copyTestapp6
systemTests:copyTestapp7
systemTests:copyTestscriptapp1
systemTests:copyTestscriptapp2
copyToArtifactsBundledSDKMac
copyToArtifactsDocsApiMac
copyToArtifactsExportsMac
copyToArtifactsStandaloneSDKMac
copyToArtifactsTestMac
copyToysToArtifactsMac
systemTests:createTestapp1Jar1
systemTests:createTestapp1Jar2
systemTests:createTestApps
createTestArgfiles
createTestArgfilesMac
dependentComponents - Displays the dependent components of components in root project 'rt'. [deprecated]
apps:dependentComponents - Displays the dependent components of components in project ':apps'. [deprecated]
base:dependentComponents - Displays the dependent components of components in project ':base'. [deprecated]
closedTests:dependentComponents - Displays the dependent components of components in project ':closedTests'. [deprecated]
controls:dependentComponents - Displays the dependent components of components in project ':controls'. [deprecated]
fxml:dependentComponents - Displays the dependent components of components in project ':fxml'. [deprecated]
graphics:dependentComponents - Displays the dependent components of components in project ':graphics'. [deprecated]
media:dependentComponents - Displays the dependent components of components in project ':media'. [deprecated]
swing:dependentComponents - Displays the dependent components of components in project ':swing'. [deprecated]
swt:dependentComponents - Displays the dependent components of components in project ':swt'. [deprecated]
systemTests:dependentComponents - Displays the dependent components of components in project ':systemTests'. [deprecated]
web:dependentComponents - Displays the dependent components of components in project ':web'. [deprecated]
downloadJdkDocs
web:drtJar
findbugs
graphics:generateDecoraShaders - Generate Decora shaders from JSL
graphics:generateGrammarSource
media:generateMediaErrorHeader
graphics:generatePrismShaders - Generate Prism shaders from JSL
apps:getLucene
graphics:initShaderDirs
jdkZip
jmods
graphics:linkDecoraNativeShadersMac - Creates native dynamic library for Decora SSE mac
closedTests:manualTest
mkdirArtifactsMac
mkdirBundledSDKMac
mkdirStandaloneSDKMac
model - Displays the configuration model of root project 'rt'. [deprecated]
apps:model - Displays the configuration model of project ':apps'. [deprecated]
base:model - Displays the configuration model of project ':base'. [deprecated]
closedTests:model - Displays the configuration model of project ':closedTests'. [deprecated]
controls:model - Displays the configuration model of project ':controls'. [deprecated]
fxml:model - Displays the configuration model of project ':fxml'. [deprecated]
graphics:model - Displays the configuration model of project ':graphics'. [deprecated]
media:model - Displays the configuration model of project ':media'. [deprecated]
swing:model - Displays the configuration model of project ':swing'. [deprecated]
swt:model - Displays the configuration model of project ':swt'. [deprecated]
systemTests:model - Displays the configuration model of project ':systemTests'. [deprecated]
web:model - Displays the configuration model of project ':web'. [deprecated]
base:modularJarStandaloneMac
controls:modularJarStandaloneMac
fxml:modularJarStandaloneMac
graphics:modularJarStandaloneMac
media:modularJarStandaloneMac
swing:modularJarStandaloneMac
web:modularJarStandaloneMac
base:modularPublicationJarMac
controls:modularPublicationJarMac
fxml:modularPublicationJarMac
graphics:modularPublicationJarMac
media:modularPublicationJarMac
swing:modularPublicationJarMac
web:modularPublicationJarMac
base:moduleEmptyPublicationJarMac
controls:moduleEmptyPublicationJarMac
fxml:moduleEmptyPublicationJarMac
graphics:moduleEmptyPublicationJarMac
media:moduleEmptyPublicationJarMac
swing:moduleEmptyPublicationJarMac
web:moduleEmptyPublicationJarMac
perf
prepareKotlinBuildScriptModel
prepOpenJfxStubs
graphics:processDecoraShaders - Copy hlsl / frag shaders to build/resources/jsl-decora
graphics:processDecoraShimsShaders - Copy hlsl / frag shaders to shims
graphics:processJslcResources - Processes jslc resources.
graphics:processPrismShaders - Copy hlsl / frag shaders to build/resources/jsl-prism
graphics:processPrismShimsShaders - Copy hlsl / frag shaders to shims
base:processResources - Processes main resources.
closedTests:processResources - Processes main resources.
controls:processResources - Processes main resources.
fxml:processResources - Processes main resources.
graphics:processResources - Processes main resources.
media:processResources - Processes main resources.
swing:processResources - Processes main resources.
swt:processResources - Processes main resources.
systemTests:processResources - Processes main resources.
web:processResources - Processes main resources.
graphics:processShaders
graphics:processShadersResources - Processes shaders resources.
base:processShimsResources - Processes shims resources.
controls:processShimsResources - Processes shims resources.
fxml:processShimsResources - Processes shims resources.
graphics:processShimsResources - Processes shims resources.
swing:processShimsResources - Processes shims resources.
web:processShimsResources - Processes shims resources.
graphics:processShimsShaders
graphics:processStubResources - Processes stub resources.
systemTests:processTestapp1Resources - Processes testapp1 resources.
systemTests:processTestapp2Resources - Processes testapp2 resources.
systemTests:processTestapp3Resources - Processes testapp3 resources.
systemTests:processTestapp4Resources - Processes testapp4 resources.
systemTests:processTestapp5Resources - Processes testapp5 resources.
systemTests:processTestapp6Resources - Processes testapp6 resources.
systemTests:processTestapp7Resources - Processes testapp7 resources.
base:processTestResources - Processes test resources.
closedTests:processTestResources - Processes test resources.
controls:processTestResources - Processes test resources.
fxml:processTestResources - Processes test resources.
graphics:processTestResources - Processes test resources.
media:processTestResources - Processes test resources.
swing:processTestResources - Processes test resources.
swt:processTestResources - Processes test resources.
systemTests:processTestResources - Processes test resources.
web:processTestResources - Processes test resources.
systemTests:processTestscriptapp1Resources - Processes testscriptapp1 resources.
systemTests:processTestscriptapp2Resources - Processes testscriptapp2 resources.
media:processToolsResources - Processes tools resources.
base:processVersionInfo - Replace params in VersionInfo and copy file to destination
publicExports
sdk
shims
showFlags
showFlagsMAC
systemTests:systemTestSetup
testAntImport
web:testWebArchiveJar
updateCacheIfNeeded
base:validateSourceSets
controls:validateSourceSets
fxml:validateSourceSets
graphics:validateSourceSets
media:validateSourceSets
swing:validateSourceSets
swt:validateSourceSets
systemTests:validateSourceSets
web:validateSourceSets
verifyJava
zipDocsMac
zipJmodsMac
zips
zipSdkMac
zipSourceFilesStandaloneMac
From: Nir Lisker <nlisker at gmail.com>
Date: Tuesday, June 18, 2024 at 17:30
To: Thiago Milczarek Sayão <thiago.sayao at gmail.com>
Cc: Andy Goryachev <andy.goryachev at oracle.com>, openjfx-dev at openjdk.org <openjfx-dev at openjdk.org>
Subject: [External] : Re: Eclipse and Gradle in OpenJFX
It has been a while since I tried a clean import of jfx, but the instructions in https://wiki.openjdk.org/display/OpenJFX/Using+an+IDE#UsinganIDE-UsingEclipse seem correct, unless something changed. What you describe is written there. Only the initial import requires a gradle build, and after reverting the project and classpath changes, you can work with ECJ (unless you need tasks to build native code etc.)
What is worth looking at is the 'eclipse' gradle task that tries to generate these files according to the gradle files. However, the way the project is built in gradle is both complicated and very old (compliant with gradle 2 I think), so I don't know how well that will work. In my modern projects, the 'eclipse' task works really well and allows me to not check in the eclipse files: a gradle refresh/synch is run once (does all the configuration and dependency management), and then running 'eclipse' once sets up the eclipse side.
On Tue, Jun 18, 2024 at 10:52?PM Thiago Milczarek Sayão <thiago.sayao at gmail.com<mailto:thiago.sayao at gmail.com>> wrote:
Andy,
We kind of did the opposite for Intellij (got rid of the .iml files and went for gradle import):
https://github.com/openjdk/jfx/pull/1009<https://urldefense.com/v3/__https:/github.com/openjdk/jfx/pull/1009__;!!ACWV5N9M2RV99hQ!OQBGG5BAFNNepw6XwqGaLl-tjDL2GebWmVZkP3DS7eWwP19RqhTk4SP9hTCUQo-sH4MO_4i6qRMHC-LWytVl$>
I couldn't get it to detect the manual tests tho. Changing some gradle files worked, but would require a deeper review, so we went without it.
-- Thiago.
Em ter., 18 de jun. de 2024 às 16:05, Andy Goryachev <andy.goryachev at oracle.com<mailto:andy.goryachev at oracle.com>> escreveu:
Dear developers:
Does anyone use gradle in Eclipse (Buildship plug-in) with the OpenJFX repo?
The reason I am asking is that in my experience, the gradle nature in OpenJFX is either misconfigured, or obsolete, or both. There is a rather old wiki page [0] which describes the Eclipse setup, though I don't think it is correct anymore. The initial import of the repository in Eclipse triggers an internal gradle run which creates/modifies a bunch of .classpath and .project files which must be undone before the workspace becomes usable. In any case, only a proper command line gradle build is supported anyway.
I would like to propose removing the gradle nature from Eclipse's .project files in OpenJFX. Once done, the projects can be trivially imported into a new workspace with no extra steps required. This change has no impact on command line build whatsoever.
What do you think?
Thank you
-andy
References
[1] https://wiki.openjdk.org/display/OpenJFX/Using+an+IDE#UsinganIDE-ConfigureEclipsetousethelatestJDK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240620/63e43a53/attachment-0001.htm>
More information about the openjfx-dev
mailing list