Noob question here…
java -jar C:\dojo\dojo-1.4.3-src\util\shrinksafe\shrinksafe.jar $(FILE_NAME) > $(CURRENT_DIRECTORY)\$(NAME_PART).ss
The console is reporting js: Couldn't open file: ">"
The console is reporting js: Couldn't open file: "myFile.js"
The console reports the correct command (I've tried it in a command window), but it seems NPPExec is using the arguments itself.
How do I ensure these are passed to the shrinksafe jar/exe as parameters?
The stupid forum just ate my previous reply here, so I'm very angry now…
So, first of all, refer to NppExec Manual, sections 1.3 and 3.1 - and read them carefully! Then proceed to 4.4.
After that, you'll know to use "cmd /c " before each command that supposes to use some features of command interpreter such as redirection.
Finally, don't forget to enclose file paths and names in double-quotes since file paths and names can contain spaces.
Found that I can execute it using cmd.
cmd /c java -jar C:\dojo\dojo-1.4.3-src\util\shrinksafe\shrinksafe.jar $(FILE_NAME) > $(CURRENT_DIRECTORY)\$(NAME_PART).ss
Just seen your response when I replied.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.