Go to Post You can design and theorize all you want, but the sooner you get to testing your ideas and seeing how things actually work, the better off you will be. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2015, 09:00
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 259
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
GradleRIO - Developing for RoboRIO without Eclipse

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
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2015, 10:17
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: GradleRIO - Developing for RoboRIO without Eclipse

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.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2015, 14:26
felix156 felix156 is offline
Registered User
FRC #5759
 
Join Date: Jan 2015
Location: Brampton
Posts: 1
felix156 is an unknown quantity at this point
Re: GradleRIO - Developing for RoboRIO without Eclipse

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
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2015, 19:48
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: GradleRIO - Developing for RoboRIO without Eclipse

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...c24c395aa2e9b4
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2015, 20:36
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 259
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: GradleRIO - Developing for RoboRIO without Eclipse

Quote:
Originally Posted by felix156 View Post
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
Reply With Quote
  #6   Spotlight this post!  
Unread 18-10-2015, 13:22
smarthimandrew's Avatar
smarthimandrew smarthimandrew is offline
Programmer, and (sigh) Electrical
AKA: Andrew Dickinson
FRC #3546 (Buc 'n' Gears)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Grand Haven, Western Michigan, US
Posts: 22
smarthimandrew is an unknown quantity at this point
Re: GradleRIO - Developing for RoboRIO without Eclipse

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.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-10-2015, 17:53
wazateer1 wazateer1 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2013
Location: Charlotte, NC
Posts: 30
wazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to beholdwazateer1 is a splendid one to behold
Re: GradleRIO - Developing for RoboRIO without Eclipse

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)

Last edited by wazateer1 : 19-10-2015 at 17:56.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi