9 years agorhummer commented on job000281 for This looks to be resolved with the 2016.1 release. | ||
1 comment | ||
9 years agorhummer commented on job000286 for This appears to be fixed with the 2016.1 release of p4api.net | ||
9 years agorhummer committed change 18508 into rhummer-p4nodeapi:main "Forking branch Main of matt-attaway-p4nodeapi to rhummer-p4nodeapi." | ||
10 years agorhummer created job000286 for perforce-software-p4api-net: Issues with GetConfig. We are seeing various issues when either trying to use Connection.GetP4EnvironmentVar, or when P4Server attempts to call P4Ser...ver.GetConfig() when a cwd is specified when connecting to the server. I am either seeing a NullPtr exception, or an AccessViolation exception. The null ptr exception looks like this: at Perforce.P4.Connection.Connect(Options options) in c:\tmp\49030141\P4.NET\r14.2\p4api.net\p4api.net\Connection.cs:line 393 My example is pretty simple: repo = new Perforce.P4.Repository(new Perforce.P4.Server(new Perforce.P4.ServerAddress(string.Empty))); var options = new Perforce.P4.Options(); options.Add("ProgramName", "P4Test"); options.Add("cwd", System.Environment.CurrentDirectory); if (repo.Connection.Connect(options)) { var config = repo.Connection.GetP4EnvironmentVar("P4CONFIG"); Console.WriteLine("P4CONFIG={0}", config); } This is using the 64bit zip of the compiled libraries, of the latest release 2014.2. I am also seeing it from locally compiled source, but verified I am seeing it with the prebuilt libraries provided. « | ||
10 years agorhummer created job000281 for perforce-software-p4api-net: Remove Server Requirement from P4MapApi. We use the P4MapAPI as a method to map a source directory to a dest directory and don't need to connect to P...erforce. The P4DN/P4Com implemention does not require a server connection. The P4MapApi in P4API.Net should work the same. All the class uses the server for is to marshal a string as ascii or unicode based on the server. So that should either be configurable if no server is passed in, or default to ascii or unicode. Locally we have modified the api to default to ascii, since we deal with file paths that do not contain unicode. « | ||
10 years agorhummer created job000237 for perforce-software-p4api-net: Not setting ProgramVersion can override what ProgramName is set to. If you do not specify a ProgramVersion when creating the connection, the api will... override the ProgramName with what is found when querying the version information. This may not be desired by everyone. As we may not want the name of the app from GetFileVersionInfo to be shown as the app name in p4 monitor. « | ||
11 years agorhummer commented on change 9793 for p4-jenkins:dev Yeah, there are no arguments except the file spec: files //clientspec/...@label | ||
11 years agorhummer commented on change 9793 for p4-jenkins:dev This wouldn't have any affect on the pluging running a 'files' command would it? Testing it out and it's been running the 'files' command for over 4 ...This wouldn't have any affect on the pluging running a 'files' command would it? Testing it out and it's been running the 'files' command for over 4 hours. « | ||
Adjust when notifications are sent to you about reviews that you're associated with (as an author, reviewer, project member or moderator).