Two options off the top of my head:
1. Set packaging to war and add the src/main/webapp directory etc yourself.
2. Create a new project with the proper archetype, then paste your
src/ directory over and let it overwrite stuff.

Wayne

On 2/13/08, gmehta <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> I currently have a project that is of <packaging>jar</packaging> .. however
> NOW i need this project to be web enabled and hence need the directory
> structure to reflect a web application. So I thought that if I change  to
> <packaging>war</packaging> and from the command line do 'mvn
> eclipse:eclipse' would generated the desired directory structure for a web
> application. But obviously it did not work!
>
> Is there a way to do this? I don't really want to create a separate project.
>
>
> Hope someone can help...
>
> regards
> gautam
> --
> View this message in context:
> http://www.nabble.com/regenerate-directory-structure-tp15460862s177p15460862.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to