# Class within SWC is throwing an error when building project with ant

**URL:** https://forum.kirupa.com/t/class-within-swc-is-throwing-an-error-when-building-project-with-ant/326293
**Category:** flash
**Created:** [December 5, 2011, 4:40pm UTC](https://forum.kirupa.com/t/class-within-swc-is-throwing-an-error-when-building-project-with-ant/326293 "2011-12-05T16:40:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)
#### Post date: [December 5, 2011, 4:40pm UTC](https://forum.kirupa.com/t/class-within-swc-is-throwing-an-error-when-building-project-with-ant/326293/1 "2011-12-05T16:40:37Z")

</div>

I’m working on a project in FlashBuilder 4.5. I’m using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.

The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don’t know what that addition/edit would be.

Any help appreciated.
