yet more ant tweaking

cat-town
Dan Buch 15 years ago
parent 171ddc7c59
commit 099ac36cbe

@ -55,7 +55,7 @@
<mxmlc as3="true" file="./custom-03d3-lists/ListControl.mxml"/>
<mxmlc as3="true" file="./custom-03d4-tilelist/TileListExample.mxml"/>
<mxmlc as3="true" file="./custom-03g1-debugging/Debugging.mxml"/>
<compc output="./custom-03g1-debugging/me/tests/TestSuite.swf" source-path="${basedir}"/>
<compc output="./custom-03g1-debugging/me/tests/TestSuite.swf"/>
</target>
</project>

@ -115,7 +115,7 @@ class BuildXMLMaker(object):
for as3 in sorted(self.targets['compc'].iterkeys()):
rel_target = './' + as3.lstrip('./')
as_swf = re.sub('(.*).as$', '\\1.swf', rel_target)
attrs = {'output': as_swf, 'source-path': '${basedir}'}
attrs = dict(output=as_swf)
attrs.update(self.targets['compc'][as3])
ET.SubElement(self.build, 'compc', **attrs)

Loading…
Cancel
Save