https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    05/10/2023, 9:52 PM
    Copy code
    --library haxeui-core
    --library haxeui-html5
    -cp test
    --main Main
    --js bin/test/main.js
  • b

    bright-gpu-74537

    05/10/2023, 9:53 PM
    which also means you cant use your Nodes.hx fyi
  • h

    happy-agent-4114

    05/10/2023, 9:53 PM
    how can I make it a library
  • h

    happy-agent-4114

    05/10/2023, 9:53 PM
    I didn't really look into this
  • h

    happy-agent-4114

    05/10/2023, 9:53 PM
    that part is working, somehow
  • b

    bright-gpu-74537

    05/10/2023, 9:54 PM
    ah, ok, because haxeui might be importing them since they are listed in the components section
  • b

    bright-gpu-74537

    05/10/2023, 9:54 PM
    no, hang on
  • h

    happy-agent-4114

    05/10/2023, 9:54 PM
    I think it was because I don't actually use them in xml
  • h

    happy-agent-4114

    05/10/2023, 9:54 PM
    I only create them with haxe
  • b

    bright-gpu-74537

    05/10/2023, 9:54 PM
    it couldnt find the module
  • b

    bright-gpu-74537

    05/10/2023, 9:55 PM
    i actually have no idea how you could have used the Nodes.hx tbh... doesnt make any sense to me
  • h

    happy-agent-4114

    05/10/2023, 9:56 PM
    ...I'll work on this tomorrow
  • h

    happy-agent-4114

    05/10/2023, 9:56 PM
    I've been at it for 8 hours
  • h

    happy-agent-4114

    05/10/2023, 9:56 PM
    I gotta make this an actual library and
    haxelib dev
    it
  • h

    happy-agent-4114

    05/10/2023, 9:56 PM
    but that is tomorrow me's problem
  • b

    bright-gpu-74537

    05/10/2023, 9:56 PM
    thats actually really confusing... haxe doesnt care about the classpath??
  • h

    happy-agent-4114

    05/10/2023, 9:57 PM
    apparently not
  • h

    happy-agent-4114

    05/10/2023, 9:57 PM
    since I'm invoking the compile from the root
  • h

    happy-agent-4114

    05/10/2023, 9:57 PM
    I have no idea
  • b

    bright-gpu-74537

    05/10/2023, 9:57 PM
    so you can just create folders and haxe will just try and resolve them? That seems new / crazy
  • b

    bright-gpu-74537

    05/10/2023, 9:57 PM
    lemme try
  • h

    happy-agent-4114

    05/10/2023, 9:58 PM
    I guess as long as you declare the package correctly
  • b

    bright-gpu-74537

    05/10/2023, 9:59 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1105977384093622312/image.png▾

  • b

    bright-gpu-74537

    05/10/2023, 9:59 PM
    thats crazy
  • b

    bright-gpu-74537

    05/10/2023, 9:59 PM
    i didnt add it to the cp
  • b

    bright-gpu-74537

    05/10/2023, 10:00 PM
    well, thats totally new info to me
  • b

    bright-gpu-74537

    05/10/2023, 10:04 PM
    Copy code
    [test/,D:/Work/HaxeUI/backends/haxeui-html5/,D:/Work/HaxeUI/haxeui-core/,,C:\SDK\Haxe\haxe\extraLibs/,C:\SDK\Haxe\haxe\std/js/_std/,C:\SDK\Haxe\haxe\std/]
  • b

    bright-gpu-74537

    05/10/2023, 10:05 PM
    thats the classpath for that project... so i guess the "" one, if you add that to the cwd, you'd get the project root
  • b

    bright-gpu-74537

    05/10/2023, 10:05 PM
    so why doesnt haxeui find it... 🤔
  • b

    bright-gpu-74537

    05/10/2023, 10:07 PM
    Copy code
    if (path.length == 0) {
                #if classpath_scan_verbose
                Sys.println("classpath cache: skipping 0 length path");
                #end
                return;
            }
1...166516661667...1687Latest