Re: [OS-JIRA] Created: (WOL-745) Renaming Wocomponent in WOLips does not rename underlying html, woo and wod file

From: Lars Sonchocky-Helldorf (lars.sonchocky-helldor..amburg.de)
Date: Sun Mar 09 2008 - 08:05:53 EDT

  • Next message: Miguel Arroz: "Re: Anybody seen this?"

    Am 09.03.2008 um 03:49 schrieb David LeBer:

    > On 8-Mar-08, at 9:42 PM, Brendan Duddridge wrote:
    >
    >> I'm pretty sure that it does rename the .html and woo and wod
    >> files. You just have to select your .java file and rename that. It
    >> should bring up a panel telling exactly what it's going to do. You
    >> should see that it shows all the associated files that will be
    >> renamed. I've used it before and it works great. Although I
    >> haven't used it in one of the newer builds, I see no reason why it
    >> would not work anymore.
    >
    > I've had component re-factoring fail on me when the project was
    > shared with Subclipse.
    >
    > Just anecdotal, I know. But might be something.

    renaming kind of works only when you use the .java file for renaming.

    What doesn't work is:

    - renaming the component file (.html, .woo and .wod files wont be
    renamed)
    - if you've shared your project the .svn folder insider your
    component won't be updated accordingly
    - copying: If you copy/paste a component after pasting,
    the .html, .woo and .wod files wont be renamed, you must delete
    the .svn folder inside that pasted component (otherwise you'll screw
    your SVN)
    - copying: you must copy/paste your .java file yourself (it is not
    copy/pasted together with the component)

    >
    > ;david
    >
    > --
    > David LeBer
    > Codeferous Software
    > 'co-def-er-ous' adj. Literally 'code-bearing'
    > site: http://codeferous.com
    > blog: http://davidleber.net
    > profile: http://www.linkedin.com/in/davidleber
    > --
    > Toronto Area Cocoa / WebObjects developers group:
    > http://tacow.org
    >
    >
    >> On Mar 8, 2008, at 3:17 PM, Johan Henselmans (JIRA) wrote:
    >>
    >>> Renaming Wocomponent in WOLips does not rename underlying html,
    >>> woo and wod file
    >>> --------------------------------------------------------------------
    >>> ------------
    >>>
    >>> Key: WOL-745
    >>> URL: http://issues.objectstyle.org/jira/browse/
    >>> WOL-745
    >>> Project: WOProject/WOLips
    >>> Issue Type: Bug
    >>> Components: wolips
    >>> Affects Versions: WOLips 3.3.2.* (nightly build please specify)
    >>> Environment: OS X 10.5.2, WOLips 4965
    >>> Reporter: Johan Henselmans
    >>>
    >>>
    >>> Renaming Wocomponent in WOLips does not rename underlying html,
    >>> woo and wod file:
    >>> If you use refactor-> rename from the contextual menu, the bundle
    >>> is renamed, but not the html, woo and wod file which are
    >>> included. The first time I did that I wondered why the component
    >>> did not open. I understood when I looked at it in the Finder.
    >>> Renaming the files manually restored the possibilty to edit the
    >>> component in WOLips, but I think there should be a warning, or a
    >>> complete rename.
    >>>
    >>> --
    >>> This message is automatically generated by JIRA.
    >>> -
    >>> If you think it was sent incorrectly contact one of the
    >>> administrators: http://issues.objectstyle.org/jira/secure/
    >>> Administrators.jspa
    >>> -
    >>> For more information on JIRA, see: http://www.atlassian.com/
    >>> software/jira
    >



    This archive was generated by hypermail 2.0.0 : Sun Mar 09 2008 - 08:06:58 EDT