Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Relative path error
Wed, Apr 25 2012 12:09 PMPermanent Link

Leslie

Tim,

In the project settings the IDE  adds  some extra '..\'  to the beginning of the paths. To reproduce add a fixed path and you will see how it is converted to relative path. Or supply a relaitve path which does not exist and it will create the directory much deeper in the directory structure then it should.

Cheers,
Leslie
Wed, Apr 25 2012 2:53 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Leslie,

<< In the project settings the IDE  adds  some extra '..\'  to the beginning
of the paths. To reproduce add a fixed path and you will see how it is
converted to relative path. Or supply a relaitve path which does not exist
and it will create the directory much deeper in the directory structure then
it should. >>

The project paths *are* relative paths:

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=Project_Options

under "Compilation".

--
Tim Young
Elevate Software
www.elevatesoft.com
Wed, Apr 25 2012 3:20 PMPermanent Link

Leslie

Tim,

<<The project paths *are* relative paths>>

Yes I know. But the IDE does not  work with the path the user enters, even if it is a valid realitve path. The actual path it uses has some unnecessery '..\'  added at the beginning so the IDE never finds the directory. You can find two ways in the first post how to reproduce the problem.

Cheers,
Leslie
Fri, Apr 27 2012 10:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Leslie,

<< Yes I know. But the IDE does not  work with the path the user enters,
even if it is a valid realitve path. The actual path it uses has some
unnecessery '..\'  added at the beginning so the IDE never finds the
directory. You can find two ways in the first post how to reproduce the
problem.  >>

I'll check it out, but the IDE has to "figure out" the relative path based
upon the existing output path specification, so if you are specifying a path
that doesn't exist, then the IDE may come up with the wrong "answer" to what
the relative path should be.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image