You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Erik (Jira)" <ji...@apache.org> on 2020/12/29 09:55:00 UTC
[jira] [Updated] (NETBEANS-5192) Set source location as current
directory with JEP 330 Launch Single-File Source-Code Programs
[ https://issues.apache.org/jira/browse/NETBEANS-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik updated NETBEANS-5192:
---------------------------
Affects Version/s: 12.2
> Set source location as current directory with JEP 330 Launch Single-File Source-Code Programs
> ---------------------------------------------------------------------------------------------
>
> Key: NETBEANS-5192
> URL: https://issues.apache.org/jira/browse/NETBEANS-5192
> Project: NetBeans
> Issue Type: Wish
> Affects Versions: 12.2
> Reporter: Erik
> Priority: Minor
>
> Currently Single-File Source-Code programs are launched with my home folder as the current directory. I would prefer that the folder containing the .java file was used instead.
>
> Background:
> I mostly use Single-File Source-Code for Advent of Code with a structure of
> 2020/
> D01.java
> 1.in
> D02.java
> 2.in
> and it would be nice to be able to use paths relative to my source files, such as Files.readString(Paths.get("1.in")), instead of paths relative to my home folder, such as Files.readString(Paths.get("~/projects/aoc/2020/1.in"), or absolute paths.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists