RFR: 8221708 Update Eclipse project files

Nir Lisker nlisker at openjdk.org
Sun Nov 6 00:24:31 UTC 2022


On Wed, 26 Oct 2022 23:34:39 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> The swt-debug.jar library is copied to build/libs as part of gradle sdk, so it's at least available (maybe just needs to be pointed to)?

I previously added it to the project's classpath and the error wasn't being resolved so I assumed it wasn't the correct fix. Now I tried adding it to the module path and the error was resolved.

@hjohn Add


	<classpathentry kind="lib" path="../../../build/libs/swt-debug.jar">
		<attributes>
			<attribute name="module" value="true"/>
		</attributes>
	</classpathentry>

to the .classpath file.

> apps is a special case. It's listed in settings.gradle as a project, but is built entirely using ant.

> systemTests is a gradle sub-project just like javafx.base, etc. Everything is built using gradle, so I don't know what you mean.

I didn't explain this well. There are 3 projects under apps/samples that have a `build.gradle` file with the `application` plugin: Ensemble8, 3DViewer and Modena. This implies that these can be run with Gradle. However, doing so causes the error I posted. The error message is correct in that these 3 projects are not defined in `settings.gradle`, but then why are they Gradle projects?

-------------

PR: https://git.openjdk.org/jfx/pull/930


More information about the openjfx-dev mailing list