On 14/04/10 6:55 AM, Rene Groeschke wrote:
Hi,
Am 13.04.10 15:36, schrieb gperlade:
Thanks you for the answers, but I think I haven't got be clear in my
last
message.
The task mxmlc is launch but my programme needs the file
"PureMVC_AS3_MultiCore_1_0_5.swc" (in the libs directory) to be compile.
With ant i had add this to include the file :
<compiler.include-libraries dir="${basedir}" append="true">
<include name="${lib.dir}" />
</compiler.include-libraries>
are the compiler settings nested in the mxmlc task?
In this case something like this maybe help:
ant.mxmlc(file: "src/Bibliotheque.mxml"){
compiler.include-libraries(dir:"${basedir}, append:true){
You'll need to quote the 'compile.include-libraries':
ant.mxmlc(...) {
'compile.include-libraries'(dir: ...) {
Otherwise Groovy will treat this as an expression, ie, it tries to
execute: getCompile().getInclude() - libraries(dir: ...)
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email