I've answered a similar question a number of times now.

Check the archives for some ant magic to prevent the need for a
manifest.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:       01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of mt1_18
Sent: 29 April 2008 20:24
To: [email protected]
Subject: [flexcoders] compc and manifest file

 

I am trying to use and and compc to compile my swc. However, compc
only takes a list of files and not a directory. So I did something
like this hoping it would work:
<compc output="framework.swc">
<include-sources dir="${FRAMEWORK_ROOT}" 
includes="**/*.as **/*.mxml" />
<source-path path-element="${FRAMEWORK_ROOT}"/>
</compc>

However it seems that there is a maximum number of *.as or *.mxml
files that can be passed in to the compc command. So from my research
it seems that I need to create a manifest file. But how would I
automate the creation of the manifest file? I dont want to update it
each time I create a new file. I am not too familiar with ant so any
guidance would help. 

Thanks

 

Reply via email to