facebook

Dependent jar deployment doesn’t add .jar extension

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #247172 Reply

    Damon Rand
    Member

    Hi,
    I am running MyEclipse 4.1.0 GA. When I enable “Jar dependent Java project output and place in lib directory” my source code is deployed fine but it ends up without a .jar extension.

    It turns out it is because my projects are named “org.company.mymodule”. When I deploy modules without dots in the project name all is fine.

    Regards,
    Damon.

    #247199 Reply

    Riyad Kalla
    Member

    Damon,
    This is actually a “feature”. We added it because JBoss supports a large amount of custom package extensions (sar, rar, etc.) and in order to support them all in deployed form, we actually honor people’s project names to accomplish this. We will get rid of this secret/confusing behavior hopefully soon and make things more explicit, sorry for the confusion.

    #247245 Reply

    Damon Rand
    Member

    Oh ok, thanks for the info. It is a shame the eclipse doesn’t offer a way to specify the project name. It seem that it must be the same as the project folder name. Is there any workaround apart from renaming the project folder to org.company.jar?

    #247249 Reply

    Riyad Kalla
    Member

    Unfortunately not at this time. I will add your comments to our issue to correct this to hopefully fast-track this.

    #253765 Reply

    Any update on where this sits in the list of priorities ? and when it may bubble to the top of the list ?
    Thanks
    Dariush

    #253767 Reply

    Riyad Kalla
    Member

    Dariush,
    I see in the issue tracker we have targetted getting rid of this “feature” and adding in a more explicit feature for 5.0, but I’m not sure if it will make the last minute cut. If it doesn’t, I’ll push it soon after 5.0.

    #253769 Reply

    Thanks for the super-fast update 🙂

    #253770 Reply

    Riyad Kalla
    Member

    No problem, every time someone replies to a thread the forum sends an email to a device that shocks me. So even if I’m sleeping or eating, I know someone posted.

    =)

    #253771 Reply

    shouldn’t that be more like aaaargh… =8-)

    PS Apologies to future readers of this thread for the off-topic post 🙂

    #255991 Reply

    So, in the meantime, can anyone suggest a workaround?

    #255995 Reply

    Riyad Kalla
    Member

    MrFeinberg,
    The only workaround now is to remove the dots from your project name, which in many people’s cases is not a workaround at all. I’m sorry for the less than stellar solution.

    #256003 Reply

    It’s not a workable solution, but at least it’s amusing. 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Dependent jar deployment doesn’t add .jar extension

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