Hacking nodebox on Windows with Eclipse Luna

craigugoretz5's Avatar

craigugoretz5

16 Nov, 2014 07:16 AM

Hello,

     I am interested in hacking nodebox 3. This means that I intend to write code in Java to give nodebox enhanced functionality. I plan to do this using the Eclipse IDE (version LUNA). Can I have a list of instructions concerning how to go about that? Right now I have cloned the repository using Eclipse's GIT tool, but I am unable to import the cloned repository into a Java project without getting errors in certain source code files indicating imports are broken.

    Also, the nodebox website mentions that certain code is under construction and could break. Should I be concerned about a broken repository? Can I check out a repository from GIT that is older, but not broken?

     Craig Ugoretz

  1. Support Staff 1 Posted by Frederik De Ble... on 18 Nov, 2014 08:31 AM

    Frederik De Bleser's Avatar

    Hi,

    Have you tried following the Hacking NodeBox on Windows page to get a basic build going? You should make sure that the build process is not broken before trying to setup Eclipse.

    NodeBox uses Maven to manage its dependencies. In IntelliJ IDEA, you can import this Maven project directly and start hacking on the source.

    I'm not sure about Eclipse though, as I don't use it. I just tried importing the project using the "import from SCM" option but it didn't work for me. If you have the option, consider using IntelliJ IDEA (which has a free offering as well).

    Where did you find the warning on the website? The current code shouldn't be a problem.

    Best,

    F

  2. 2 Posted by craigugoretz5 on 19 Nov, 2014 04:13 AM

    craigugoretz5's Avatar

    Hello,

         The warning was found at the top of the following page:
         http://nodebox.net/node/documentation/advanced/programming-nodes.html

         Come to think of it, maybe I got a step ahead of myself when I considered hacking nodebox. Perhaps, I may only need to write a new node in Python.

         What follows is what I care to do. I want to resample a path (correct terminology?) like an ellipse or a couple of connected splines for example. At each sampled point, I then want to place a small circle which I want to label with a pair of labels: a number for the path and a number for the point. When I hover over the ellipse with the mouse, I want a tool tip to pop up showing the pair of labels. Additionally, if a circle is shared by more than one path, I want all the pairs of labels to show up on the tool tip.

          Any ideas you all may have would be appreciated.

          Sincerely,
          Craig Ugoretz

    P.S. Checking the point numbers box to the right of viewer and data is not the solution I am looking for.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

22 Feb, 2024 05:51 AM
22 Feb, 2024 01:11 AM
21 Feb, 2024 05:27 PM
21 Feb, 2024 04:49 PM
16 Feb, 2024 05:24 PM

 

06 Feb, 2024 04:45 AM
19 Jan, 2024 09:50 AM
13 Jan, 2024 03:47 AM
05 Jan, 2024 05:10 PM
05 Jan, 2024 04:54 PM
04 Jan, 2024 11:49 PM