Re: Best way to remove a component?
Re: Best way to remove a component?
- Subject: Re: Best way to remove a component?
- From: Paul D Yu <email@hidden>
- Date: Sat, 03 Dec 2011 22:57:35 -0500
Kevin
I was thinking about rename component when I replied previously. Refactor rename wocomponent will change both the .wo and the .java directory and files.
To restore the project to a previous state, I would say that you should be using git or svn, and you could just rollback. Other than that you would have to manually clean up the .java file of the component.
Paul
Sent from my iPad
On Dec 3, 2011, at 10:17 PM, Kevin Spake <email@hidden> wrote:
>
>
> On Dec 3, 2011, at 12:42 AM, Paul D Yu wrote:
>
>> Select the Component, right click.
>
> Yes, that brings up the "Delete" option, which deletes the component, ie the ".wo" file. However, the associated ".api" and ".java" files are not deleted. I was just wondering if there was feature that would do more of an "uninstall" of a component, and remove all the associated files. In a more general sense, there are times when a single command will result in multiple files being created and/or altered. Some convenient way of restoring a project to a previous condition would be handy.
>
>>
>> Sent from my iPad
>>
>> On Dec 3, 2011, at 12:16 AM, Kevin Spake <email@hidden> wrote:
>>
>>> I made an error when I created a new component, and I'd like to delete it. However, I've noticed that "Delete" in eclipse rarely does the trick. It will delete the chosen item,, but not the associated .java files, or code references to it, etc. Eclipse has a "history" feature, but apparently, that's for files only, and does not work on folders, or on the entire project.
>>>
>>> Any suggestions?
>>>
>>> Thanks. _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden