举个例子,我可以在CORE_DIR = "<please change it with your relative path to the core component>文件中定义pro。然后,用户John可以在它自己的自定义文件(环境)中将它更改为CORE_DIR = "../../../../john's fancy core"。(这个定制的文件很小并且清晰,不会被添加到版本控制系统中)。那么,我如何使一个项目适应用户的环境(具有上述行为)?
我有以下代码: local overrideNode = xml.first(rootFromOverrideXML,"nodes/node[@identifier='"..nodeIdentifier.."']") if (elementRef) then overrideRefNode = xml.first(rootFromOverrideXML,"nodes/node[@identifier='"..elementRef.."']")