Menu

HaikuVM on Gradle

TimReset
2015-04-26
2015-06-10
  • TimReset

    TimReset - 2015-04-26

    Good day!

    I'm using HaikuVM and seen what it's not ease create project and run build. And very hard track dependence between modules. Because I create standard Java-like project - on Gradle. It's allows create various module with dependences and it's support various IDE - Eclipse and IDEA (Ultimate and Community). Gradle can replace platformed code on bat and sh script. And it's support repositories what allows create easy-enabled modules (like Maven module on pure Java).

    Link on my project on GitHub
    https://github.com/TimReset/HaikuVMGradle

    For run see task haikuuploadWindow on my_project. This beta and I active modifying it's.

    P.S. Sorry for my English and russian comments on gradle task - I replace it's then on english.

     
  • TimReset

    TimReset - 2015-05-05

    I add support dependency from external library. Example in "my_project" ExampleMyLib.java
    Dependency definition like standard Java dependency in Gradle - in build.gradle in block "dependencies". You may use jar dependency or maven dependency or something else.

     
  • genom2

    genom2 - 2015-05-05

    Hello TimReset,

    thank you very much for your Gradle module.

    Kind regards
    Bob

     
  • TimReset

    TimReset - 2015-05-06

    And if use Gradle we can solve problem from "Ideas and brainstorms" - "Support for NetBeans IDE." And I recommend use Gradle - it's can replace bat/sh code and supported all IDE.

     

    Last edit: TimReset 2015-05-06
    • genom2

      genom2 - 2015-06-10

      Hello TimReset,

      I have no idea how it works.

      1) How did you get classes.jar into repo/org/haiku-vm/nxt/classes/1.2.3/ ?

      2) Is it possible to call from the command line like this:

      C:\haikuVM\gradlew.bat --Config duemilanove --Config:Port com5 C:\haikuVM\examples\src\main\java\arduino\tutorial\Blink.java
      

      3) In general, how do you use gradlew.bat from the command line to compile, upload and run on a Duemilanove? Please, can you give some examples?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.