Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.9
-
Fix Version/s: someday
-
Component/s: None
-
Labels:None
Description
I have attached an example Grails project with a Gradle build that uses the Grails plugin. For some reason, the first time it builds I get an internal Gradle error. I think it's related to having the java.net repository on my search path (for GParallelizer).
I have put the output of gradle -d compile into a file called debug-output.txt that's in the root of the project.
Attachments
-
$i18n.getText("admin.common.words.hide")
- gradle-grails-plugin-bug.zip
- 06/Feb/10 2:08 AM
- 194 kB
- Peter Ledbrook
-
- gradle-grails-plugin-bug/.project 0.5 kB
- gradle-grails-plugin-bug/build.gradle 0.6 kB
- gradle-grails-plugin-bug/.classpath 0.7 kB
- gradle-grails-plugin-bug/application.properties 0.2 kB
- gradle-grails-plugin-bug/.../grails_logo.png 10 kB
- gradle-grails-plugin-bug/.../leftnav_top.png 3 kB
- gradle-grails-plugin-bug/.../leftnav_btm.png 4 kB
- gradle-grails-plugin-bug/.../springsource.png 9 kB
- gradle-grails-plugin-bug/.../database_delete.png 0.6 kB
- gradle-grails-plugin-bug/.../database_edit.png 0.7 kB
- gradle-grails-plugin-bug/.../house.png 0.8 kB
- gradle-grails-plugin-bug/.../database_table.png 0.7 kB
- gradle-grails-plugin-bug/.../database_save.png 0.7 kB
- gradle-grails-plugin-bug/.../information.png 0.8 kB
- gradle-grails-plugin-bug/.../shadow.jpg 0.3 kB
- gradle-grails-plugin-bug/.../sorted_asc.gif 0.8 kB
- gradle-grails-plugin-bug/.../exclamation.png 0.7 kB
- gradle-grails-plugin-bug/.../database_add.png 0.6 kB
- gradle-grails-plugin-bug/.../sorted_desc.gif 0.8 kB
- gradle-grails-plugin-bug/.../favicon.ico 10 kB
- gradle-grails-plugin-bug/.../spinner.gif 2 kB
- gradle-grails-plugin-bug/.../grails_logo.jpg 8 kB
- gradle-grails-plugin-bug/.../leftnav_midstretch.png 3 kB
- gradle-grails-plugin-bug/.../main.css 5 kB
- gradle-grails-plugin-bug/.../animation.js 10 kB
- gradle-grails-plugin-bug/.../effects.js 38 kB
- gradle-grails-plugin-bug/.../builder.js 5 kB
- gradle-grails-plugin-bug/.../controls.js 34 kB
- gradle-grails-plugin-bug/.../sound.js 2 kB
- gradle-grails-plugin-bug/.../slider.js 10 kB
$i18n.getText("admin.common.words.show")- gradle-grails-plugin-bug.zip
- 06/Feb/10 2:08 AM
- 194 kB
- Peter Ledbrook
Issue Links
| This issue Related to: | ||||
| GRADLE-240 | Maven Snapshots are not properly resolved if there is more than one artifact repository |
|
|
|
Activity
GPars did get synced by Codehaus so it is in the main Maven repository as well.
OK, I can't edit the issue, but you may want to drop the priority. I misunderstood the syntax for mavenRepo. I now have separate mavenRepo lines for the Codehaus Snapshots repository and the java.net one. However, there really needs to be a better error message!
The problem is that when Gradle asks Ivy to download the plugin JAR in DefaultResolvedArtifact.getFile(), it doesn't download the JAR. I guess in this particular case because the java.net repository doesn't contain the JAR file.
Thanks Russel. I thought the name had changed, but didn't see a GPars entry in the repository. I hadn't realised the project's artifacts had moved. I'll look into updating the Grails dependencies.
This will be improved once we switch to a native Maven resolver.
Peter,
GParallelizer is no more, GPars is what should be being used. It is in the Codehaus Repository, groupId: org.codehaus.gpars, artifactId: gpars, version: 0.9.