Home Download Buy Blog Forum Support

Help setting up a project

Help setting up a project

Postby ifni on Wed Jan 19, 2011 4:00 pm

Ho, I'm having some trouble setting up a project, and I'm not sure if what I'm trying to do is actually possible.

My project code is like this:
Code: Select all
<!-- Documentation is available at http://www.sublimetext.com/docs/projects -->
<project>
    <mount name="test" dir="foo" dirinclude="bar,ham\eggs" exclude="*.pyc" include="*.*"/>
                <options>
<![CDATA[
buildFile Packages/C++/Make.sublime-build
]]>
                </options>
</project>


I'm trying to use the directory foo as my mount point, and then include the subdirectories bar and ham giving a tree like foo\bar and foo\ham\eggs

Is this even possible?
ifni
 
Posts: 15
Joined: Thu Jan 21, 2010 11:40 am

Re: Help setting up a project

Postby jps on Thu Jan 20, 2011 9:08 pm

Elements in "dirinclude" are only matched against the leaf name of the directory, so putting path separators in there won't work as expected.

I think you'd have better luck just using two mount points, one for "bar", and one for "ham/eggs".
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 14 guests