[kepler-dev] [Bug 5669] New: replace ProjectLocator.findKeplerModulesDir() with something more robust.

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Aug 9 12:38:31 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5669

             Bug #: 5669
           Summary: replace ProjectLocator.findKeplerModulesDir() with
                    something more robust.
    Classification: Unclassified
           Product: Kepler
           Version: trunk
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build system
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org


This method is problematic. Bug#5458 also mentions it.

    /**
     * 
     * FIXME replace this with something(s) more robust. Be careful when doing
so, some things probably always want 
     * KeplerData/kepler.modules, others always the other "application modules
dir", others one or the other depending on 
     * what exists.
     * 
     * On linux(at least) during ant run, MemoryProperties invokes this, and
the search begins based on the location of ant.jar
     * i.e. /usr/share/ant/lib/ant.jar/build-area/modules.txt can be the first
attempt.
     * 
     * find the project dir
     * WARNING this can return either the application modules dir, 
     * or KeplerData/kepler.modules, or a false positive (e.g. some arbitrary
parent dir that happens to contain build-area/modules.txt), 
     * or the system-dependent default directory (in the catch).
     * @return
     */
    private static KeplerModulesDir findKeplerModulesDir()

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list