facebook

web deployment with dependancies on projects with . in name

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #249725 Reply

    Steve Prior
    Member

    It appears that if you create java projects which have a period in the name and then
    make a webapp project depend on those projects, when you export those projects to
    a war file the deployer/exporter sees the existing period and doesn’t add a .jar onto
    the filename of the project dependancy in WEB-INF/lib.

    In case this isn’t clear, say I have a project foo.model and a project
    foo.web. foo.web depends on foo.model. When I export foo.web to a
    war file, there is a file WEB-INF/lib/foo.model (not WEB-INF/lib/foo.model.jar),
    so when the war file is deployed the webapp doesn’t work (class not found).
    Renaming the projects to foo_model and foo_web avoid the problem.

    Guess how I found out…

    I think there is nothing wrong with periods in project names and the deployer/exporter
    shouldn’t get confused by them.

    #249790 Reply

    Riyad Kalla
    Member

    This is actually a badly hidden feature that we added when people dong a lot of custom JBoss archive deployments asked us for it. We should be removing this soon.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: web deployment with dependancies on projects with . in name

You must be logged in to post in the forum log in