Can I change P4TICKET in P4Eclipse?

I recently installed Eclipse Juno, and after that I installed the p4Eclipse 4.2 plugin from this repository: http://www.perforce.com/downloads/http/p4-eclipse/install/4.2

Then I tried to create a new perforce connection. I entered the server name, username and password. But when you click on the following message, an error message appears:

com.perforce.p4java.exception.ConfigException: java.io.FileNotFoundException: \ p4tickets.txt (access denied)

Reading P4Eclipse Help I realized that since I did not define the user environment variable P4TICKETS, P4Eclipse tried to define it myself. The help system states that if the value is not specified explicitly, it will be defined for windows as% USERPROFILE% \ p4tickets.txt and for all other platforms like $ HOME / .p4tickets

It seems that P4Eclipse is configured for other platforms, and therefore it tried to find the file somewhere that was forbidden. When I defined the user variable P4TICKETS with the variable% USERPROFILE% \ p4tickets.txt, it worked. The problem is that we have many clients, and I do not want to define an environment variable for all of them. So I wonder if there is a set to configure the P4Eclipse platform for Windows or to define P4TICKETS inside eclipse and not an environment variable!

+5
1

, , P4TICKETS. P4HOST:

470897 ( № 042451)

    Support for P4HOST variable. To set P4HOST variable, 
    either set the environment variable P4HOST (For example,
    export P4HOST=123.456.789.0) or in the the preference page, 
    Preference>Team>Perforce>Advanced, set P4HOST properties,
    (For example, name: P4HOST value: 123.456.789.0). Then
    restart Eclipse to make it affect.

, 100% , .

0

All Articles