Hi Eirik,
I just noticed that when using RELEASE121 the cache dir is no longer where
it used to be when starting the application from the IDE.
On Linux it used to be "application/target/userdir/var/cache/" but since
RELEASE121 it's /home/pata/.cache/appname/.
On Windows it's still "application/target/userdir/var/cache/" for
RELEASE121.

I think this is related to my original post but I'm not sure.

Den lör 23 maj 2020 kl 20:01 skrev Eirik Bakke <[email protected]>:

> And here's a pull request for this...
>
> https://github.com/apache/netbeans/pull/2153
>
> -- Eirik
>
> -----Original Message-----
> From: Eirik Bakke <[email protected]>
> Sent: Saturday, May 23, 2020 1:44 PM
> To: [email protected]
> Subject: RE: DEFAULT_CACHEDIR_ROOT not propagating to platform application
>
> I created JIRA issue https://issues.apache.org/jira/browse/NETBEANS-4367
> for this.
>
> -- Eirik
>
> -----Original Message-----
> From: Patrik Karlström <[email protected]>
> Sent: Saturday, May 23, 2020 4:16 AM
> To: [email protected]
> Subject: DEFAULT_CACHEDIR_ROOT not propagating to platform application
>
> The following is done with NB Platform 11.3 and Java 11 on Kubuntu 20.04.
>
> While I was about to use the cache dir logic provided by the platform I
> ran into this problem.
>
> My cache dir is in
> ${HOME}/.${APPNAME}/var/cache
> and not as expected,
> ${HOME}/.cache/${APPNAME}
>
> The app.conf contains
> default_userdir="${DEFAULT_USERDIR_ROOT}/dev"
> default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
>
> Did some echoing in the bin/appname and DEFAULT_CACHEDIR_ROOT was set ok,
> but not picked up by the application.
>
> When specifying --cachedir it gets picked up by the application.
>
> I created a simple testapp and this problem is there too.
>
> So I guess the question is, Is this related to my doing or the platform?
>
> /Patrik
>
> ---------------------------------------------------------------------
> 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
>
>
>
>

Reply via email to