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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:50:25+00:00 2026-05-25T22:50:25+00:00

I have a simple java project with this basic structure: IncludeMe src deploy siteSpecific

  • 0

I have a simple java project with this basic structure:

  • IncludeMe
    • src
    • deploy
    • siteSpecific
      -> site1
      -> site2
      -> etc…

I also have another project which I check out as a Dynamic Web project.

I add it to a tomcat7 instance and run it locally on my machine.

  • MainWebApp
    • src
    • deploy
    • WebContent
      -> resources
      -> templates
      -> etc…

What I need is to include the ‘siteSpecific’ folder from the ‘IncludeMe’ project under the ‘WebContent’ directory in the ‘MainWebApp’ project.

So if I make a change to files under ‘IncludeMe->siteSpecific’, they are automatically picked up and applied by my MainWebApp under ‘MainWebApp->siteSpecific’ i.e. I do bot want to have to manually copy the contents between the two separate projects.

I currently do the following with no luck:
– Open ‘properties’ of ‘IncludeMe’ and go to ‘Deployment Assembly’
– Select ‘Add’ and choose the ‘SiteSpecific’ folder.
– Source then reads ‘/siteSpecific’ and I adjust the deploy path to be ‘siteSpecific’
– Open ‘properties’ of ‘MainWebApp’ and go to ‘Java Build Path’
– Go to ‘projects’ tab and add the ‘IncludeMe’ project.

I’m using Eclipse Indigo 3.7 by the way.

Any help appreciated

Thanks

  • 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-25T22:50:25+00:00Added an answer on May 25, 2026 at 10:50 pm

    This is a bit hacky solution but the only one I found when I needed something like this.
    The trick is to link external source folder and then use it in “deployment assembly”

    Do the following:

    1. Right click on Your webapplication project (MainWebApp)
    2. Build path
    3. Link source
    4. Variables (Here we will add variable that points to our external project, relative to our current project)
    5. New (add something like: “${PROJECT_LOC}..\IncludeMe” in “Location” and some name for new variable)
    6. OK
    7. Extend (You should extend variable You’ve created on prev. step).
    8. Pick right folder and press OK.
    9. Next.
    10. Add exclusion pattern to prevent eclipse from building anything from that folder.
    11. Finish

    After this dancing You should be able to see linked folder in “deployment assembly”…

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

Sidebar

Related Questions

I have a simple java maven project. One of my classes when executing needs
I have created simple Java Dynamic Web project in Eclipse. I host my project
I have a simple web app with this project.clj: (defproject squirrel-money 1.0.0-SNAPSHOT :description Squirrel
I have created a simple java web (Vaadin) application project using JPA and it
I have a simple Java class that I need to serialize to be stored
I have done simple java app for blackberry, while building am getting following error.
I have a simple Java class that has some methods: public class Utils {
In general, is it a best practice to have simple POJO Java classes implement
I have a very simple Java RMI Server that looks like the following: import
I have a really simple Java class that effectively decorates a Map with input

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.