aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Build Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Build Script" Watch "Build Script" New topic
Author

Build Script

Deep Mukherjee
Greenhorn

Joined: Jan 04, 2010
Posts: 20
I am trying to use maven for built script in eclipse... I have installed the plugin in eclipse. I am importing the existing web project
in the workspace and trying to make it war.but i failed...


can any one suggest the steps how i can archive the existing web project as war.It would be very convinient if the steps are explained with screenshots.


Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16055
    
  21

Well, technically, Maven isn't based on developer "build scripts". It's based on the POM, which is more about defining what's located where and what the dependencies are.

To build a Maven WAR project, define the project as a WAR in your pom.xml file. When building inside Eclipse, right-click on the pom.xml in the navigator, and select the "Run As" menu. It should display a number of Maven goals. Usually "package" will do what you want.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Build Script