• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Eureka!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eureka!!!


  • Subject: Re: Eureka!!!
  • From: Ramsey Gurley via Webobjects-dev <email@hidden>
  • Date: Mon, 20 Jan 2025 07:28:54 +0900

Oddly enough, I have an app that's working without that. Looking at your gist, I notice no mention of

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

<version>3.8.1</version>

<configuration>

<source>17</source>

<target>17</target>

<compilerArgs>

<compilerArg>--add-exports</compilerArg>

<compilerArg>java.base/sun.security.action="" style="color:#268bd2;">compilerArg>

</compilerArgs>

</configuration>

</plugin>

So maybe that is why it works for me? I just have it set in the compiler plugin and the build.properties. That's it, that I can remember anyway :D

On 1/20/25 7:15 AM, Paul Hoadley via Webobjects-dev wrote:
On 19 Jan 2025, at 22:42, Hugi Thordarson via Webobjects-dev <email@hidden> wrote:

Regarding workarounds for the module system (—add-exports/- -add-opens), I keep those in the global configuration for the JREs used by Eclipse to launch my applications (same place where you’d usually put the hotswap-agent and DCEVM config), so it’s a one time thing that I don’t have to worry about in the context of individual projects.

Oh you've got to be kidding me:

PastedGraphic-1.png

When did I put that there!? The final punchline will probably be that you told me to put that there 3 years ago.

So Ted, the solution to the mystery here is that what I told you to do for one project can also be done globally for all your Eclipse launches: see above. That's why your project appeared to launch for me without modification, but required you to add VM arguments.

I’ve mentioned this before, but for years I’ve been running my applications as plain java applications rather than WO applications, since the WOLips launcher constructs a broken classpath for maven applications (which, IIRC, also results in problems resolving workspace projects at runtime when debugging). I haven’t encountered any problems using this method so I think I can safely recommend it.

https://github.com/wocommunity/wolips/issues/153

It's been in my to-do list to try this out for a while now.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Eureka!!! (From: Theodore Petrosky via Webobjects-dev <email@hidden>)
 >Re: Eureka!!! (From: Paul Hoadley via Webobjects-dev <email@hidden>)
 >Re: Eureka!!! (From: Hugi Thordarson via Webobjects-dev <email@hidden>)
 >Re: Eureka!!! (From: Paul Hoadley via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Eureka!!!
  • Next by Date: Re: Eureka!!!
  • Previous by thread: Re: Eureka!!!
  • Next by thread: Re: Eureka!!!
  • Index(es):
    • Date
    • Thread