View Single Post
  #8   Spotlight this post!  
Unread 27-06-2015, 00:41
maglax's Avatar
maglax maglax is offline
Registered User
AKA: Michael Glass
FRC #3966 (L&N STEMpunks)
Team Role: Engineer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: United States
Posts: 7
maglax is an unknown quantity at this point
Re: An Enjoyable(Not) Java Compiler Error (Stack Guard)

Quote:
Originally Posted by Jaci View Post
Hey there, I'm the Dev behind Toast. The problem you're having is indeed related to Toast. If you're running Eclipse or IntelliJ IDEA (and have the latest version of the Toast Release), running 'gradlew eclipse' or 'gradlew idea' should be enough to generate the Run Configurations for you.

Alternatively, adding the argument '-sim --search' or '-sim [your.robot.Class]' should be enough to make Toast both start in Simulation Mode and find your ToastModule class. If you're running from the command line, these arguments are just appended to the command, i.e. 'java -jar Toast.jar -sim --search'. In Eclipse and IntelliJ IDEA, this is found under the 'Launch Configurations' window.

Hopefully this fixes everything, have fun!


So just checking, I should have my workspace located in the release folder of the Toast API directory and that is where ./gradlew eclipse should be run?

It may also be that I am understanding toast wrong? Do I program it the same way as a regular robot?

Last edited by maglax : 27-06-2015 at 00:52.
Reply With Quote