Hallo
indeed initial project creation is a bit a mess. to stick with the maven
standards i used src_main_java as initial source folder. then you need
to go through the eclipse files (.classpath, .project, .settings/*) and
modify the paths accordingly (search / replace).
This should allow to keep things mavenized and use wtp.
Dont forget to check the 'maven dependencies' in the J2EE Module
Dependencies within the project properties.
This works kinda well :)
regards
op
Adrian Shum schrieb:
> Hi all,
>
> I am not sure whether I should put this question in the maven list
> but I hope people with similar setup can share their experience.
>
> I am trying to use Eclipse Europa (JEE distribution) + Maven 2.
> For normal Java project, it works fine after modifying the project
> setting a bit, with the aid of m2eclipse.
>
> However, when I try to create a Dynamic Web Project in eclipse,
> things start mess me up.
> 1) I cannot enter subdirectory for source folder and WebContent
> folder
> 2) I tried edit the project config files afterward to solve 1, in
> order to try to make it sticks to the standard maven directory
> structure. The real mess come, seems eclipse
> dynamic web project only allow 1 directory for web content
> which includes WEB-INF/ and META-INF/ etc.
> However, maven stardard directory structure is to have
> src/main/webapp/ containing the web content, and WEB-INF,
> and src/main/resources containing META-INF/.
> Is there any way I can make the eclipse project conform to
> this?
>
> Or, as the last resort, shall I just sticks to use all plain Java
> projects for all of them, and give up the Eclipse functionalities
> on that?
>
> --
> AdRiAN ShUM
> (-: Don’t worry, Be Happy :-)
>
>
> This email is confidential. If you are not the intended recipient, please
> delete it from your system and notify the sender immediately. Any
> unauthorized use, disclosure, dissemination or copying of this email is
> prohibited. Taifook Securities Group, its group companies and their content
> providers ("Parties") shall not be responsible for the accuracy or
> completeness of this email or its attachment, if any, which could contain
> virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late.
> The Parties do not accept liability for any damage caused by this email.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]