how to retrieve all folder and their files from Perforce using P4javap4java java perforce folders files
Posted 24 February 2015 - 08:34 PM
I'm newbie in this forum hope that i find knowledge it seems that there are a lot of experts....
I'm assigned to a new task that demand a development of an assistant that connect to perforce and retrieve all folders and their appropriate files but the problem is that the P4JAVA API is a little bit difficult to understand
i just made a connection and don't know what to do after
please guys some advice.
and a final request can anyone of you make to us a some videos or a training session (I'll pay for that) I'm really interested
cuz this task will boost my careers.
Posted 24 February 2015 - 09:18 PM
Sorry to hear that you are having difficulty with the P4Java API. Is there a particular type of training that you would like? For example, is it mostly P4Java training?
As reference, you may have already seen these, but here are our existing public training videos:
When you mention "connect to perforce and retrieve all folders and their appropriate files" do you mean you are trying to do a 'p4 sync' on certain files? There is an actual 'p4 sync' files example in the Common Usage Patterns for P4Java article listed below.
Also, the Perforce Workshop and our Knowledge Base has articles and examples of P4Java.
- Perforce Workshop
- Get Shelved Files with P4Java
- Common Usage Patterns for P4Java (‘p4 sync’ example)
- P4Java IServer Properties and Usage Options
- Creating pending changelists with P4API.NET
Posted 25 February 2015 - 12:41 AM
When you say to retrieve all folders and their appropriate files do you mean syncing files from a repository? If so you should look up how to run the p4 sync command from the P4JAVA API.
The links sent by P4Shimada are very relevant but if syncing files is what you are after here are a few examples.
Definitely read the API Tutorial to get a good grounding otherwise you will find yourself in a pickle when things get more complex.
Posted 25 February 2015 - 08:55 AM
Also tagged with one or more of these keywords: p4java, java, perforce, folders, files
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users