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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:50:07+00:00 2026-05-22T18:50:07+00:00

I decided to split a dynamic web application into two dynamic web applications, a

  • 0

I decided to split a dynamic web application into two dynamic web applications, a core part and project specific part. If I run maven I get a JAR-file for the core-project due to its pom.xml.

However, with WTP I don’t seem to be able to convince Eclipse to deploy the core project as a JAR-file. If I edit the target filename in the project’s “Deployment Assembly” from blah.war to blah.jar, close and reopen the project properties it’s a WAR-file again.

So I decided to try to make the core project a web fragment module (I hadn’t noticed it when I split the original project). If I deselect “Dynamic Web Module” and select “Web Fragment Module” in the project facets I’m not allowed to click “Apply” or “OK” as they are greyed out.

What do I do now? In the end I want WTP to write a JAR-file of the core project to the lib-folder of the web-app.


EDIT:

I created a new Web Fragment Project and tried to find the obvious differences to my dynamic web project. The only obvious difference was in .settings/org.eclipse.wst.common.project.facet.core.xml as it was

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
    <fixed facet="wst.jsdt.web"/>
    <installed facet="java" version="1.6"/>
    <installed facet="jst.web" version="2.4"/>
    <installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

and is now:

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
    <fixed facet="java"/>
    <fixed facet="jst.webfragment"/>
    <installed facet="java" version="1.6"/>
    <installed facet="jst.webfragment" version="3.0"/>
</faceted-project>

Is it correct to overwrite that file and assume everything else is still working as designed (speaking of Eclipse here)? I noticed that Eclipse now suggests a JAR-file now in the “Deployment Assembly” and also creates it, but just because that is working doesn’t necessarily mean that I didn’t break anything else.

  • 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-22T18:50:08+00:00Added an answer on May 22, 2026 at 6:50 pm

    Since I haven’t had any problems and nobody argued I guess my described way of doing this has worked.

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

Sidebar

Related Questions

We decided to split an assembly into two assemblies. We did and learned that
I decided to use log4net as a logger for a new webservice project. Everything
We decided to use the minimumRequiredVersion in our clickOnce application manifest, and now when
I have a large C++ file (SS.cpp) which I decided to split in smaller
Decided to learn ASP.NET MVC and instantly got stuck on something simple. In Web
I have decided to move my C# daemon application (using dotConnect as ADO.NET provider)
I decided to make a system for a client using Castle ActiveRecord , everything
I decided to try http://www.screwturn.eu/ wiki as a code snippet storage utility. So far
I decided to install APC to speed up the site that I work for.
I decided to learn C++ (I program in C at work), and I have

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.