• 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
Gradle and Eclipse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gradle and Eclipse


  • Subject: Gradle and Eclipse
  • From: Yoann Canal <email@hidden>
  • Date: Mon, 10 Aug 2015 16:25:28 +0200

Hi all,

After the WOWODC and Dennis' talk, we started to migrate our build system to use gradle. The build works well on our staging servers. We had to modify the gradle-wonder-plugin to fit our needs
and might issue a pull request if someone is interested.

However, we can't run the eclipse projects as generated with gradle:
projects are correctly imported and built, tests run fine but running the project itself inside eclipse with WOLips results in:

[2015-8-10 16:14:34 CEST] <main> Couldn't load properties file: /Users/ycanal/WebObjects.properties at path: /Users/ycanal [2015-8-10 16:14:34 CEST] <main> Unable to initialize WOProperties for reason: Cannot find JavaWebObjects framework ! java.lang.IllegalStateException: Unable to locate the "JavaWebObjects" bundle [2015-8-10 16:14:34 CEST] <main> A fatal exception occurred: <WOApplication>: Cannot be initialized. [2015-8-10 16:14:34 CEST] <main> com.webobjects.foundation.NSForwardException [java.lang.IllegalStateException] Unable to locate the "JavaWebObjects" bundle:<WOApplication>: Cannot be initialized. at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:918) at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:30) at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1097) at fr.sophiacom.corason.foundation.appserver.COCoreApplication.<init>(COCoreApplication.java:22)
    at fr.sophiacom.app.NRApplication.<init>(NRApplication.java:19)
    at fr.sophiacom.app.Application.<init>(Application.java:30)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at java.lang.Class.newInstance(Class.java:442)
    at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
    at er.extensions.appserver.ERXApplication.main(ERXApplication.java:866)
    at fr.sophiacom.app.Application.main(Application.java:25)
Caused by: java.lang.IllegalStateException: Unable to locate the "JavaWebObjects" bundle at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:131) at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317) at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743) at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
    ... 13 more

Do you have any idea how to fix that ?
Right now we are still keeping our old .project / build.xml /.classpath but we would like to avoid maintaining 2 configurations.

Thanks for your help,
Yoann

_______________________________________________
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


  • Prev by Date: Re: Workaround for spaces in Eclipse installation path
  • Next by Date: Re: Gradle and Eclipse
  • Previous by thread: Re: Eclipse: Terminate a running WO app using a keyboard shortcut?
  • Next by thread: Re: Gradle and Eclipse
  • Index(es):
    • Date
    • Thread