Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] How are generated-sources prevented from compiling?

Hi m2e devs,

How does the eclipse plugin avoid the following confusion?

AFAIK the m2e plugin (i) uses the generat-sources jar when doing builds, but (ii) also optionally allows the user to display the generated .java files in a Source folder... and yet (iii) Eclipse doesn't get confused by duplicate classes of the jar and the compiled .java files.

I'm asking on behalf of someone who is writing an Eclipse plugin for a different, non-Maven build system, and who claims he can't show the .java files from JAXB generated source because Eclipse will get confused by the jar he is telling Eclipse to use for builds.

TMIA,
/rb


Back to the top