Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] build participant xmlbeans and jaxb2

It is pretty much impossible to know what files were generated earlier
by any given MojoExecution, so there is no efficient way to remove
old/stale generated files during incremental build. It is possible to
cleanup from build participant's #clean(IProgressMonitor) call, which is
called during project clean build, i.e. after Project->Clean... action.

--
Regards,
Igor

On 11-07-14 4:44 AM, Pino Silvaggio wrote:
Ok, so I pretty much have something solid.

Both jaxb2 and xmlbeans connectors seem to work.

But, there something I am not sure...

When the build is triggered, i.e.: modified file(s) in schema directory

the generated-sources is no cleaned... therefore there could be sources
that shouldn't be there. Is this the behaviour we want? Shouldn't have a
"clean" build?

-

Pino


Back to the top