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).
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Hello TimReset,
thank you very much for your Gradle module.
Kind regards
Bob
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
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:
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?