On Saturday 28 October 2006 01:49, flex2ant wrote:
> If you are interessed in this type of development then please go over
> to  http://www.flex2ant.org and download the latest release.

/opt/fds2_sdk/bin/mxmlc

Ah ha, been waiting for someone to do a nice hand holding plugin :-)

*Unfortunetly*, I don't have a mxmlc.sh in my bin dir, or in the SDK zip.
unzip -t flex_sdk_2.zip |grep \\.sh
    testing: samples/build-samples.sh   OK
    testing: samples/explorer/build.sh   OK
    testing: samples/flexstore/build.sh   OK
    testing: samples/hybridstore/build.sh   OK
    testing: samples/photoviewer/build.sh   OK
    testing: samples/restaurant/build.sh   OK

I tried setting the property to the mxmlc executable, but:
Buildfile: /home/chivertont/workspace/Archiving Client Gui/trunk/src/build.xml
compile:
    [mxmlc] 
${build_project:/opt/fds2_sdk/bin/mxmlc} "/home/chivertont/workspace/Archiving 
Client 
Gui/trunk/src/index.mxml" -as3 -strict -output 
"/home/chivertont/workspace/Archiving 
Client Gui/trunk/src/index.swf"
    [mxmlc] java.io.IOException: ${build_project:/opt/fds2_sdk/bin/mxmlc}: not 
found
BUILD SUCCESSFUL
Total time: 236 milliseconds

So I hardcoded the path to it in the compile attribute of the mxmlc tag, but:
Buildfile: /home/chivertont/workspace/Archiving Client Gui/trunk/src/build.xml
compile:
    [mxmlc] /opt/fds2_sdk/bin/mxmlc "/home/chivertont/workspace/Archiving 
Client 
Gui/trunk/src/index.mxml" -as3 -strict -output 
"/home/chivertont/workspace/Archiving 
Client Gui/trunk/src/index.swf"
    [mxmlc] /bin/sh: mc: line 1: syntax error: unexpected end of file
    [mxmlc] /bin/sh: error importing function definition for `mc'
    [mxmlc] command line: Error: default arguments may not be interspersed 
with other options
    [mxmlc] Use 'mxmlc -help' for information about using the command line.
BUILD SUCCESSFUL
Total time: 806 milliseconds

I get the same interspersed error trying the command on the command line by 
hand too. If I try with relative paths to avoid the spaces in the path name, 
all is well. So it's an escaping error somewhere.
And lo, 
                        <property name="src.dir" value="." />
                        <property name="bin.dir" value="." />
works now (with hard coded path to mxmlc). 

It does seem to have to say 'compile successful' even when it wasn't though.

-- 
Tom Chiverton
Helping to biannually syndicate interactive initiatives

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to