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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:48:15+00:00 2026-06-13T15:48:15+00:00

I have the following records in my projects’s .classpath file: <classpathentry kind=src path=src/main/webapp output=build/webapp/>

  • 0

I have the following records in my projects’s .classpath file:

<classpathentry kind="src" path="src/main/webapp"
 output="build/webapp"/>
<classpathentry kind="src" path="src/main/java"
 output="build/webapp/WEB-INF/classes"/>
<classpathentry kind="src" path="src/main/resources"
 output="build/webapp/WEB-INF/classes"/>

My intention is

  1. copy src/main/webapp into build/webapp
  2. then compile src/main/java into build/webapp/WEB-INF/classes
  3. then copy src/main/resources into build/webapp/WEB-INF/classes

However the result is actually,

  • copy src/main/webapp into build/webapp
  • prevent build/webapp/WEB-INF/classes from ever existing, but maintain the exact copy between src/main/webapp and build/webapp

Which means build/webapp/WEB-INF/classes can never be created and steps 2 & 3 never successful.

I even tried modifying step 1 to

<classpathentry kind="src" path="src/main/webapp" output="build/webapp"
 excluding="WEB-INF/classes/**"/>

which did not help at all.

The order of the classpathentry records are inconsequential.

Q1.
Please help advise how I should write my classpathentry records to hierarchically combine them into the same output directory, so that a classpathentry of a higher folder hierarchy would not nullify a classpathentry of a lower folder hierarchy.

Q2.
BTW, I cannot find any document specification for the xml tags and tag-attributes for eclipse .classpath file. I have tried googling “eclipse classpathentry” to no avail. Could someone also point me to a document?

  • Are “exported”, “excluding”, “kind”, “path”, “output” the only attributes for the classpathentry tag?
  • What other tags are allowed in the .classpath file, for example?
  • A functional explanation for each of those tags and tag-attributes.
  • 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-06-13T15:48:16+00:00Added an answer on June 13, 2026 at 3:48 pm

    First of all, .classpath is not intended to be edited manually. This file is configuration file of JDT. Files with names starting with “.” are intended to hidden from User. If you edited this file manually, in some cases, there will be broken synchronization with actual configuration object (JDT is okay, since configurations are automatically synchronized in JDT)

    Open Properties Dialog of your project, select “Java Build Path”. Then you can see GUI editor for that file. That GUI will answer what you asked. It allows to manage src to output mapping, re-ordering and etc. But it will not help you nest output the way you asked.

    An output folder cannot be hierarchically nested under another other output folder. Because there may cause conflicts. I am sure syntax will not help you. It will not let you do what you intend.

    This file is just derived stored data. If your needs are strong, you should have to consider custom build script, or hire some eclipse engineer to make builder extension for your needs.

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

Sidebar

Related Questions

i have following kind of records in mongodb { user_id : 79102, country_code :
I have following Table with records for ActivityLog: ID, UserId, Category, Created 1 11
I have table with following structure and records. table t1 +------+-------------+---------------------+ | name |
I have the following table. When i try to insert records using LINQ to
I have table with following structure and test records: +--------+--------+---------+ | vid | number
I have 30m records of the following schema in couchdb. { countryIso: 'TR' ,
I have the following model in Z3 (paste code at http://research.microsoft.com/en-us/um/redmond/projects/z3/ to try it).
I have the following code in my seeds.rb file in a jruby 1.6.3 rails
In my table I have 118 records detailing projects. The 2 fields I am
We have a project database in MSACCESS with the following tables: table PROJECTS with

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.