The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Arch linux aur package

4 replies Last reply

  1. Hello,
    as i intensivly use nodebox with my students on linux, i would love to try to make a nodebox package for arch linux.
    But i'm not a java developper and i can't find a proper way to compile nodebox. The idea is to get jar files as described on the arch packager wiki here : https://wiki.archlinux.org/index.php/Java_package_guidelines
    i tryed to run 'ant compile', i succed to have a nodebox.jar file in dist/lib/nodebox.jar but ofcourse it doesn't work if i move it in an other place.
    Please can you lead me to the right way to do that,
    Thanks

    Copy link
  2. NodeBox team

    NodeBox needs some resource files to start up. Those contain the core nodes, Python bundle, etc.

    On Mac and Windows we use the Java FX deployment system. The idea is that you write an Ant task that mirrors the dist-mac or dist-win tasks. I'm not sure if JavaFX is included in OpenJDK, though.

    If that doesn't work, your best bet is to start not from the compile task, but from the resources task, which bundles everything in one folder. On my Mac, If I copy the nodebox.jar generated in dist/lib, to dist/resources, I'm able to start the program by double-clicking the JAR file. I don't have my Linux machine here so I can't test it directly.

    Hope that helps. Don't hesitate to contact me with further questions. Also, if you found a way to package it for Arch, I'd love to see script / package.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply