Author Message
HanumanthGK
Joined: Nov 19, 2013
Messages: 46
Offline
Hi,
I am trying to compile code developed in OD 6 on OD 7.But as soon as I import I am seeing Iproject variables errors. For example if variable is created as test_var in OD 6 , after importing the project in OD 7 variable it gets changed to test__var in Iprojectvariables.java

But all variables references in java are giving error and after adding extra under score it starts working.
I have some 700 error due to this


Can you please help with this?

RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
This is well documented in this forum the bottom line is that a change was made which resulted in __ for some variables in the IProjectVariables... So you need to update custom code referencing those names. Should be a simple change.
HanumanthGK
Joined: Nov 19, 2013
Messages: 46
Offline
Thanks Ross.

Can I edit the variable to single underscore in IProjectVariables.java itself? Or do I have to change all custom references to double underscore?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
The later. OD regenerates the IProjectVariables file, so any manual changes to it will get overwritten.
Go to:   
Mobile view