yet more ant tweaking
This commit is contained in:
parent
171ddc7c59
commit
099ac36cbe
@ -55,7 +55,7 @@
|
|||||||
<mxmlc as3="true" file="./custom-03d3-lists/ListControl.mxml"/>
|
<mxmlc as3="true" file="./custom-03d3-lists/ListControl.mxml"/>
|
||||||
<mxmlc as3="true" file="./custom-03d4-tilelist/TileListExample.mxml"/>
|
<mxmlc as3="true" file="./custom-03d4-tilelist/TileListExample.mxml"/>
|
||||||
<mxmlc as3="true" file="./custom-03g1-debugging/Debugging.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>
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ class BuildXMLMaker(object):
|
|||||||
for as3 in sorted(self.targets['compc'].iterkeys()):
|
for as3 in sorted(self.targets['compc'].iterkeys()):
|
||||||
rel_target = './' + as3.lstrip('./')
|
rel_target = './' + as3.lstrip('./')
|
||||||
as_swf = re.sub('(.*).as$', '\\1.swf', rel_target)
|
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])
|
attrs.update(self.targets['compc'][as3])
|
||||||
ET.SubElement(self.build, 'compc', **attrs)
|
ET.SubElement(self.build, 'compc', **attrs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user