Describe the bug
New install to Netbeans 23, installed and downloaded the custom files but was then unable to execute them
To Reproduce
- Install from Github downloaded .nbm using Netbeans 23
Expected behavior
Able to perform minimisation
Environment (please complete the following information):
- OS: Debian Bookworm, up to date
- NetBeans version: 23
Reason and solution
When trying to minimise, Netbeans returned an error saying File not found
- Updated permissions to include +x (execute) on relevant scripts
Running the scripts directly then showed eg
bash: ./postcss: cannot execute: required file not found
A Google search indicated that this is an issue when bash script files have CRLF line endings instead of just CR
The solution is to run dos2unix on the three relevant scripts
dos2unix minifyxml
dos2unix google-closure-compiler
dos2unix postcss
Then able to minimise successfully.
Describe the bug
New install to Netbeans 23, installed and downloaded the custom files but was then unable to execute them
To Reproduce
Expected behavior
Able to perform minimisation
Environment (please complete the following information):
Reason and solution
When trying to minimise, Netbeans returned an error saying File not found
Running the scripts directly then showed eg
bash: ./postcss: cannot execute: required file not found
A Google search indicated that this is an issue when bash script files have CRLF line endings instead of just CR
The solution is to run dos2unix on the three relevant scripts
dos2unix minifyxml
dos2unix google-closure-compiler
dos2unix postcss
Then able to minimise successfully.