开发者

Flex and Ant: How do I include other folders via ant script?

I currently have a Flex project that was done in Eclipse, using the following compiler settings:

Flex Build Path: (Source Path) includes source folders from other areas, i.e common_components, which aren't projects on their own but just folders with various code I need to share. This works fine but I want to migrate to using ant.

I have read in places on how to include libraries, via compiler.include-libraries, but as this isn't a library but rather just bunch of folders with .as and MXML files,开发者_StackOverflow how do i accomplish this?


You want to look into adding source paths so that the compile can look at more than one place for your classes. You can do that by adding new compiler options.

The compiler option you're looking for is source-path path-element [...].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜