This is a simple example of how to open a file for edit using P4Java with a numbered changelisty
Update the Perforce connection information in the code as well as the depot path.
javac -cp <path to p4java> SimpleTestApp.java
java -cp <path to p4java>:. SimpleTestApp #swap the ':' for a ';' on Windows
This is a simple example of how to open a file for edit using P4Java with a numbered changelisty # To Setup Update the Perforce connection information in the code as well as the depot path. # To Build javac -cp <path to p4java> SimpleTestApp.java # To Run java -cp <path to p4java>:. SimpleTestApp #swap the ':' for a ';' on Windows
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8890 | Matt Attaway | Add a self-contained p4java example of creating a changelist and opening a file for edit |