KMoody
Member
If I reference a static class within a program (example: "x:methodname();"), why would Progress reference the source code of a class (X.CLS) instead of its run-time code (X.R)?
Here's my situation:
I have the following PROPATH in my dev environment:
I store all of my source code (.cls, .p) in "src" directories and my run-time code (.r) in "APPS" directories.
I have two versions of a class called X.CLS . There's a revised version of X.CLS in C:\src\dev and an old version of X.CLS in C:\src\live. However, I have only compiled the old version of X.CLS into P:\APPS\live as X.R.
In other words, the contents of the folders look like this:
When I start up Progress using the PROPATH above, the program references the version of X.CLS in C:\src\dev instead of its run-time code X.R in P:\APPS\live.
It seems to do this because X.CLS is in the first directory in the PROPATH. However, Progress doesn't do that with .p source files unless they're explicitly called in the code (example: "run program.p").
Here's my situation:
I have the following PROPATH in my dev environment:
Code:
PROPATH=.,P:\APPS\dev,C:\src\dev,P:\APPS\live,C:\src\live
I store all of my source code (.cls, .p) in "src" directories and my run-time code (.r) in "APPS" directories.
I have two versions of a class called X.CLS . There's a revised version of X.CLS in C:\src\dev and an old version of X.CLS in C:\src\live. However, I have only compiled the old version of X.CLS into P:\APPS\live as X.R.
In other words, the contents of the folders look like this:
- P:\APPS\dev
- (Empty)
- C:\src\dev
- X.CLS (Version 2)
- P:\APPS\live
- X.R (Version 1)
- C:\src\live
- X.CLS (Version 1)
When I start up Progress using the PROPATH above, the program references the version of X.CLS in C:\src\dev instead of its run-time code X.R in P:\APPS\live.
It seems to do this because X.CLS is in the first directory in the PROPATH. However, Progress doesn't do that with .p source files unless they're explicitly called in the code (example: "run program.p").