Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6654911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:26:55+00:00 2026-05-26T01:26:55+00:00

I want to set up a new Eclipse project with a directory structure as

  • 0

I want to set up a new Eclipse project with a directory structure as follows:

Myproject/
    src/
        config/
        java/
    test/
        config/
        java/
    lib

Where src/ and test/ are both “source” folders (they contain either .xml or .java files). Obviously, src/config/ contains all the XML config files for my primary Java source files (which get packaged under src/java/).

What I’d like to achieve (if possible) would be to just see the following in Package Explorer:

MyProject
    src/config
    src/java
    test/config
    test/java
    lib

But instead, after adding all fource “source” folders to the project, I see this:

MyProject
    src
    src/config
    src/java
    test
    test/config
    test/java
    lib

This is most annoying!! When I go into Project Properties >> Java Build Path >> Source I see the same folders listed as source folders as directly above:

MyProject/src
MyProject/src/config
MyProject/src/java
MyProject/test
MyProject/test/config
MyProject/test/java

Is there any way to force Package Explorer to present my 4 source folders and not even list the src/ and test/ folders? It just seems bulky, unnecessary and annoying, since I’ll never be adding anything to them directly. Everything will be added to their config/ and java/ subdirectories.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:26:56+00:00Added an answer on May 26, 2026 at 1:26 am

    Use the Navigator view instead of the Package view. It provides a hierarchical view of your project instead of showing every package at the same level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started working on a new Eclipse Android project and want to make
I am new to web-design. I want to set the page-width so that it
I am new to iPhone development. I want to set an activity indicator which
I've just created a new view based application, and now I want to set
We recently bought a new rack and set of servers for it, we want
I have a little Java project where I've set the properties of the class
I'm new to Java so I'm probably doing something wrong here, I want to
I want to set new color to Application.Current.Resources[MainColor]. I can do it like this:
I have a project that uses the normal Maven structure, e.g. module \ src
Our project in eclipse approximately shows the following folders: application - src - JRE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.