Results 1 to 3 of 3

Thread: Adding packages inside top level package

  1. #1

    Default Adding packages inside top level package

    When creating a new Spring sample MVC project you're required to create a top level package (e.g. com.companyname.applicationname) but what if I want to create packages inside this package? When I rightclick on the top level package node and chose "new->package" nothing happens. The PetClinic sample project have packages inside the top level package, so it must be possible but how?

    Regards Kristofer.

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Kristofer,

    you can just create a new class and then specify the new package. Empty packages are per-default not displayed in Eclipse. You'll see the package once you added Class or Interface.

    HTH

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  3. #3

    Default

    Thanks! What a relief to get it working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •