!!Script // // Script: utilities // Purpose: acess to the persistent perforce ide settings // // (c) 2000 Software System Group, TU Harburg // Axel Wienberg, ax.wienberg@tu-harburg.de // // inspired by the CS-RCS binding by j robertson. function DoCommand() { alert("The utilities script only contains funtions\nthat are to be used by other Perforce scripts"); } function getP4Path() { //return the full name of the p4.exe executable var p4map = getMapFile("Perforce"); var p4path = p4map.lookup("P4Path", null); if (p4path == null) { p4path = chooseDirectory("Select Perforce installation directory"); if (p4path != null) { p4map.setValue("P4Path", p4path); } } // quote, just in case return p4path; } function getP4ExePath() { var p4path = getP4Path(); var p4exe = null; if (p4path != null) { p4exe = p4path + "\\p4"; } return "\""+p4exe+"\""; } !!/Script
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1014 | axel_wienberg |
copied perforte and sitepadp4 files from my homepage to the public depot. happy branching and improving :-) |