Question
Flex ant - MxmlcTask
Hello all,
I´m trying to use MxcmlTask whitin a custom Task in ant.
I just include the task in my code, but there is a method not implemented in my current Flex.ant package.
So, this is the code:
for (
int i=0; i<
vStyleFiles.size(); i++){
MxmlcTask mxmlctask =
new MxmlcTask();
mxmlctask.setProject(
project);
mxmlctask.init();
String outputFileName =
vStyleFiles.elementAt(i).getName().replace(
".css",
SWF_EXTENSION);
// Executing mxmlc task
mxmlctask.setFile(
vStyleFiles.elementAt(i).getAbsolutePath());
mxmlctask.setOutput(outputFileName);// Method not found 😞
mxmlctask.execute();
}
and the setOutput method is not registered, so i cant use, but I MUST use it.
Asking google, I found a MxmlcTask implementation which includes that method, from the package flex.ant, while im using the package flex2.ant.
I cant find the jar file for the flex.ant package, and also not the setOutput method in my package flex2.ant.
Any idea?? There is a change from flex.ant to flex2.ant? Where is the setOutput method??
TIA.
Pablo Medina.
