NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Compare files


Joined: 22 May 2004
Posts: 76
Reply with quote
I am trying to get phped to pass my files to a file compare utility: When i run the utility I want to compare the current file with another one in a different project. Here is what my command line looks like in the integration editor:

"F:\Program Files\ExamDiff\ExamDiff.exe" @FName@ F:\webtools\TechPlat\apache\htdocs\filterpros\@RelFName@

The problem is I don't know how to get variable to translate into it's the relative folder/file. When the above files are passed to the ExamDiff.exe program, they pass with the complete @RelFName@ variable untranslated.

I hope I am making some sense here.

So how can I get a variable to translate when it is appending the end of a path?

Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
@RelFName@ works for Workspace Window popup and only for it. If you invoke your command from there, it will work.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 May 2004
Posts: 76
Reply with quote
dmitri wrote:
@RelFName@ works for Workspace Window popup and only for it. If you invoke your command from there, it will work.


Thanks alot. Works awesome!!!!
View user's profileFind all posts by jphilapySend private message


Joined: 22 May 2004
Posts: 76
Reply with quote
jphilapy wrote:
dmitri wrote:
@RelFName@ works for Workspace Window popup and only for it. If you invoke your command from there, it will work.


Thanks alot. Works awesome!!!!


Howdy,

Is there anyway I can configure this to compare a local file with a remote file?

Thanks,
Jeff
View user's profileFind all posts by jphilapySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
If under remote file you mean a file behind sftp or ftp, it depends on the file compare software. At least you can map remote file system as a networked disk and run winmerge (or whatever you use) as if both files were local.

BTW, if you need this functionality, I'd recommend to use source control system like SVN and compare local files against ones in the repository and keep remote files in-sync with repository using source-control export when needed.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Compare files
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic