I need to find out what is the last revision Synced to my workspace but using the P4JAVA API, Any help??
According to the documentation for FileSpecBuilder
you can include a rev specifier with the path, so if you change this:
makeFileSpecList("//depotname/path/...")
to this:
makeFileSpecList("@workspace")
it seems like that ought to do the trick.