hmm,

I think you have to set compiler.include-libraries in single quotes like this:

ant.mxmlc(file: "src/Bibliotheque.mxml"){
        'compiler.include-libraries'(dir:"${basedir}, append:true){
                include(name:"${lib.dir}")
        }
}

regards,
Rene

compiler.include-libraries in single quotes

Am 14.04.10 09:12, schrieb gperlade:
I have try this solution but this is the error log:

* What went wrong:
Execution failed for task ':compile'.
Cause: Could not find property 'compiler' on root project
'BibliothequeIHM4Gradl
e'.

So Gradle cann't find  the property compiler.

I have find one tutorial
http://blog.ericdaugherty.com/2009/08/building-flex-applications-with-gradle.html
here  and I start form it.

regards,
Grégory


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){
                include(name:"${lib.dir}")
        }
}

i didnt found a good intro to the mxmlc ant task in the net. have you a
good resource for that?

regards,
rené



--
------------------------------------
Rene Groeschke

[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------


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

     http://xircles.codehaus.org/manage_email






--
------------------------------------
Rene Groeschke

[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------


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

   http://xircles.codehaus.org/manage_email


Reply via email to