facebook

Project names containing dot (.) fail to deploy to JBoss

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #289833 Reply

    We’ve noticed that MyEclipse’s deployment mechanism fails when attempting to deploy projects containing a dot (.) to JBoss 4.x. For example, if I have an EJB project named ‘My EJB Project’ MyEclipse will happily deploy it to ‘My EJB Project.jar’ and JBoss deploys it just fine. However, if I rename the project to ‘My EJB Project 1.0’ MyEclipse deploys it to ‘My EJB Project 1.0’ and fails to append the ‘.jar’ extension. JBoss is looking for the extension to decide what to deploy, so it fails.

    #289839 Reply

    Loyal Water
    Member

    IronDuck,
    This is a feature provided for deploying apps with custom extensions. If you want to deploy your app as “appname.xyz”, you need to add the extension (.xyz) to the project name. This way the .jar will not get appended at the end. I can understand the problem that your facing but this is a feature provided by MyEclipse for the convenience of the users.

    #289897 Reply

    I think this should still be considered a bug. It shouldn’t be too difficult to fix the code so that it looks for actual extensions (e.g. – dot plus three or more characters) instead of simply looking for the dot. Of course, the best solution would be to add a configurable parameter to the project properties so you can explicitly name the deployment archive – a feature I’ve been anticipating for several releases now…

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Project names containing dot (.) fail to deploy to JBoss

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