On 22.02.22 11:20, Neil C Smith wrote:
On Tue, 22 Feb 2022 at 05:04, Michael Bien <[email protected]> wrote:
On 22.02.22 05:37, Jaroslav Tulach wrote:
Dne pondělí 14. února 2022 22:13:36 CET, Michael Bien napsal(a):
thats what ant clean should probably invoke :) (I am kidding)
It used to! `ant clean` used to do some `hg clean` magic while NetBeans was
still using Mercurial. I see no problem changing it to use another git magic -
please purge only files that are `.gitignored` otherwise developers may loose
some work.
would be
git clean -X
Yes, but there are definitely things in .gitignore that should not be
cleared every time `ant clean` is run. Cached release properties and
user build properties come instantly to mind. An optional full clean
task might be good?
i mean, ideally, ant clean should work :)
But yeah why not add another task as nuclear option. Judging from the
responses on this thread and other places (e.g
https://github.com/apache/netbeans/pull/3392 ), everyone seems to be
using git already for cleaning.
I didn't really consider using git for cleaning as a serious solution
since IMO the build should be able to deal with this (also on a module
by module basis etc). But the question is: how much time do we still
want to invest to fight ant?
We'd also ideally have a full clean functionality that works
separately to git, although that might be more difficult, and it might
only be me that would like a better way of returning extracted source
bundles to a pristine state. Yes, I know I can unzip them over and
over again! :-)
don't know if NetBeans will ever migrate away from ant. But that would
be a good time to think about reproducible builds etc.
best regards,
michael
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists