While comiling java for RTC, many classes like "com.ibm.team.links.common.IReference" are missing, where are they?
![](http://jazz.net/_images/myphoto/0e63dc43e2c3484cbfcc6ef49c7c5e00.jpg)
Hello,
I'm using RTC 6.0.2
I would like to download / upload Work Items attachments based on the information found there:
https://rsjazz.wordpress.com/2012/09/21/downloading-attachments-from-work-items/
https://rsjazz.wordpress.com/2012/08/01/uploading-attachments-to-work-items/
I started with the download side and try to compile the
WorkItemDownloadAttachment.java with javac.
There are many "import class" which I don't have.
I did not see them in the RTC-SDK, nor in the Eclipse RTC environment. May I didn't look weel.
The necessary classes are:
import com.ibm.team.links.common.IReference;
import com.ibm.team.process.client.IProcessClientService;
import com.ibm.team.process.common.IProjectArea;
import com.ibm.team.repository.client.ITeamRepository;
import com.ibm.team.repository.client.ITeamRepository.ILoginHandler;
import com.ibm.team.repository.client.ITeamRepository.ILoginHandler.ILoginInfo;
import com.ibm.team.repository.client.TeamPlatform;
import com.ibm.team.repository.common.TeamRepositoryException;
import com.ibm.team.workitem.client.IAuditableClient;
import com.ibm.team.workitem.client.IWorkItemClient;
import com.ibm.team.workitem.common.IWorkItemCommon;
import com.ibm.team.workitem.common.model.IAttachment;
import com.ibm.team.workitem.common.model.IAttachmentHandle;
import com.ibm.team.workitem.common.model.IWorkItem;
import com.ibm.team.workitem.common.model.IWorkItemReferences;
import com.ibm.team.workitem.common.model.WorkItemEndPoints;
2 answers
![](http://jazz.net/_images/myphoto/0e63dc43e2c3484cbfcc6ef49c7c5e00.jpg)
Comments
![](http://jazz.net/_images/myphoto/0e63dc43e2c3484cbfcc6ef49c7c5e00.jpg)
Thank you to Ralph,
I'll check tomorrow and follow step by steps the suggestions.
Regards
Pascal Jean
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
If you use the code in Eclipse the minimum is https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
![](http://jazz.net/_images/myphoto/0e63dc43e2c3484cbfcc6ef49c7c5e00.jpg)
Hello Ralph,
I have a doubt about the coding from
Thank you in advance
Pascal Jean
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
Almost all my blog posts explain if the API is client, common (client and server) or server. This includes the post above. Please carefully read the post.
![](http://jazz.net/_images/myphoto/0e63dc43e2c3484cbfcc6ef49c7c5e00.jpg)
Hi,