Looking at the logs, it appears to be rebuilding bndlib because ECJ
kept changing the bin folder:
!ENTRY bndtools.builder 1 0 2019-06-30 00:51:00.722
!MESSAGE BUILD AUTO biz.aQute.bndlib 1 file was built
F/biz.aQute.bndlib/bin changed
project had changed files
Duration 21.33 sec
Why it takes 21 seconds (!), I can only blame windows. All the other
bndlib builds only took 8-9 seconds.
On my systems (mac), I did a full clean build and bndlib only took < 3
secs (whole clean build of workspace was < 2 min and only built bndlib
once).
BUILD FULL biz.aQute.bndlib 1 file was built
project was dirty from changed bnd files postponed = false
Calculated dependsOn list: [P/cnf, P/aQute.libg, P/biz.aQute.bnd.annotation]
Duration 2.71 sec
I then went and rebuilt via gradle, came back to Eclipse, refreshed
all projects and then turned on Build Automatically. It rebuilt the
workspace in < 2 min. bndlib was built only once.
BUILD AUTO biz.aQute.bndlib 1 file was built
F/biz.aQute.bndlib/bin changed
project had changed files
Duration 2.84 sec
I also see you are building your branch (since it has projects not in
master such as biz.aQute.tester.test). It is possible your new
projects have added some issue to the project dependency graph? Does
this same building problem also occur on master branch?
Do you have some windows antivirus scanning your git working
directory? That can really kill build performance on Windows which
already has a slowish file system. Is the file system rotating media
or SSD?
I have seen sometimes where the Eclipse Incremental builder can take
several iterations to settle down and complete building the Eclipse
workspace. But looking at the logs you provided, bndlib is being built
because Eclipse reported that the bin folder changed and based upon
that information, the Bndtools builder will rebuild the bundle.
On Sat, Jun 29, 2019 at 11:51 AM Fr Jeremy Krieg (Home)
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bndtools-dev/CAO6F8YyXHK5dto%2BOnrTtxUzKnoTpwYRGkAF-jNnFyfj_0%2B2_eg%40mail.gmail.com.