bright-gpu-74537
08/28/2022, 10:42 AMbright-gpu-74537
08/28/2022, 10:42 AMxml
<module>
<components>
<component file="assets/some-component.xml" />
</components>
</module>
bright-gpu-74537
08/28/2022, 10:42 AMxml
<hbox>
<button text="Button 1" />
<button text="Button 2" />
</hbox>
bright-gpu-74537
08/28/2022, 10:42 AMxml
<some-component />
icy-zebra-52882
08/28/2022, 10:57 AMtiletoolbar
in, gets me this error:
no class found for component: tiletoolbar
icy-zebra-52882
08/28/2022, 10:57 AMbright-gpu-74537
08/28/2022, 11:15 AMicy-zebra-52882
08/28/2022, 11:16 AMtiletoolbar
in is called mainView.xml
, with a corresponding class MainView
declared via code:
hx
@:build(haxe.ui.macros.ComponentMacros.build("assets/ui/editor/mainView.xml"))
class MainView extends VBox
{
public function new()
{
super();
}
}
icy-zebra-52882
08/28/2022, 11:16 AMno class found
onebright-gpu-74537
08/28/2022, 11:17 AMbright-gpu-74537
08/28/2022, 11:17 AMbright-gpu-74537
08/28/2022, 11:17 AMbright-gpu-74537
08/28/2022, 11:18 AMbright-gpu-74537
08/28/2022, 11:19 AMD:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ModuleMacros.hx:374: WARNING: Could not find path C:/Temp/haxeui-testapps/test01/assets/foo/bar/some-component.xml
D:\Work\HaxeUI\haxeui-core\haxe/ui/Toolkit.hx:54: characters 9-38 : Uncaught exception Could not read file C:/Temp/haxeui-testapps/test01/assets/foo/bar/some-component.xml
D:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ModuleMacros.hx:407: characters 19-51 : Called from here
D:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ModuleMacros.hx:333: characters 21-52 : Called from here
D:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ModuleMacros.hx:187: characters 9-34 : Called from here
D:\Work\HaxeUI\haxeui-core\haxe/ui/Toolkit.hx:54: characters 9-38 : Called from here
D:\Work\HaxeUI\haxeui-core\haxe/ui/Toolkit.hx:16: lines 16-201 : ... Defined in this class
src/MainView.hx:6: characters 1-8 : Warning : no class found for component: somecomponent
D:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ComponentMacros.hx:289: characters 70-83 : Unknown identifier : c5
D:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ComponentMacros.hx:289: characters 70-83 : ... For function argument 'child'
src/MainView.hx:7: lines 7-19 : ... Defined in this class
bright-gpu-74537
08/28/2022, 11:19 AMbright-gpu-74537
08/28/2022, 11:20 AMbright-gpu-74537
08/28/2022, 11:21 AMbright-gpu-74537
08/28/2022, 11:22 AM-D module_resolution_verbose
do you get something like this:bright-gpu-74537
08/28/2022, 11:22 AMscanning class path for modules
module found at 'D:/Work/HaxeUI/backends/haxeui-html5/haxe/ui/backend/module.xml'
module found at 'D:/Work/HaxeUI/haxeui-core/haxe/ui/module.xml'
module found at 'src/module.xml'
3 module(s) found
icy-zebra-52882
08/28/2022, 11:49 AMmatt@desktop-ubuntu:~/MEGAsync/code/flixel/HelloWorld$ lime build linux -D module_resolution_verbose
scanning class path for modules
module found at 'source/module.xml'
module found at '/home/matt/.local/share/haxe/lib/haxeui-core/git/haxe/ui/module.xml'
module found at '/home/matt/.local/share/haxe/lib/haxeui-flixel/git/haxe/ui/backend/module.xml'
3 module(s) found
bright-gpu-74537
08/28/2022, 11:56 AMicy-zebra-52882
08/28/2022, 11:56 AMicy-zebra-52882
08/28/2022, 11:58 AMmainView.xml
before the module has been parsed? but the output from verbose at least shows it's scanning the module paths first, so probably notbright-gpu-74537
08/28/2022, 11:59 AMicy-zebra-52882
08/28/2022, 11:59 AMbright-gpu-74537
08/28/2022, 11:59 AMicy-zebra-52882
08/28/2022, 12:01 PMProject.xml
and the lime website URL still doesn't workbright-gpu-74537
08/28/2022, 12:01 PMicy-zebra-52882
08/28/2022, 12:02 PMbright-gpu-74537
08/28/2022, 12:02 PM