Possible to deploy patched openjfx locally?

Bruno Carle bruno.carle at gmail.com
Tue Dec 12 12:23:28 UTC 2023


Hi Mark,
that worked for me recently:

in build.gradle change line 546:
defineProperty("MAVEN_PUBLISH", "true")

and line 1730: (add brackets)
artifact (project.tasks."modularPublicationJar$t.capital") {

then
sh ./gradlew publishToMavenLocal

Regards
Bruno


On Mon, Dec 11, 2023 at 9:59 PM Mark Raynsford <org.openjdk at io7m.com> wrote:

> Hello!
>
> I'm attempting to experiment with some patches to OpenJFX locally.
>
> Is there a straightforward way to publish the resulting jar files to my
> local ~/.m2 repository?
>
> There appears to be a `MAVEN_PUBLISH` property, but this just results
> in:
>
> $ sh gradlew -PMAVEN_PUBLISH=true sdk
> ...
> * What went wrong:
> A problem occurred configuring root project 'jfx'.
> > Failed to notify project evaluation listener.
>    > Could not find method classifier() for arguments [linux] on task
> ':base:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':graphics:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':controls:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':swing:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':fxml:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':media:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>    > Could not find method classifier() for arguments [linux] on task
> ':web:modularPublicationJarLinux' of type
> org.gradle.api.tasks.bundling.Jar.
>
> --
> Mark Raynsford | https://www.io7m.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231212/0b0fcecd/attachment.htm>


More information about the openjfx-dev mailing list