You need to sign in to do that
Don't have an account?
SFRich
Create Object using Eclipse
How can you add custom fields to a custom object using Eclipse?
I'm trying to create a new object and cut/paste some custom field definitions from another object into it. In Eclipse I created a new Custom object and got the stub XML file. I am pasting the <fields> section XML code into it and using the Force 'Save to Server'. I keep getting a 'do you want to refresh from server' message and when I say yes, I get the empty stub XML file back. I have tried it with just one field and it still is not working. Could it be a profile setting?
All Answers
Try refreshing your entire project--right-click on the "src" folder then choose Force.com > Refresh from Server. Then go back and make your changes to the object file and save it.
The IDE tries to prevent you from making conflicting edits to a component that has been edited on the server since you last downloaded it. Sometimes it gets overzealous, but refreshing the whole project usually gets things back in sync.
Also, what version of the IDE are you using?
Jon
salesforce.com Product Manager