Using Perforce
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
Using Perforce
Hi,
I'd like create a UI using Revolution and then use the Perforce API to send Perforce commands to a Perforce Server.
Can this be done with Revolution?
Perforce offers Perl, Ruby and C++ API's, does Revolution offer some bridge to these languages?
Thanks in advance!
I'd like create a UI using Revolution and then use the Perforce API to send Perforce commands to a Perforce Server.
Can this be done with Revolution?
Perforce offers Perl, Ruby and C++ API's, does Revolution offer some bridge to these languages?
Thanks in advance!
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
-
- VIP Livecode Opensource Backer
- Posts: 149
- Joined: Thu Feb 23, 2006 8:49 pm
- Location: Bethel Park, Pittsbrugh, Pennsylvania USA
- Contact:
VBScript for perforce
You can also use vbscript from within Revolution to interact with Perforce.
You can use p4 change and p4 submit -i
Example VBScripts can be found here:
http://public.perforce.com/guest/robert ... 4com/main/
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html
You can use p4 change and p4 submit -i
Example VBScripts can be found here:
http://public.perforce.com/guest/robert ... 4com/main/
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
I am getthing closer...
Ok, I can see how I can send shell commands.
In Terminal, I do "p4 info" and I get
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to perforce failed.
perforce: host unknown.
Which is fine, this means the p4 command executed, but didn't have enough info to connect.
In Revolution, I do:
put shell ("p4 info")
and get: /bin/sh: line 1: p4: command not found
Any help?
In Terminal, I do "p4 info" and I get
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to perforce failed.
perforce: host unknown.
Which is fine, this means the p4 command executed, but didn't have enough info to connect.
In Revolution, I do:
put shell ("p4 info")
and get: /bin/sh: line 1: p4: command not found
Any help?
-
- Posts: 23
- Joined: Tue Nov 11, 2008 5:52 pm
- Contact:
The answer
You have type the path to the executable which is at usr/bin/p4
so
put shell ("usr/bin/p4 info") works like a champ.
Thanks for everyone's help.
so
put shell ("usr/bin/p4 info") works like a champ.
Thanks for everyone's help.