Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
What to Upload to SlideShare
What to Upload to SlideShare
Loading in …3
×
1 of 23

2017 stuysplash-build-tools

0

Share

Download to read offline

Build Tools presentation for FRC (FIRST Robotics Challenge) team members - covers Ant, Maven and Gradle including how applies to FRC.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

2017 stuysplash-build-tools

  1. 1. Java Build Tools Jeanne Boyarsky Stuy Splash – 12/16/17 slideshare.net/boyarsky Twitter @jeanneboyarsky Blog: http://www.selikoff.net
  2. 2. Ant • What the robot uses • An older build tool, but still updated • No internet access required
  3. 3. Hello World
  4. 4. More Targets
  5. 5. Ant Contrib
  6. 6. Your Robot
  7. 7. WPI Lib’s Ant File In <home>/wpilibj/java/current
  8. 8. build.properties
  9. 9. build.xml
  10. 10. Examples • Written from scratch • https://github.com/Team694/java- education/blob/master/build.xml • https://github.com/Team694/cv-edu- 2017/blob/master/build.xml • https://github.com/Team694/stuyvision- lib/blob/master/build.xml
  11. 11. Maven • Needs internet first time to download • Itself • Dependencies • Convention over configuration • Standard lifecycle vs flexibility • Build at command line or with built in Eclipse plugin m2e
  12. 12. Maven • Used by WPI in 2015 (now using gradle) • pom.xml specifies what want done
  13. 13. An Eclipse plugin https://github.com/wpilibsuite/EclipsePlugins/blob/master/e du.wpi.first.wpilib.plugins.java/pom.xml
  14. 14. Gradle • Same internet/repository model as Maven • Uses Groovy as language instead of XML • Shorter  • Build at command line or with Eclipse plugin Buildship - https://projects.eclipse.org/projects/tools.buildshi
  15. 15. Smart Dashboard https://github.com/wpilibsuite/SmartDashboard
  16. 16. Plugins
  17. 17. Dependencies <home>/.m2 has the repository
  18. 18. What should the build do?
  19. 19. Publishing
  20. 20. The End
  21. 21. Downloading the Internet
  22. 22. And the useful work
  23. 23. Questions ? Twitter: @jeanneboyarsky

×