Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to convert an existing Eclipse project into a dynamic web project?  RSS feed

 
cake naiyou
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an existing Eclipse java project, and need to export it to the war file for deployment. By googling, it turns out that I need to covert it to a dynamic web project at first. But the menu item for this conversion is disabled. I would like to know why.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way I can think of is to create a new dynamic web project and copy the files into it in the right directory. You could write an Ant script to create the war directories and jar things up, but that's more work.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!