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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev