WOLips Development prefs

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Sun Feb 01 2009 - 03:01:03 EST

  • Next message: Anjo Krank: "Re: WOLips Development prefs"

    Hi there (committers in particular),

    here's a mock up of a proposed enhancement to the project's wolips
    development prefs...
    Essentially org.objectstyle.wolips.variables.BuildProperties has
    additional methods:
            public String getProjectSourcesFolder() {
                    String projectSourcesFolder = get("projectSourcesFolder");
                    if (projectSourcesFolder == null || "".equals(projectSourcesFolder)) {
                            return "Sources";
                    }
                    return projectSourcesFolder;
            }
            
            public void setProjectSourcesFolder(String projectSourcesFolder) {
                    put("projectSourcesFolder", projectSourcesFolder);
            }
            <... etc ...>

    I'm not sure as yet how to tie this into the various wolips plugins
    involved in using/creating stuff in these dirs -- and would appreciate
    some pointers in that regard :) -- but just wanting to firstly sound
    out if such a change would be welcome.

    The motives for me in doing this is primarily to fix the problem where
    wolips won't create components java classes in the right dir (for
    maven projects). Likewise this would allow patternsets and so forth
    (when created) to have the right base folders. I'm thinking it would
    also be helpful to add these preferences to the workspace allowing
    each project to override them if desired.

    Thoughts? Tips...




    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Sun Feb 01 2009 - 03:02:40 EST