[resolved] integration macro and RelPath |
|
in the external application integration settings (tools>>settings>>integration), %RelPath% doesnt return a value.
any ideas? |
||||||||||||
|
Site Admin
|
Macro are replaced with actual values when they are used in the command line. They do never update anythign including environment, only the command line.
For example if you add %RELPATH% to the command line it will be replaced with correct relative path when this command is invoked. BTW RELPATH makes sense only for the Workspace popup menu. In other words: it works only when the command is executed from this popup. |
||||||||||||
_________________ The PHP IDE team |
|
thats a big 10-4 on the input... thanx.
however, i am using the command line instantiation of the macro. what i have done is replaced the cvs executable setting to use my batch file and created my own commands for the popup. executing the batch and utilizing the macros is not the problem. lets say i pass this command... put @Path@ @Name@ stm @RelPath@ to this script... REM $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ REM ***set evironment variables for script use*** REM ********************************************* SET CICOMODE=%1 SET CICOPATH=%2 SET CICOFILE=%3 SET CICONAME=%4 SET CICORELP=%5 SET CICOFTP=secretmywebserver SET CICOUSER=secretusername SET CICOPASS=secretpassword SET CICOLOCAL=y:\mydirectory SET CICOREMOTE=mydirectory ... ... ... :DONE EXIT args 1 thru 4 contain valid values, but arg 5 does not. when echoed, %CICORELP% displays "%RelPath%" (without quotes) as the value; implying that phped is not assigning a value to the macro. |
||||||||||||
|
Site Admin
|
thanks, we'll fix this in v5.2 build 5234.
|
||||||||||||
_________________ The PHP IDE team |
|
sweeeeeeeeeet.
|
||||||||||||
|
Veteran
|
Why %RealPath% does not make sense in File Bar Popup? If I want to encode only the file I have just edited, it is much easier to do so through the file tab than to open workspace and find the file there. |
||||||||||||||
|
Site Admin
|
and you'll be able to do this easily with next major version of PhpED. |
||||||||||||||
_________________ The PHP IDE team |
Veteran
|
Great!
Please, insert a configuration option to force the encoder to set the modification timestamp of the encoded file the same as the source's. Simple thing that would let us control the modification parity encoded x source. |
||||||||||||
|
[resolved] integration macro and RelPath |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by