Include Files with Relative Path

Got a problem you cannot solve? Try here.
Post Reply
mikedoerfler
Posts: 3
Joined: Fri Sep 11, 2009 4:24 pm

Include Files with Relative Path

Post by mikedoerfler »

When I'm trying to build I'm getting the following error and don't know why:

Error during build: No files matching pattern "..\\..\\..\\database\\build\\dev\\package\\*"

I know the "..\\..\\..\\" is correct because if I'm in the same directory as the mpr file and open a command window there. The cd "..\\..\\..\\database\\build" takes me to that directory

If I'm trying to use relative paths in the "Include File" where do I consider the current working directory to be? The mpr file, the output directory, or ?

Thanks!

[/list]
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Check the path that the application (miabuild or the InstallAware GUI) is being executed in ... sounds like something is being set wrong ...
Andy Neillans
mikedoerfler
Posts: 3
Joined: Fri Sep 11, 2009 4:24 pm

Post by mikedoerfler »

neillans wrote:Check the path that the application (miabuild or the InstallAware GUI) is being executed in ... sounds like something is being set wrong ...
Does that mean that paths have to be relative to the IA install location?

I found the compiler variable #PROJDIR# and that seems to work with "..\\..\" in the paths to allow me to do relative paths - so I'm using that solution. But I am still curious about using relative paths now.
Post Reply