Giter Site home page Giter Site logo

lejos-ev3-netbeans's Introduction

lejos-ev3-netbeans

Build.xml script for using NetBeans with LeJOS EV3 to develop Java applications for the LEGO MINDSTORMS EV3

Developed and tested in Apache NetBeans 11.0 running on Windows.

Copy build.xml and replace the default build.xml in your NetBeans project.

Overrides standard actions "Run", "Run file", "Debug" and "Debug file" to compile a .jar file for the EV3 and uploads it to the brick via USB.

For the override to work the setting "Compile on Save" must be disabled in the project properties, 'Build -> Compiling -> Compile on Save', as described in the header of this file.

Must target Java 7 in project properties to run on EV3, 'Sources -> Source/Binary Format: -> JDK 7'.

The property "ev3.run.remote" in build.xml can be set to automatically start the program after upload, but use with care as this will interfere with the menu system running on the EV3. The preferred method is to upload the program and start it from the menu.

When debugging a program, whether started remotely or from the EV3 menu, Go to 'Debug -> Attach debugger...' and connect to the running program, by default with Host: 10.0.1.1 and Port: 8000.

Dependencies

LeJOS windows installation instructions

https://sourceforge.net/p/lejos/wiki/Windows%20Installation/

Inspiration taken from

https://github.com/jabrena/liverobots/blob/master/build.xml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.