Author Topic: Working directory ignored  (Read 391 times)

dunkers

  • Senior Community Member
  • Posts: 603
  • Hero Points: 27
Working directory ignored
« on: March 13, 2018, 10:24:27 am »
My slickedit project directory is away from the working directory - I don't want to pollute the code, which is shared with others, with local dependancies. The setup is like this:

~\project
~\project\code
~\project\code\doxygen
~\project\slick

Slicked project goes in slick, working directory is in code. In SE I set up a tool (to build/view doxygen output) and set the execution directory to "\%rw\doxygen", i.e. the doxygen folder below the working directory. The tool is actually run from the slick folder instead, i.e. the project directory.

Graeme

  • Senior Community Member
  • Posts: 2233
  • Hero Points: 278
Re: Working directory ignored
« Reply #1 on: March 13, 2018, 12:29:07 pm »
I can't reproduce the problem.  What version of slickedit are you using and what OS.  Can you share exactly what you have entered for "working directory" on the directories tab of the project properties dialog?  If you have an invalid path for working directory, the command will run from whatever the current directory is at the time.

dunkers

  • Senior Community Member
  • Posts: 603
  • Hero Points: 27
Re: Working directory ignored
« Reply #2 on: March 13, 2018, 12:49:51 pm »
Thank for the encouragement to look more closely. It was, as you suspected, user error in specifying the path - the build path was correct but the base working directory was off by one and invalid.

For clarity, the project is at (I can't use the real names, sorry):
d:\client\projects\projectA\codes

SE is at:
d:\client\projects\slick

doxygen is at:
d:\client\projects\projectA\doxygen

I had build path: %rw\..\doxygen
project directory: ..\projects\projectA\code
Should have been: ..\projectA\code

Sorry to waste your time!

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2220
  • Hero Points: 118
Re: Working directory ignored
« Reply #3 on: March 13, 2018, 02:05:44 pm »
Sorry to waste your time!

We're a community of friends here ;)