Flexmojo project Follow
I have a flexmojo project that has a FlashBuilder project file and was wondering how the maven project should be loaded into IntelliJ. Should I import it from a FlashBuilder project filer or maven? With both ways I am having issues where my unit test classes are showing errors for files it should have access to. It is complaing that some imports are not available when they are part of the same test package. When searching for the test class it doesn't find it which indicates something isn't right. Please help?
Please sign in to leave a comment.
I think import from maven would be better, because you'll be be able to automatically sync changes in pom with IDEA project model. And I think pom is your primary goal.
To help with test classes resolve I need some more information about your project:
- IDEA version
- may be screenshot with the error
- location of file with red code
- location of file with target class (that is unresolved in previous file)
- dependency between modules if these files are in different modules
I close my project and deleted all the IntelliJ project files and then imported again as a maven project. Classes are resolving now. Not sure what the issue was but everything looks good now.
Have you tried IntelliJ IDEA 11.1 EAP? Flex projects workflow is significally redesigned there. See http://blogs.jetbrains.com/idea/2012/02/new-flex-project-setup/