Doz
Doz

Reputation: 7149

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, how do i accomplish this?

Upvotes: 0

Views: 145

Answers (1)

J_A_X
J_A_X

Reputation: 12847

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 [...].

Upvotes: 1

Related Questions