Merge lp:~zorba-coders/zorba/bug1058231 into lp:zorba
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Chris Hillery | ||||
Proposed branch: | lp:~zorba-coders/zorba/bug1058231 | ||||
Merge into: | lp:zorba | ||||
Diff against target: |
497 lines (+88/-176) 7 files modified
bin/path_util.cpp (+0/-130) bin/path_util.h (+0/-45) include/zorba/config.h.cmake (+2/-0) src/compiler/expression/expr_clone.cpp (+1/-0) src/context/root_static_context.cpp (+82/-1) src/functions/func_schema_impl.cpp (+1/-0) test/rbkt/modules/java/CMakeLists.txt (+2/-0) |
||||
To merge this branch: | bzr merge lp:~zorba-coders/zorba/bug1058231 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Brantner | Needs Fixing | ||
Chris Hillery | Approve | ||
Rodolfo Ochoa | Pending | ||
Review via email: mp+129531@code.launchpad.net |
Commit message
The problem was in the path from the process, instead of using the path of zorba_simplesto
This problem is not only from WinXP.
Description of the change
The problem was in the path from the process, instead of using the path of zorba_simplesto
This problem is not only from WinXP.
Unmerged revisions
- 11103. By Chris Hillery
-
Merge from trunk.
- 11102. By Chris Hillery
-
Restoring http_resolution feature (lost in merge from trunk).
- 11101. By Rodolfo Ochoa
-
Moving simplestore.dll name to config.h
- 11100. By Rodolfo Ochoa
-
Moving tests to folder tests
- 11099. By Rodolfo Ochoa
-
Removing only Environment Variables from PathUtil Class
- 11098. By Rodolfo Ochoa
-
Merge from trunk
- 11097. By Rodolfo Ochoa
-
Removing path_util.cpp, not used anymore
- 11096. By Rodolfo Ochoa
-
Erasing debugging code
- 11095. By Rodolfo Ochoa
-
- Removing PathUtil from CMD
- Env Var seeking and setting is now optimized - 11094. By Rodolfo Ochoa
-
Changing the order of paths, env vars at the end
I'm assuming that the main fix here works. However I'm a bit confused why it matters whether we find the path to zorba.exe or zorba_simplesto re.dll, because as far as I know they should always be in the same directory. So to satisfy my curiosity, why is this change necessary?
I also would like to know the use case for the two new environment variables. It seems to me that if we need those, we should need them on all platforms, not just Windows. Also, ZORBA_URI_PATH and ZORBA_LIB_PATH *are* already used by zorba.exe to do basically the same thing, so why is it necessary to handle them in root_static_ context. cpp as well?