adaptiveme / adaptive-ide-products Goto Github PK
View Code? Open in Web Editor NEWAdaptiveMe IDE products based on Jetbrains IntelliJ IDEA Community
Home Page: http://adaptiveme.github.io/
License: Apache License 2.0
AdaptiveMe IDE products based on Jetbrains IntelliJ IDEA Community
Home Page: http://adaptiveme.github.io/
License: Apache License 2.0
There should be visual way (probably in the project configuration) to edit the application.yml file
Every Product will have it's own plugins as well as common plugins/components that will be shared among the products.
The build script should be smart enough to detect which product it's being built in order to add the required plugins/components for each Product.
All the messages and information about the project generation are shown in the Messages View and it needs to be visible during the commands execution
I've have some errors when creating the adaptiveme project:
C:\Users\FNVA\Desktop\codewok\bin
λ codewok.bat
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[ 25039] WARN - ewok.SimpleCommandLineExecutor - Cannot run program "yo" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file spe
cified
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "yo" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the f
ile specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:296)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:39)
at me.adaptive.ide.codewok.SimpleCommandLineExecutor.runCommand(SimpleCommandLineExecutor.java:45)
at me.adaptive.ide.codewok.project.generator.GeneratorRunner.generate(GeneratorRunner.java:192)
at me.adaptive.ide.codewok.project.generator.CodewokProjectGenerator$1.run(CodewokProjectGenerator.java:105)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Caused by: java.io.IOException: Cannot run program "yo" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:306)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:292)
... 18 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
[ 25048] WARN - ewok.SimpleCommandLineExecutor - Cannot run program "npm" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file sp
ecified
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "npm" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the
file specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:296)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:39)
at me.adaptive.ide.codewok.SimpleCommandLineExecutor.runCommand(SimpleCommandLineExecutor.java:45)
at me.adaptive.ide.codewok.npm.NpmCommandExecutor.runInstall(NpmCommandExecutor.java:50)
at me.adaptive.ide.codewok.project.generator.CodewokProjectGenerator$1.run(CodewokProjectGenerator.java:110)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Caused by: java.io.IOException: Cannot run program "npm" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:306)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:292)
... 18 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
[ 25059] WARN - ewok.SimpleCommandLineExecutor - Cannot run program "bower" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file
specified
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "bower" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find th
e file specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:296)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:39)
at me.adaptive.ide.codewok.SimpleCommandLineExecutor.runCommand(SimpleCommandLineExecutor.java:45)
at me.adaptive.ide.codewok.bower.BowerCommandExecutor.runInstall(BowerCommandExecutor.java:34)
at me.adaptive.ide.codewok.project.generator.CodewokProjectGenerator$1.run(CodewokProjectGenerator.java:114)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:405)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Caused by: java.io.IOException: Cannot run program "bower" (in directory "C:\Users\FNVA\CodewokProjects\test2"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:306)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:292)
... 18 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
Terminate batch job (Y/N)? y
C:\Users\FNVA\Desktop\codewok\bin
λ cd ..
C:\Users\FNVA\Desktop\codewok
λ bower -v
1.4.1
C:\Users\FNVA\Desktop\codewok
λ yo -v
? 'Allo fnva! What would you like to do? Get me out of here!
_-----_
| | .----------------------.
|--(o)--| | Bye from us! |
`---------´ | Chat soon. |
( _´U`_ ) | Yeoman team |
/___A___\ | http://yeoman.io |
| ~ | '----------------------'
__'.___.'__
´ ` |° ´ Y `
C:\Users\FNVA\Desktop\codewok
To build a specific product, the parameter ideProperties should be passed pointing to the file that holds the ide specific properties, like the example below
gradle -PideProperties=codewok.properties
After a build is succeed, add the ability to download the generated artefacts.
Display the build logs on the IDE during build
add the capability to download the logs
Download and cache the current loggedin user "avatar" from server api and show it to the user.
Steps to reproduce:
update failed for AnAction with ID=RunOnNibble
java.lang.NullPointerException
at me.adaptive.ide.plugins.nibble.RunOnNibbleAction.update(RunOnNibbleAction.java:61)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:114)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:188)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:280)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:96)
at com.intellij.execution.impl.ConsoleViewImpl.popupInvoked(ConsoleViewImpl.java:986)
at com.intellij.execution.impl.ConsoleViewImpl.access$2100(ConsoleViewImpl.java:93)
at com.intellij.execution.impl.ConsoleViewImpl$15$1.invokePopup(ConsoleViewImpl.java:887)
at com.intellij.util.EditorPopupHandler.handle(EditorPopupHandler.java:27)
at com.intellij.util.EditorPopupHandler.mousePressed(EditorPopupHandler.java:37)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.runMousePressedCommand(EditorImpl.java:5601)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:5557)
at java.awt.Component.processMouseEvent(Component.java:6411)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6179)
at java.awt.Container.processEvent(Container.java:2084)
at java.awt.Component.dispatchEventImpl(Component.java:4776)
at java.awt.Container.dispatchEventImpl(Container.java:2142)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4276)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
at java.awt.Container.dispatchEventImpl(Container.java:2128)
at java.awt.Window.dispatchEventImpl(Window.java:2492)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:734)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Not sure if Windows/Linux are affected.
When the project is opened, and there's a package.json but not a node_modules alert the user with a notification that the modules might be missing and allow him to execute npm install from the notification
Currently the project files are being displayed with the viewpane Project Files, which shows all the files (node_modules, src, config, etc) in the same manner.
The ide needs to present the project files in the "Adaptive way"
Build the project from the IDE
Bundle and integrate nibble as a "Run configuration" for adaptive projects.
Create a welcome screen that has the login info or a register button
Project for common code, each feature being a module so that they can be included and excluded from the product specific builds.
please provide the branding modules inside the folder "branding"
In case the project has a package.json and do not have the node_modules folder it means that the npm isntall was not executed, suggest the user to execute the command
When the IDE loads, download all the relevant information from the api including:
Add code Completition for:
As it takes a while, the npm install command as well as bower install should be ran in different processes
If for any reason the user does not have a full setup project or the generator ran with errors previously and the npm commands were not execute allow the user to execute them by right clicking on the node_modules or package.json
If the user has already logged in and a valid token is saved in the prefs, enable "offline" mode when there's no connection.
The Nibble should run inside the RunToolWindows so the user have full controll of the process and can stop/kill the execution as it's expected inside any tool.
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.