well I made the point before that games these days are starting to take
up 40 GB and more. It should be acceptable for an IDE to use up ~6GB to
maintain a cache (which is optional and can be turned off if you don't
want it!).
Android development for comparison will use up that space instantly as
soon you press run and it downloads an OS image for the emulator and you
probably want to test on more than one image.
The maven central index contains information for every java lib ever
released and is post-extraction at about 5GB. That should be ok i think.
I also do have some ideas how to shrink that index further but this is
for later since it is blocked by other things atm.
-mbien
On 15.03.23 02:28, Tim de Vries wrote:
If I may inject a thought? Maybe time to invest in a DVD-RW Drive and
a bigger case. If you have three drives, you can add a floppy or
DVD-Writer. So, a spindle of DVD's?
Tim
On 2023-03-14 7:20 p.m., Michael Bien wrote:
On 14.03.23 13:29, Emma Atkinson wrote:
I gave up on Maven a couple of years ago for the reasons already
given. No matter what size partition I used it would be too small
within a year or so. I used to grab the dependencies I needed and
switched off the Maven Index download in NB.
if your project depends on a library and you use a build tool like
gradle or maven, it will download that library. Switching build tools
won't make a difference.
my .m2 folder is 4GB right now and I haven't cleared it for at least
2 years. NetBeans isn't downloading any of that, the build tools do
that. Build tools are IDE independent, they would download the exact
same stuff when run without an IDE. That is the whole point of build
tools since you don't want to ship your project with an IDE.
If you don't need any of the NetBeans editor features local or remote
repo indexing gives you, you can simply turn it off in the settings
and NetBeans won't download the maven central index.
we have a pending PR which makes it a bit more configurable and also
explains what indexing actually does, since I read at least twice by
now that users think that NetBeans is downloading maven central
itself (which would probably be a few TB of storage, optimistically)
https://github.com/apache/netbeans/pull/5646
right now its an all-or-nothing option. This PR proposes to turn off
remote index downloads selectively while still indexing your .m2
folder which produces a much smaller index footprint.
-mbien
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists