This is a simple example of how to capture submit errors. This will attempt to submit a file that doesn't exist, returning a "No files to submit" error
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 capture submit errors. This will attempt to submit a file that doesn't exist, returning a "No files to submit" error # 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 | 10480 | Matt Attaway | A dumb little test app seeded from the edit example to show how to capture submit failures |