Closed swick7 closed 11 years ago
What is your project base folder? Have you tried create 2 projects? (It will add 2 .project files)
This feature will be available on next version(0.4).
My project base folder is C:\TFS\MyProject\Branches\1.2.0.
When I run node.exe from the working folder, C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets, it reads and writes to files in the parent folder, C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer.
Thanks!
Version 0.4 has been released.
Great job integrating NodeJS into eclipse! The look and feel is seamless.
Would it be possible for you to add a “Working Directory” option to the Run Configuration dialog for Node Applications?
Here’s my situation:
I’m using NodeJS to optimize the javascript for our website with RequireJS.
I have: C:\users\swick4\programs\node\node.exe C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets\scripts\libs\r.js C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets\app.build.js
For this to work, node.exe has to be run from the folder C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets
From DOS I have to execute the command: C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets> C:\users\swick4\programs\node\node.exe scripts\libs\r.js -o app.build.js
Right now there is no way to tell the Run Configuration for a Node Application to execute node.exe from a specific working directory.