I installed http://hydra.nixos.org/build/822918 ; running webdsl then fails


$ which webdsl
/Users/eelcovisser/.nix-profile/bin/webdsl
$ webdsl build
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1087)

Submitted by Eelco Visser on 24 December 2010 at 11:50

On 24 December 2010 at 11:50 Eelco Visser tagged @dannygroenewegen

On 24 December 2010 at 11:50 Eelco Visser tagged @ikwildrpepper

On 24 December 2010 at 12:10 Danny Groenewegen commented:

Looks like a more general issue, is your shell in a directory that was deleted? Can you run pwd?


On 24 December 2010 at 12:15 Eelco Visser commented:


$ pwd
/opt/tomcat/webapps/dslbook


On 24 December 2010 at 12:22 Lennart Kats commented:

Yes, this issue happens if you try to run a shell script from a non-existent directory. So what do you get for:


ls -d pwd


On 24 December 2010 at 12:29 Eelco Visser commented:


$ ls -d pwd
/opt/tomcat/webapps/dslbook/

Aha, this is not a directory that contains a webdsl source project. If I try it in a HOME/tmp I get a better response. The webdsl script should never show such errors, but explain if there is a problem.


On 24 December 2010 at 17:27 Danny Groenewegen commented:

webdsl build reports a missing application.ini file when run in an empty directory:

Cannot find application.ini. This file is necessary to build the application for you. Want to create an application.ini now? [y/n]: [n]

On 22 March 2013 at 13:45 removed tag error

On 22 March 2013 at 13:45 removed tag @dannygroenewegen

On 22 March 2013 at 13:45 removed tag @ikwildrpepper

Log in to post comments