>>>>> Steinar Bang <[EMAIL PROTECTED]>:
> Maybe timing related...?
> As an experiment, inserting a
> <sleep second="10" />
> between the unzip and the <replace> worked for all of the projects
> except for the two latest projects (which consistently failed).
> But
> 1. I still don't know why the two last projects consistently fail
> 2. adding an extra 10s to each project slows down the build
> And introducing a wait to make things work is always a hack.
> I tried doing this instead of the sleep:
> <waitfor>
> <available file="${project.build.directory}/META-INF/MANIFEST.MF" />
> </waitfor>
> But that didn't work. It didn't stop and wait either.
I tried something more:
- splitting up the unzip from the replace and zip tasks in two separate
executions in the verify phase, that didn't help
- running the unzip execution in the integration-test phase. That
didn't help either, so that shoots holes in the timing theory
Another possible culprit is the use of ${project.build.directory}. Is
that always right when running a multi-project? (it seems to be, from
the [unzip] output, and for the [zip] output where we get it. But there
may be issues there...?)
I tried replacing it with ${basedir}/target, but that didn't make any
difference.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]