Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3261

Java imports not properly generated

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.5.RELEASE, 1.2.2.RELEASE
    • Fix Version/s: None
    • Component/s: @ CORE
    • Environment:
      Ubuntu 12.04, JDK 1.6.0_33, Maven 3.0.4

      Description

      Roo can't read java imports properly if there is import of package.

      • Execute clinic.roo script
      • Edit Visit.java
      • Change:

      import java.util.Date;

      by:

      import java.util.*;

      • See Visit_Roo_JavaBean.aj incorrect import:

      import com.springsource.petclinic.domain.Date;

      Using .* imports can cause Roo to generate invalid ITDs

      It was a lot of error tasks for this problem related with ROO-1061 but closed without solution.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmvivo Jose Manuel Vivó ( Chema ) - DISID.
              Reporter:
              mmartinez Mario Martínez Sánchez - gvNIX - DISID
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: