Issue Details (XML | Word | Printable)

Key: MPECLIPSE-104
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Holger Hoffstätte
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Eclipse Plugin

Improve JRE_CONTAINER classpath entry

Created: 26/Sep/05 07:19 AM   Updated: 26/Nov/05 09:28 AM
Component/s: None
Affects Version/s: 1.9
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows XP, JDK 1.5


 Description  « Hide
Situation: Sun's jaxrpc has a QName class but also put out a fix jar with an update to make that class compatible with JDK 1.5. In mule we missed out on the patch jar but since the .classpath generated by maven-eclipse-plugin-1.9 references the JRE_CONTAINER ahead of other jars, people who used JDK 1.5 for development missed this since a working QName was found when it really should not have been (correctly raising an error caused by the 'bad' class and the lack of the patch jar instead).
Solution and proposed fix: move the JRE_CONTAINER to the end of the dependency list, after the j:forEach block that follows in the current version.
IMHO the JRE_CONTAINER should always come last. This is unlikely to cause problems because you cannot accidentally override essential classes (e.g. java.lang), but it is essential when you do want to handle optional packages correctly (say a working QName or JMX).

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Holger Hoffstätte added a comment - 26/Sep/05 07:21 AM
BTW I suspect generated files for other IDEs might have the same problem (IDEA?).

Trygve Laugstol added a comment - 26/Sep/05 08:42 AM
See MNG-1020 why this isn't the correct solution to a valid problem.