Hello Viktor

This is the changelog entry:

  * contrib/hbide/idemisc.prg
    + hbide_PathProc()
      This function can combine relative paths together so it's
      the key to avoid macros dealing with placing paths to their
      intended location. It can replace current method of
      <IdeSrc> = hb_dirBase(). F.e.:
          hbide_PathProc( "src/mysource_in_project.prg", "projects_dir/" )
->
                  "projects_dir/src/mysource_in_project.prg"
          hbide_PathProc( "projects/myproject.hbi", hb_dirBase() ) ->
                  "C:/harbour/contrib/hbide/projects/myproject.hbi"
      Please use it.

And I was experimenting with it. But I could not got the desired results.

This is what I tried:
                             filename_to_be_stored              
project_location
      hbide_pathProc( "C:\dev_sources\vouch\abc.prg",
"C:\harbour\contrib\hbide\projects\hbide.hbi" )
and received:
      C:\dev_sources\vouch\abc.prg
whereas I was expecting something like:
      ../../../../dev_sources/vouch/abc.prg
this way only I can retain the relative paths in .hbi which will be
transferable to 
any system and drive. Drive letter or root path is assumed the same.

Or I am making a mistake ?





-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/hbide-pathProc-Merging-Paths-Clarification-tp4505657p4505657.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to