Log in

View Full Version : GradleRIO - Developing for RoboRIO without Eclipse


Jaci
17-01-2015, 09:00
Personally I'm not a big fan of eclipse, I much prefer IntelliJ IDEA for various reasons.

In the recent few days I've decided to make a gradle plugin that allows for fetching of WPILib resources, setting up of workspace/project and deploying code to the RoboRIO without the need for eclipse, only a command line and any IDE you like.

Here's the link to the project: https://github.com/Open-RIO/GradleRIO
If you end up using it, let me know if you find any bugs :)

~Jaci

Fauge7
17-01-2015, 10:17
Oh my god! It's about time somebody makes it a gradle pluggin! Nice work! Im a huge fan of gradle! If my favorite ide (currently eclipse) changes between this season and next season I will actually use this.

felix156
26-01-2015, 14:26
Hello,

Thanks for making the gradle plugin!

When I do "gradlew deploy" it doesn't deploy.
I'm connected to the robot's network, and have specified the team number and everything in the build.gradle file. It still throws a FileNotFoundException - says the file GradleRIO.jar cannot be found. I specified it as a library in Intellij, however.

Any ideas why this might be the case?

Regards,
Felix

ThomasClark
26-01-2015, 19:48
You could also use vanilla gradle without a plugin to deploy. I've been using this script for a while in IntelliJ.

https://gist.github.com/ThomasJClark/0ed21bc24c395aa2e9b4

Jaci
28-01-2015, 20:36
Hello,

Thanks for making the gradle plugin!

When I do "gradlew deploy" it doesn't deploy.
I'm connected to the robot's network, and have specified the team number and everything in the build.gradle file. It still throws a FileNotFoundException - says the file GradleRIO.jar cannot be found. I specified it as a library in Intellij, however.

Any ideas why this might be the case?

Regards,
Felix

Try running gradlew build before deploying. If you're on UNIX (Mac/Linux) chmod the entire directory as 777

smarthimandrew
18-10-2015, 13:22
Did you create the Linux gradlew script on a windows box? The newline characters seem to break bash. You need to run "dos2unix gradlew" before anything will work.

wazateer1
19-10-2015, 17:53
Thanks for the awsome project, this might fix my issues with eclipse luna!

When you make a new release on github, please remember to change your build.gradle. It causes issues when you go straight to a new release.

[EDIT] I saw the commit on github where someone changed it, but for some reason this was not reflected in the latest release .zip Maybe you need to re-build it? (I am not familiar with githubs release system)