On Jul 7, 2008, at 10:25 AM, Marko Bauhardt wrote:


On Jul 7, 2008, at 10:08 AM, Hans Dockter wrote:

Hi Marko,

On Jul 7, 2008, at 10:04 AM, Marko Bauhardt wrote:

this would be nice. because i ran into problems if my project name contains a dash. e.g. "my-project"
in this case i cant execute

my-project_zip.doFirst {
}

You could do: "my-project_zip".doFirst {
}



i tried this:

"my-project_zip".doFirst {
  ....
}

this exception occurs:

groovy.lang.MissingMethodException: No signature of method: java.lang.String.doFirst() is applicable for argument types: (build_gradle$_run_closure5) values: {build_gradle [EMAIL PROTECTED] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap (ScriptBytecodeAdapter.java:54)



Strange.

What happens if you do: task("my-project_zip").doFirst {}?

- Hans

marko


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to