No, the absolute path is here for freewrap use only.

Freewrap wraps using absolute filenames inside a virtual file system.

Note that if freewrap is not used, the path is relative to the current
project directory using [info script].

The CVS is the source control system used to store the project source code.
See the CVS page under the vTcl page on sourceforge for background on this.

CG



|---------+------------------------------------->
|         |           Marcio Antonio Mathias    |
|         |           <[EMAIL PROTECTED]>|
|         |           Sent by:                  |
|         |           [EMAIL PROTECTED]|
|         |           ceforge.net               |
|         |                                     |
|         |                                     |
|         |           05/29/2003 09:44 AM       |
|         |                                     |
|---------+------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                                  
                            |
  |       cc:                                                                          
                                          |
  |       Subject:  Re: [vtcl-user] Absolute path versus relative path                 
                                          |
  |                                                                                    
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




Hi,
I am using VTcl 1.6a2, under Win2000. I checked at
project->preferences and I did not find any option
about "path mode" or similar;
By "object" I was meaning just file names.

A piece of code is presented as follows:

# VTCL GENERATED GUI PROCEDURES
#
if [info exists _freewrap_progsrc] {
    source
"C:/vtcl-1.6.0a2/Projects/meu2/Integracao_/f..tcl"
} else {
    source "[file join [file dirname [info script] ]
Integracao_ f..tcl]"
}
if [info exists _freewrap_progsrc] {
    source
"C:/vtcl-1.6.0a2/Projects/meu2/Integracao_/f.top65.tcl"
} else {
    source "[file join [file dirname [info script] ]
Integracao_ f.top65.tcl]"
}
...If I distribute it or mode to another directory the
tcl script is not able to run any more...
I am replacing manually the linees with contain
absolute path by realative path:


"... # VTCL GENERATED GUI PROCEDURES
#
if [info exists _freewrap_progsrc] {
    source "../Integracao_/f..tcl"
} else {
    source "[file join [file dirname [info script] ]
Integracao_ f..tcl]"
..."

and then I can redistribute it or move from the
directory project.

By the way, by sf.net cvs you mean "sourceforge"?

Thanks,

Marcio.



--- "Larry W. Virden" <[EMAIL PROTECTED]> wrote:
> From: Marcio Antonio Mathias
> <[EMAIL PROTECTED]>
>
> > In many projects build using VTcl parts of the
> > generated code use absolute path format to point
> for
> > an object, instead of using a relative path
> format. Is
> > there a way to change it?
>
> Check out the code from the sf.net cvs, modify the
> code to
> use the relative path format , test, generate patch
> files
> from the changes, and submit them as a bug or
> feature request
> patch file on the sf.net project.
>
>
> When you say "object ... relative path format" what
> do you mean, exactly?
>
> I'm presuming that by "absolute path ... for an
> object" you mean names like
>
> ::widgets::.top35
> --
> Tcl - The glue of a new generation.  <URL:
> http://wiki.tcl.tk/ >
> Larry W. Virden <mailto:[EMAIL PROTECTED]> <URL:
> http://www.purl.org/NET/lvirden/>
> Even if explicitly stated to the contrary, nothing
> in this posting should
> be construed as representing my employer's opinions.
> -><-
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/vtcl-user


=====
Marcio Antonio Mathias <[EMAIL PROTECTED]>
Registered Linux user number 248543
Get counted: http://counter.li.org/

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user





-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to