Skip to main content
Mat D
Known Participant
March 20, 2014
Question

Perforce and .xpj files

  • March 20, 2014
  • 1 reply
  • 659 views

I've setup a couple of RoboHelp projects in Perforce using this guide: http://www.adobe.com/devnet/robohelp/articles/perforce-integration.html

Everything is working fine, aside from the .xpj file from RoboHelp (that contains the source control connection details) also syncs with the Perforce server, and if multiple users connect to the project, it does not save each user's details to the .xpj file.

Excluding the .xpj file from syncing with Perforce means that when you first pull the files down from Perforce, you cannot open the project (as there is no .xpj to open!). If you don't exclude it, you can open the project once with your Perforce login details, but next time you open the project in RoboHelp, it asks you to login with the users details that first added the project to Perforce.

Anyone any ideas? And i hope i explained that clearly enough

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
March 25, 2014

I don't really get the problem. What is the XPJ saving that is unique

for each user? Is RH saving the user in the XPJ for Perforce?

Kind regards,

Willam

Mat D
Mat DAuthor
Known Participant
March 25, 2014

It saves the user's ID in the Perforce connection details to the .xpj, so when another users opens the project it tries to login with the user ID and workspace name that last opened the project:

<matchedpair>

     <name>vc::database</name>

     <value>P4SCC#perforce.server.com:1666##USER ID HERE##PERFORCE WORKSPACE NAME HERE</value>

</matchedpair>

Willam van Weelden
Inspiring
April 1, 2014

Hmm. The only thing I can think of is to not check in the CPD, but I

don't know if that's a solution.

Kind regards,

Willam