View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0023344 | Open CASCADE | OCCT:WOK | public | 2012-07-24 20:16 | 2012-09-05 17:54 |
| Reporter | Assigned To | bugmaster | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | VC++ 2010 | ||
| Summary | 0023344: Possibility to customize PRODUCT_PATH value outside generated custom.bat | ||||
| Description | Current version of WOK under Windows puts hard-coded path to thrid-party prerequisites into generated custom.bat, e.g.: set "PRODUCTS_PATH=D:/OCC/occt653products" Moreover, the same hard-coded path is repeated many times when setting CSF_OPT_* environment variables. This becomes inconvenient when it is necessary to move OCCT installation from one workstation to another or to distribute the pre-compiled OCCT installation with an application. Of course, generated custom.bat could be dropped in such a case, but it sets some variables used by env.bat, so why reproduce all this stuff in another script? A simple correction seems enough: if "%PRODUCTS_PATH%" == "" set "PRODUCTS_PATH=D:/OCC/occt653products" and %PRODUCTS_PATH% should appear instead of the hard-coded path when setting CSF_OPT_* environment variables. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
The environment variable PRODUCTS_PATH no more used directly in batch script. Instead it is used by TCL script 'wok_deps.tcl' to search 3rd-parties using pre-defined rules. Do you suggest to perform automatic replacement of all PRODUCTS_PATH (as real path, not variable) occurrences in CSF_OPT_INC, CSF_OPT_LIB*, CSF_OPT_BIN* to PRODUCTS_PATH (as environment variable) during custom.bat/custom.sh generation? |
|
|
Dear bugmaster, After explanations by kgv, I see no reason to change anything in custom.bat generation procedure. Thus please close the issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-07-24 20:16 |
|
New Issue | |
| 2012-07-24 20:16 |
|
Assigned To | => kgv |
| 2012-07-25 08:51 | kgv | Note Added: 0021141 | |
| 2012-07-25 08:51 | kgv | Assigned To | kgv => san |
| 2012-07-25 08:51 | kgv | Status | new => feedback |
| 2012-07-26 18:08 |
|
Status | feedback => assigned |
| 2012-07-26 18:09 |
|
Note Added: 0021166 | |
| 2012-07-26 18:09 |
|
Assigned To | san => bugmaster |
| 2012-07-26 18:09 |
|
Status | assigned => feedback |
| 2012-09-05 17:54 | bugmaster | Status | feedback => closed |
| 2012-09-05 17:54 | bugmaster | Resolution | open => no change required |