This.mappings dont work with cfimport

Hello,
we are trying to switch from coldfusion to lucee, but get the following issue when using a mapping with cfimport: “invalid definition of the attribute taglib [/test]”

Do application-mappings dont work in 5.3.3.62?
guess it should work since: https://luceeserver.atlassian.net/projects/LDEV/issues/LDEV-2051?filter=allissues&orderby=priority%20DESC&keyword=mapping%20cfimport is fixed.

Any idea?

Code:
Application.cfc

component{
	this.mappings["/test"] = "E:\xampp7\htdocs";
}

test.cfm

<cfdump var="#GetApplicationSettings()#"/>
<cfdump var="#expandPath("/test")#"/>

<cfimport prefix="test" taglib="/test" />

<test:cgi />

The expandPath work, the cfimport not.

Thank you,
David

as per https://luceeserver.atlassian.net/browse/LDEV-355 cfimport is applied at compile time, thus it doesn’t know about the Application.cfc mappings which is why this doesn’t work, try a relative path?

Thanks for the hint.
I could use a relative path, but it would be ugly “…/…/” and also different when switching directories.
A mapping can be always used the same and can be easy adjusted then chaning the directory.
Also it is a incompatibility with Adobe´s Coldfusion.

The current workaround is to add it as server-mapping…