Announcement Announcement Module
No announcement yet.
Roo deletes the .aj files in a web project multi-module project Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo deletes the .aj files in a web project multi-module project


    If you create a multi-module project with a web project (with controllers and so on) and you exit the shell, there is no problem if you start the shell again from the parent directory.

    However, if you open the shell within the web project directory, Roo will deletes the .aj files.

    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723]

    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    Deleted SRC_MAIN_JAVA\...\web\...\XXXController_Roo_Contro ller.aj - empty
    Deleted SRC_MAIN_JAVA\...\web\...\ApplicationConversionSer viceFactoryBean_Roo_ConversionService.aj - empty
    It's a problem if you're using STS and tries to Open a Roo Shell for the web project or, even, if you update the maven configuration (that will open the Roo Shell for this very project)

    See also STS issue STS-2562

    There is no problems with other modules if their packaging is JAR.

    Is it possible to provide a fix for that?


    P.S.: environment:
    Windows Professional 32
    Java 1.6.0_26
    Roo 1.2.1.RELEASE [rev 6eae723]