Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Examples of projects when order of scoped dependencies changes results

I assume the order issue here is "just" about wether one scope comes before another, not that individual jars comes before and after ?

Examples of where order are an issue I can think of where you use stifled api jars during compilation vs api+impl jars during tests.

If the tests jars don't "win" during run then they will hit the api jars and break. This is example from using standard oracle jsf api jars and use some specific vendor jar for tests.

Question on wether its important or not ? It is something JDT and m2e already do so I would say it would be a step backwards if we come up with a design that makes it wrong what order of jars there will be.

/max

Hi all,

I'm working on providing something related to the story of "multiple classpath per projects" in JDT. My idea and POC relies on consider a m2e scope as a JDT classpath container -so there would be a "Maven compile dependencies" and another "Maven test dependencies" container, and to set up attributes to restrict "visibility" of those containers to the right source folder and of a builder that check referenced type are visible for a given source folder. This story is related in https://bugs.eclipse.org/bugs/show_bug.cgi?id=486035 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=486032#c7 and I have an early stage implementation working.
I did chat a bit with Fred on this topic and he told me that an issue of multiple classpath container can be the order of the jars. I was a bit surprised as it's the first time I hear about it. Do you have any example to provide on this topic that wouldn't work with a multiple classpath containers approach? And do you know how likely this is to happen, and how severe could be an issue on this topic; basically how much importance we want to give to such issue compared to the usability improvement of multiple container?

Thanks in advance,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat http://www.jboss.org/tools
My blog http://mickaelistria.wordpress.com - My Tweets http://twitter.com/mickaelistria


m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev

/max
http://about.me/maxandersen


Back to the top