Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.5
-
Component/s: WTP support
-
Labels:None
-
Environment:linux suse 10.0 eclipse 3.2.1 and wtp 1.5.1 java 1.5.0_8
-
Patch Submitted:Yes
-
Number of attachments :
Description
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
Attachments
Issue Links
| This issue is related to: | ||||
| MECLIPSE-389 | After running "clean" phase, eclipse detects some errors due to missing folder. |
|
|
|
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.
this makes the generated artifacts of wtp more equal to the maven generated artifacts
only the eclipse spesific ids must be added
i must say that i vote for including the version into the name by default!
- 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!