eschutz / atom-wpilib Goto Github PK
View Code? Open in Web Editor NEWWPILib development in Atom
License: MIT License
WPILib development in Atom
License: MIT License
Last year I was unable to maintain atom-wpilib due to school, and so it hasn't changed in about seven months. This has resulted in its version of GradleRIO becoming outdated, which is a problem as it has undergone some significant changes in that time.
When I was first working on atom-wpilib, GradleRIO had hard-coded settings and did not read from a configuration file by default, meaning I had to make some changes to it to amend this so that it could interface with Atom more easily. Since then, Jaci has added a config file to GradleRIO which means that this change was obselete. I also now realise I did not include the appropriate open source acknowledgements as I included a modified version of GradleRIO. I apologise to Jaci and the GradleRIO contributors for this โ the modified version will be removed in the coming update.
To amend this I plan to implement something similar to the example update system to pull the latest version of GradleRIO and interface with the included config file, instead of implementing my own. This also means that projects generated by atom-wpilib will play nice with other editors.
Unfortunately some features will be removed (setting the Java and C++ library locations, dependency versions, and RoboRIO IP from within Atom), however this will greatly enhance forwards compatibility.
Due to these changes, the following functions
Work:
Don't Work:
[Enter steps to reproduce:]
Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Education
Thrown From: atom-wpilib package 0.1.1
Uncaught TypeError: Path must be a string. Received undefined
At path.js:28
TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.join (path.js:501:7)
at /packages/atom-wpilib/lib/atom-wpilib.js:76:25)
at /packages/atom-wpilib/lib/atom-wpilib.js:274:2)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:146684)
at Object.value [as .js] (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:150231)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (/app.asar/static/index.js:47:45)
at require (internal/module.js:11:18)
at customRequire (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:641362)
at Package.requireMainModule (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3029314)
at Package.activateConfig (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3018673)
at PackageManager.t.exports.PackageManager.packageHasSettings (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:892672)
at PackageCard.hasSettings (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2932592)
at PackageCard.updateSettingsState (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2922872)
at PackageCard.updateInterfaceState (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2922695)
at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2930825
at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2932843
at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
at PackageManager.t.exports.PackageManager.emitPackageEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:901852)
at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:899261
at r (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:893791)
at o (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032547)
at ChildProcess.n.process.on.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032753)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
-1:30.5.0 core:copy (input.hidden-input)
2x -1:30.2.0 core:paste (input.hidden-input)
2x -1:27.3.0 core:delete (input.hidden-input)
-1:02.2.0 core:save (input.hidden-input)
-0:42.5.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
atom-ide-ui 0.13.0
atom-wpilib 0.1.1
busy-signal 2.0.0
file-icons 2.1.27
ide-java 0.8.3
Having another issue, not sure if it is related:
C:\Users\62820\AppData\Local\atom\app-1.34.0\resources\app
only has an apm
folder.
Builds in visual studio word fine.
Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Education
Thrown From: atom-wpilib package 0.1.2
Uncaught TypeError: Cannot read property 'nodeName' of undefined
At C:\Users\62820\AppData\Local\atom\app-1.34.0\resources\app\static\<embedded>:11
TypeError: Cannot read property 'nodeName' of undefined
at CommandLogger.t.exports.CommandLogger.logCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:877750)
at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:877072
at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:349649)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
at refreshBuild (/packages/atom-wpilib/lib/atom-wpilib.js:125:30)
at HTMLElement.wpilibBuild (/packages/atom-wpilib/lib/atom-wpilib.js:134:29)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:350017)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:671034)
at EventEmitter.t (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:678418)
at emitThree (events.js:136:13)
at EventEmitter.emit (events.js:217:7)
-0:03.9.0 wpilib:build (atom-pane.pane)
atom-wpilib 0.1.2
build 0.70.0
busy-signal 2.0.0
From Issue #1:
I ran the installer here: https://github.com/wpilibsuite/allwpilib/releases and it successfully installed, but the gradle command still doesn't work.
I downloaded this: https://github.com/wpilibsuite/GradleRIO/releases and ran the bat file and got this error message:
Originally posted by @nathanrsxtn in #1 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.