Error uploading Eclipse project
![](http://jazz.net/_images/myphoto/69da7dda723b12497ebbca1332087ea3.jpg)
Hi there,
I'm new to Jazz and RTC and am trying to add some Eclipse projects to source control. I am having problems with two of the projects as when I commence the upload I get the following error...
Error during upload
Failed to upload File /CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html
Error getting contents for /CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html : Resource '/CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html' does not exist.
...however the resource does exist on the disk!
What's confusing about this is i) two of my projects imported fine ii) my application builds and runs fine so I know Eclipse can see the files.
I'm really confused by this - anyone have any ideas?
Thanks,
Chris
I'm new to Jazz and RTC and am trying to add some Eclipse projects to source control. I am having problems with two of the projects as when I commence the upload I get the following error...
Error during upload
Failed to upload File /CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html
Error getting contents for /CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html : Resource '/CuramSDEJ/doc/api/curam/util/workflow/struct/WDOAttributeSnapshot.html' does not exist.
...however the resource does exist on the disk!
What's confusing about this is i) two of my projects imported fine ii) my application builds and runs fine so I know Eclipse can see the files.
I'm really confused by this - anyone have any ideas?
Thanks,
Chris
Accepted answer
![](http://jazz.net/_images/myphoto/69da7dda723b12497ebbca1332087ea3.jpg)
Ok, so I figured it out - the resources were being filtered.
Inside the .project file for each project there were filters which were preventing RTC from seeing what they needed to import.
Once I removed the filters everything was imported fine!
Cheers,
Chris
Inside the .project file for each project there were filters which were preventing RTC from seeing what they needed to import.
Once I removed the filters everything was imported fine!
Cheers,
Chris
5 other answers
![](http://jazz.net/_images/myphoto/69da7dda723b12497ebbca1332087ea3.jpg)
Yeah, I've tried refreshing and even restarted Eclipse but it's the same every time.
I've tried deleting the component and recreating but I get the same problems each time.
I don't see anything strange with the files it's trying to import either. They're not read only or secured by permissions or even of an odd format - it's all sorts of files from html, jss to jars that it says it can't read.
:-(
Chris
I've tried deleting the component and recreating but I get the same problems each time.
I don't see anything strange with the files it's trying to import either. They're not read only or secured by permissions or even of an odd format - it's all sorts of files from html, jss to jars that it says it can't read.
:-(
Chris
![](http://jazz.net/_images/myphoto/69da7dda723b12497ebbca1332087ea3.jpg)
For anyone else searching on Jazz.net and finding this post, I had a similar problem (same error message) but due to a different cause.
I had evidently loaded two separate components to the same root directory. Eclipse was detecting that there were new files available, but for some reason when it came time to check in those files, it wasn't finding them. It was like detection was using one component, but check-in was using another. It wasn't clear what was happening. I unloaded the component and reloaded it in a separate folder and that seemed to clear up the confusion.