Skip to content

Conversation

@pkriens
Copy link
Member

@pkriens pkriens commented Aug 17, 2022

I think this was caused by faster window machines.
The reason for the operation was USE_CACHE which
can only happen if the bndrun file did not pick up
the time of the included file.

I've added a 100 ms delay before taking a time,
this 100 ms should be more than the resolution of
the file system.

So setting the time on the included file was not
seen as later than the project file.

I also added checks to see what the cache reason is
before we call getRunBundles().

Lets see what happens

Signed-off-by: Peter Kriens Peter.Kriens@aqute.biz

I think this was caused by faster window machines.
The reason for the operation was USE_CACHE which
can only happen if the bndrun file did not pick up
the time of the included file.

I've added a 100 ms delay before taking a time,
this 100 ms should be more than the resolution of
the file system.

So setting the time on the included file was not
seen as later than the project file.

I also added checks to see what the cache reason is
before we call getRunBundles().

Lets see what happens

Signed-off-by: Peter Kriens <Peter.Kriens@aqute.biz>
@pkriens pkriens merged commit b133d60 into bndtools:master Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant