I'm come back here because i have got an other problem.

My program needs a library(in ./libs), but i can't say to gradle to include
the file.
I have try to add the lybrary with a fileset like that :

task compile << {
ant.taskdef(resource:"flexTasks.tasks")
        ant.mxmlc(file: "./src/Bibliotheque.mxml") {
        fileset(dir: "./libs"){
                include('**')
        }      
        }
}

But this doesn't work. 

Anyone say how to include this during a flex compile with Gradle?



gperlade wrote:
> 
> Hi Andrew and thanks for your reply.
> 
> But no it's the solution (i have alreasy a FLEX_HOME environnement
> variable).
> 
> I have finally found the solution. 
> 
> The variable ant.FLEX_HOME must be ant.FLEX_HOME="D:/flex3.2.0sdk" and not
> ant.FLEX_HOME="D:\flex3.2.0sdk" .
> 
> So I have compialtion issue but now i think i will can compile a flex
> program. 
> 
> Sorry stupid mistake.
> 
> Thanks again for your help.
> 
> Grégory
> 

-- 
View this message in context: 
http://old.nabble.com/compile-a-flex-program-with-Gradle-tp28216863p28219139.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to