I've seen this error if I'm NOT running the plugin from the gradle directory. It has to do with gradle's working directory. Based on your path, it looks like your running it from your project's directory. On Linux (it looks like that's what you're running), go to the gradle directory and do ".\bin\gradleui" to launch the UI. The error is because gradle is looking for gradle-imports. There shouldn't be an context or structure issues for the UI itself, however, I haven't quite overcome some of the pathing issues with gradle. It seems to want things setup very specifically. Or I could just doing someting horribly incorrect. This is something that will definitely be corrected.
Mike Automated Logic Research Team --- On Fri, 5/1/09, Russel Winder <[email protected]> wrote: From: Russel Winder <[email protected]> Subject: Re: [gradle-dev] Feedback wanted on Gradle UI for future Idea plugin To: [email protected] Date: Friday, May 1, 2009, 4:54 PM Mike, On Fri, 2009-05-01 at 09:22 -0700, Mike wrote: > We've made a stand-alone GUI for gradle meant to be a foundation for > IDE plugins (we specifically need an Idea plugin). While not complete, > we'd like to get some initial feedback on this application. This tool > does not use command line arguments, but calls Gradle's API directly. > > > This is very much a work in progress and still has some rough edges. > It works against the latest gradle trunk (4/29/09). Using the UI standalone in a Java Jar project, I got: Build failed with an exception. Settings file '/home/users/russel/Repositories/Bazaar/Masters/ADS/settings.gradle' A problem occurred evaluating the settings file. Cause: /home/users/russel/Repositories/Bazaar/Masters/ADS/gradle-imports (No such file or directory) Exception is:org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:84) org.gradle.initialization.ScriptEvaluatingSettingsProcessor..process(ScriptEvaluatingSettingsProcessor.java:66) org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:31) org.gradle.initialization.ScriptLocatingSettingsProcessor.process(ScriptLocatingSettingsProcessor.java:34) org.gradle.Gradle.loadSettings(Gradle.java:133) org.gradle.Gradle.run(Gradle.java:92) com.controlj.gradle.foundation.gradledirect.GradleHelper.runGradleRecordStandardOutput(GradleHelper.java:429) com.controlj.gradle.foundation.gradledirect.GradleHelper.refreshProjectsAndTasks(GradleHelper.java:156) com.controlj.gradleplugin.foundation.GradlePluginLord.refreshProjectsAndTasks(GradlePluginLord.java:124) com.controlj.gradleplugin.userinterface.graphical.SwingGradleWrapper$4.construct(SwingGradleWrapper.java:193) com.controlj.green.common.SwingWorker$2.run(SwingWorker.java:209) java.lang.Thread.run(Thread.java:619) So I guess there are assumptions about what structures are available and the context they are in? -- Russel. ============================================================ Dr Russel Winder Partner Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected] London SW11 1EN, UK. m: +44 7770 465 077 xmpp: [email protected]
