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 781557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:14:57+00:00 2026-05-14T20:14:57+00:00

What do you guys do, when you have huge project built with ant for

  • 0

What do you guys do, when you have huge project built with ant for instance, where the source folders are right bellow the root project folder, for building classpath from source files ?

Putting entire project as a source folder is nonsense.
Putting separate folders as source folders can’t be done if they are part of the package hierarchy and the only thing I could think of, is to copy the source folders into a separate folder and add it then as source folder which is weird but I don’t know how else to do it.
Having to duplicate sources just because of the eclipse way of making classpath and also because of somebody doing stupid project structure

It’s really pain in the ass…because the ant scripts are written for this structure.
Even if it was just one folder, it’s a problem anyway. There must be included the upper folder to the source classpath which means it is included with all the crap around and also it means that package explorer is flooded with the packages.

example:
Instead of /project/src/java/utils where we can put src folder into source classpath…
there is project/java/utils + lot of crap like /project/docs is in the project as well.

  • 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-14T20:14:58+00:00Added an answer on May 14, 2026 at 8:14 pm

    The trick is:

    An Eclipse project root directory is defined by where the .project and .classpath are.

    Two options here:

    1. Those Eclipse project files are located in the workspace (and the ‘project‘, the one with ‘java/utils‘ inside, is not)
      Then you can make a linked folder within the Eclipse project to reference ‘project‘, calling that linked folder as ‘src‘, using it as your source folder.
      alt text
      The ant script remains right where it originally is (in the ‘project‘ directory, along with all the other sub-directories)

    2. Those Eclipse project files are located directly within the ‘project‘ directory (along with ‘java‘ and ‘docs‘: don’t.
      Delete that Eclipse project (not its content, only its definition, that will only remove the .eclipse and the .classpath), and recreate anywhere else.
      Then go back to 1.

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

Sidebar

Related Questions

right now I have a huge Solution in which we use javascript alerts via
do you guys have any idea how to edit the the labels in the
Thus far you guys have been wildly helpful with me getting this little ditty
Python list comprehensions are nice, but near impossible to debug. You guys have any
Guys I have an activity which has a home button, when the button is
guys i have arrays in which i have to match this kind of text
guys I have two question to ask, they're easy, but bothering me for a
Guys i have a WebView in my Screen with some TextFields in it. Whenever
HI Guys I Have A jar File Named Column Reader. I am trying to
Hey guys I have a object sitting in my tile map for spawn point

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.