Menu

#27 Problems with modules for 3.0.0-SNAPSHOT

open
Other (4)
5
2010-06-01
2010-06-01
Anonymous
No

Hi guys,

I tried to make multimodule projects with your architypes. I used the lates version 3.0.0-SNAPSHOT. I alway tried to generate swf projects (option N 3). Afther that I did >mvn flex:eclipse

So,
When I created project without modules everything was fine.

When I generated parent pom project and as I module swf project (from architype 3.0.0-SNAPSHOT) and did >mvn flex:eclipse everything was fine.

BUT, when I generated parent pom project named "parent", then I generated pom module project of "parent" named "child", and then I generated swf module project of "grand-child" project (from architype 3.0.0-SNAPSHOT) I met some problems.

Problem: everything was generated properly (mvn install did work), I did >mvn flex:eclipse, then open "grand-child" project in Flex Builder. When I tried to edit any mxml code Flex Builder didn't provide me any code assis and autocompletion functions. When I tried to create new mxml file by using right-mouse click context menu I also had troubles with some blinking eclipse screens.

So, for me it is impossible to create structure like this: pom->pom->swf

Any ideas why it is like this?

Discussion

  • Anonymous

    Anonymous - 2010-06-01

    Ops, typos in my description. Here is a fixed version:

    Hi guys,

    I tried to make multimodule projects with your architypes. I used the lates version 3.0.0-SNAPSHOT. I alway tried to generate swf projects (option N 3). Afther that I did >mvn flex:eclipse

    So,
    When I created project without modules everything was fine.

    When I generated parent pom project and as I module swf project (from architype 3.0.0-SNAPSHOT) and did >mvn flex:eclipse everything was fine.

    BUT, when I generated parent pom project named "parent", then I generated pom module project of "parent" named "child", and then I generated swf module project of "child" named "grand-child" project (from architype 3.0.0-SNAPSHOT) I met some problems.

    Problem: everything was generated properly (mvn install did work), I did >mvn flex:eclipse (build was successful), then opened "grand-child" project in Flex Builder. When I tried to edit any mxml code Flex Builder didn't provide me any code assis and autocompletion functions. When I tried to create new mxml file by using right-mouse click context menu I also had troubles with some blinking eclipse screens.

    So, for me it is impossible to create structure like this: pom->pom->swf

    Any ideas why it is like this?

     
  • Anonymous

    Anonymous - 2010-06-01

    So, once again. I tried to remove <parent> block from "grand-child" project, and everything started to be just fine...

    Any ideas? Bug if Eclipse (??!!!) or what could it be?

     
  • Ghazi Triki

    Ghazi Triki - 2010-06-01
    • assigned_to: nobody --> ghazitriki
     
  • Anonymous

    Anonymous - 2010-06-01

    After removing and then again adding <paren> block, I was working. But I didn't try to reload complete project-set, so I don't really know why it is like this.

    In case you cannot reproduce the error, I can try to make a screencast for you.

     

Log in to post a comment.

MongoDB Logo MongoDB