Author Topic: vpj :: wild card in exclude filespecs not working in project file  (Read 1753 times)

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
in my project file i have such a file element:

Code: [Select]
<Files>
<F
N="/home/euser/Projects/tmp/delsoon/*.*"
Recurse="1"
Refilter="0"
Excludes="*.git/;_*/"/>
</Files>

i expect it includes everything except those .git dirs and and dir beings with _

outcome : FAIL to exclude dir begin with _

any work around/tips appreciated.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1246
  • Hero Points: 125
Re: vpj :: wild card in exclude filespecs not working in project file
« Reply #1 on: January 30, 2013, 02:40:30 pm »
Wildcard path exclusions are somewhat limited, and I can confirm that what you have does not work.  The wildcard substitution characters do not work as expected for path names.  Unfortunately, it is not easily hotfixable.  Only workaround at the moment is to add exclude each path by name in the exclude list (_path1/;_path2).

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
Re: vpj :: wild card in exclude filespecs not working in project file
« Reply #2 on: January 30, 2013, 03:19:25 pm »
thanks lee for the reply.

your suggestion for my situation is not feasible because i work with many subdirs "change can happen daily" and this is why i had to have my vpj files this way.

do you happen to know where it parses the excludes? maybe i can find time and try : ) thank again.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1246
  • Hero Points: 125
Re: vpj :: wild card in exclude filespecs not working in project file
« Reply #3 on: January 30, 2013, 03:31:50 pm »
It is buried deep in the binaries in the project and file listing.  I'll add it to my todo list and try to have a look at it for the next release.

*looks at todo list*
*looks at schedule*
*faints*


ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
Re: vpj :: wild card in exclude filespecs not working in project file
« Reply #4 on: January 30, 2013, 03:50:43 pm »
 :) take it easy lee ,,, take it as it comes  8)