Can the Build Config inheritance another

Hi,

I am new user of IntelliJ and use it for flex development. I want to know if i can make a build config inheritance another. Since i need to use different build config for testing. But basically, they have the same resoucese and just some different in complier options.

William

3 comments

It is not possible to inherit Flash build configurations (BCs), and I can hardly imagine how this could be done in a convenient way. But I think existing capabilities would be enough for you:
- one module can contain more than one BC (you can select BC at the Project Structure dialog and press 'Copy' button to clone selected BC, or just click [+])
- compiler options can be set at project level and at module level and they are inherited by thу specific BC. Specific BC can override corresponding module-level options, module-level options in turn may override project-level options

What do you mean by 'the same resources'? If it is about BC dependencies or files to package - I'm afraid you'll have to setup those for each individual BC. 'Copy' button described above may be of help for cloning already configured BC.

0

Thanks for your suggestion.

What do you mean by 'the same resources'? If it is about BC dependencies or files to package - I'm afraid you'll have to setup those for each individual BC. 'Copy' button described above may be of help for cloning already configured BC.

I do means the "file and file to package". Since i may add/delete the package file. Now, i need to do that in each BC or dup a new BC and set the complier option again. So, it is good if the package settings can be inheritance.
0

Ok, you may add a YouTrack feature request for that. Suggestions about convenient implementation is welcome.

0

Please sign in to leave a comment.