[ http://jira.codehaus.org/browse/MECLIPSE-213?page=comments#action_84845 ] 
            
Richard van Nieuwenhoven commented on MECLIPSE-213:
---------------------------------------------------

the idea to rename the project to the name with version name attached to it is 
realy very good. this solves a lot of troubles i have with the combination of 
maven with eclipse.

when somebody needs it, i can sent an other patch to this pach that includes 
that setting! This makes project references a lot more simple to handle. 

- the manifest for eclipse could be done by the plexus-archiver now (open)
    this makes the generated artifacts of wtp more equal to the maven generated 
artifacts

- the application.xml for eclipse could also be generated by the ear plugin 
(open)
    only the eclipse spesific ids must be added 

- it is now easy to have textual references to jar names in code, no more need 
for differences between eclipse-wtp and maven generated jar names.

i must say that i vote for including the version into the name by default!



> more jee support for wtp
> ------------------------
>
>                 Key: MECLIPSE-213
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-213
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: WTP support
>    Affects Versions: 2.3
>         Environment: linux suse 10.0 eclipse 3.2.1 and wtp 1.5.1 java 1.5.0_8
>            Reporter: Richard van Nieuwenhoven
>         Attachments: maven-eclipse-plugin-R494407.patch
>
>
> I tried the new release 2.3 of the eclipse plugin and noteted that not alle 
> of my paches where included. 
> I re-pached the 2.3 version again this time i made my changes configurable so 
> they can be turned on and off.
> my changes:
> - prohibit dupicate entries in the classpath
>     provided system paths in combination with log4j/commons-logging/xerces 
> can easely create such problems
> - system paths are only included in ears and war when they are inside the 
> project
>    bether behavior would be to exclude all system paths because the war and 
> ear plugin also ignore these
> - an application.xml specialy for eclipse-wtp 
>    this makes wtp ears function correctly it includes the eclipse project 
> modules instead of the maven generated jars
> - manifest generation for wtp
>    wtp needs manifest files, but not the ones maven creates because they have 
> version names for all modules etc
>    this generates a wtp manifest that will be in a ons eclipse source 
> directory that is ignored my maven itself
> use the parameters  -Declipse.wtpmanifest=true 
> -Declipse.wtpapplicationxml=true  to acivate the patch.
> The manifest generator could be combined with the RadManifestWriter in the 
> future, they are almost the same.
> regards,
> Ritchie

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to