Re: NB 11.2 change default project path

2020-02-25 Thread Ernie Rael
On 2/25/2020 10:39 AM, Neil C Smith wrote: On Mon, 24 Feb 2020 at 18:18, Ernie Rael wrote: And to close the loop. The latest directory used is saved/used. It's stashed as a preference at /org/netbeans/modules/projectui keyed with projectsFolder. Have you tried that? If it actually worked

Re: NB 11.2 change default project path

2020-02-25 Thread Neil C Smith
On Mon, 24 Feb 2020 at 18:18, Ernie Rael wrote: > And to close the loop. The latest directory used is saved/used. It's > stashed as a preference at /org/netbeans/modules/projectui keyed with > projectsFolder. Have you tried that? If it actually worked consistently I don't think anyone would

Re: NB 11.2 change default project path

2020-02-24 Thread Ernie Rael
On 2/21/2020 12:06 AM, Neil C Smith wrote: On Fri, 21 Feb 2020, 01:42 Laszlo Kishalmi, > wrote: I haven't known this one either. Just spent  one minute to dig it up from the source code. Always good advice! I didn't either until just before you

Re: NB 11.2 change default project path

2020-02-21 Thread Neil C Smith
On Fri, 21 Feb 2020, 01:42 Laszlo Kishalmi, wrote: > I haven't known this one either. Just spent one minute to dig it up from > the source code. > Always good advice! I didn't either until just before you posted, although found it via Google .. on the old mailing lists .. in an email from 6

Re: NB 11.2 change default project path

2020-02-20 Thread Laszlo Kishalmi
I haven't known this one either. Just spent  one minute to dig it up from the source code. My method was: 1. Search for "NetBeansProjects" in all properties which throw one Bundle.properties file in Project UI module the key was DIR_NetBeansProjects 2. Search the java files from project UI

Re: NB 11.2 change default project path

2020-02-20 Thread Geertjan Wielenga
I love this thread, how it developed will be the basis of several sessions I will be doing — essentially about everything that is truly good and truly bad about open source (i.e., shared ownership) development. Gj On Thu, 20 Feb 2020 at 21:00, joe foe wrote: > You learn something new

Re: NB 11.2 change default project path

2020-02-20 Thread joe foe
You learn something new everyday! . Is there a complete list of all these parameters? Regards, JoeFoe On Thu, 20 Feb 2020, 20:09 Mark Eggers, wrote: > I did not know that - cool! > > . . . just my two cents > /mde/ > On 2/20/2020 10:59 AM, Laszlo Kishalmi wrote: > > Start Netbeans with: > >

Re: NB 11.2 change default project path

2020-02-20 Thread Mark Eggers
I did not know that - cool! . . . just my two cents /mde/ On 2/20/2020 10:59 AM, Laszlo Kishalmi wrote: > Start Netbeans with: > > -J-Dnetbeans.projects.dir= > > you can add that option into your etc/netbeans.conf as well > > On 2/20/20 6:59 AM, Mark Eggers wrote: >> I don't really understand

Re: NB 11.2 change default project path

2020-02-20 Thread Geertjan Wielenga
Wow, awesome. Gj On Thu, 20 Feb 2020 at 19:59, Laszlo Kishalmi wrote: > Start Netbeans with: > > -J-Dnetbeans.projects.dir= > > you can add that option into your etc/netbeans.conf as well > > On 2/20/20 6:59 AM, Mark Eggers wrote: > > I don't really understand why you described a disk crash,

Re: NB 11.2 change default project path

2020-02-20 Thread Laszlo Kishalmi
Start Netbeans with: -J-Dnetbeans.projects.dir= you can add that option into your etc/netbeans.conf as well On 2/20/20 6:59 AM, Mark Eggers wrote: I don't really understand why you described a disk crash, recovery, and then said that the default project folder wasn't to your liking / wasn't

Re: NB 11.2 change default project path

2020-02-20 Thread Mark Eggers
I don't really understand why you described a disk crash, recovery, and then said that the default project folder wasn't to your liking / wasn't easy to change. Instead, how about the following: I would like to change the default location of where File->New Project creates projects. I didn't

Re: NB 11.2 change default project path

2020-02-20 Thread Mark Eggers
Maven does this as well, and there are configurations (as well as command line options) to manage this. I would not be happy with a tool that changed the pom.xml or it's meaning. I like that I get a warning, and then I get to decide how to address it. For me, managing JDK versions by using

Re: NB 11.2 change default project path

2020-02-20 Thread Emilian Bold
> Back to modern days: Java 11 doesn't allow compiling for Java 5 any more. It's a simple if() just to check for the version of the compiler - and if it's 11 or above set the minimum target compiling level to at least 6 and disable any lower versions. C'mon - don't tell me 100s of devs could get

Re: NB 11.2 change default project path

2020-02-20 Thread Neil C Smith
On Thu, 20 Feb 2020 at 07:27, Geertjan Wielenga wrote: > Sure, create an issue and this could be something we implement. I don’t think > anyone has asked for this before but it makes sense to me. In the Options > window, it should be possible to specify the location of the folder where >

Re: NB 11.2 change default project path

2020-02-19 Thread Geertjan Wielenga
Sure, create an issue and this could be something we implement. I don’t think anyone has asked for this before but it makes sense to me. In the Options window, it should be possible to specify the location of the folder where projects are created by default. I agree completely, just had never

Re: NB 11.2 change default project path

2020-02-19 Thread cryptearth
TBH I didn'T read all of your reply, but from the first few lines I did read: no, you got me wrong. My question is as simple as that: Is it possible, and if so: How?, to change the default project folder where new projects supposed to get created on disk? I didn't found any setting in whatever

Re: NB 11.2 change default project path

2020-02-19 Thread Mark Eggers
First of all, I'm just a happy NetBeans user. Second of all, this is just my opinion. So let me try to understand your problem first. 1. You crashed what appears to be a Windows data and programs disk This is different than where your user profile is stored. I understand this, since I do the

Re: NB 11.2 change default project path

2020-02-19 Thread cryptearth
I know at least someone will feel offended no matter how polite I try to write my response, hence I try to just repeat the question instead of responding to the reply (I guess someone who read carefully might notice what I mean and try to avoid to say out loud): Is there a way to (re-)set the

Re: NB 11.2 change default project path

2020-02-19 Thread Geertjan Wielenga
Do not change that file, do not touch it. The file you need, if what you want is define the JDK to use to start NetBeans, is "etc/netbeans.conf" in the installation directory. Gj On Thu, Feb 20, 2020 at 12:22 AM cryptearth wrote: > Well, I wrote my mail to soon before even try it myself - as

Re: NB 11.2 change default project path

2020-02-19 Thread cryptearth
Well, I wrote my mail to soon before even try it myself - as I have to add: No matter what I put into the mentioned properties file it doesn't change the default path NB uses. I also tried to find it in other config files and even in the windows registry - but had no luck. So, as manual edit a

Re: NB 11.2 change default project path

2020-02-19 Thread Geertjan Wielenga
Np, you never need to edit "projectui.properties". Gj On Wed, Feb 19, 2020 at 11:12 PM cryptearth wrote: > So, as I had to recover from a hard disk crash I had NB 11.2 set up > again but didn't got any dialog about default project folder. As I got > through google this has to be done manual by

NB 11.2 change default project path

2020-02-19 Thread cryptearth
So, as I had to recover from a hard disk crash I had NB 11.2 set up again but didn't got any dialog about default project folder. As I got through google this has to be done manual by editing the file projectui.properties located in