Does CKEditor have tools to automatically download plugins and dependencies - ckeditor

When building CKEditor I specify plugins in build-config.js, however I have to manually download plugins and their dependencies from addon's page and put them into /plugins page before running build.sh script. Does CKEditor have any tool that can do it automatically, like npm for example?

CKEditor 4 - no, it pre-dates most of the packaging tools on the market, or at least the time that they got really popular.
You can also generate a custom build online, through CKBuilder, either choosing plugins from the list of "Available Plugins" or uploading your build-config.js there (a button in the top-right corner).
I'm aware this is not the same level of build automation that npm offers, but hope this will help. CKEditor 5 will be much better aligned to more modern building tools.

Related

OSGI plugin development with Domino Designer 10

Up to date I was using IBM Domino Designer V9.0.1 FP8 to develop an OSGI plugin. With this version everything was working as intended. I've created a plugin project, a feature project and an update site project. Selecting "Build all" in the update site project created all the the corresponding jar files.
Today I've installed IBM (HCL) Domino Desinger V10 FP2 (fresh install i.e. I've deinstalled V9.0.1 and deleted the old "workspace" directory in NotesData, but I kept the NotesData itself).
Now if I open my plugin projects, I can edit the plugin, save the Java classes without any errors. Up to this point everything is working as usual. But now, if I use "Build all" in the update site project I see a screen with "generating ant script" and then the build process is finished, but no jar files are generated.
Any ideas why this is happening? Am I missing some files? Am I missing some configurations?
BTW: if I use standard eclipse to build the plugin all jar files are generated.
Domino Designer is a customised version of Eclipse. 9.0.1 FP9 and lower is a very old version of Eclipse, 9.0.1 FP10+ is a much newer version, so not comparable to what was happening before. It's possible there are differences in the customisation of Eclipse that are affecting it. But every Domino OSGi plugin developer I'm aware of uses standard Eclipse.
Follow the steps for setting up your environment here https://github.com/OpenNTF/XPagesExtensionLibrary/wiki/Development-Environment. In the documentation there I've tried to document why steps are done and what they achieve, as well as just the steps themselves. The intention is to pass on understanding to a broader set of developers, for future proofing.

SonarQube Eclipse Plugin manual download

I want to download SonarQube Eclipse plugin and install on Eclipse IDE manually.(I know it can be download through MarketPlace of Eclipse IDE, but I need to do manually.) Anyone knows where it is possible? Any official site available ?
1.) Go to Help > Eclipse Marketplace... and search for "SonarQube". If you are not finding SonarQube. Follow next steps
Go to Help > Install New Software... This should display the Install dialog box. Paste the Update Site URL (http://downloads.sonarsource.com/eclipse/eclipse/) into the field Work with and press Enter. This should display the list of available plugins and components.
2.) Check the component you wish to install (see Features details).
3.) Click Next. Eclipse will then check to see if there is any issue which would prevent a successful installation.
4.) Click Finish to begin the installation process.
5.) Once the installation process is finished, Eclipse will ask if you want to restart the IDE. It is strongly recommended that you restart the IDE.
Download from Bintray => https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases/_latestVersion
The link is given at Sonarlint for Eclipse Homepage
In my experience SonarLint is not equivalent to SonarQube. When not bound to SonarQube it reports many errors we don't care about. Bound to our SonarQube it reported, for example, about 10 errors compared to 303 on our SonarQube. See this comment

Jenkins RequireJs Build / CI

I've just started a project that uses RequireJs, Backbone etc. Everything is running well client-side and I wan't to set up my build environment.
I was planning on using Jenkins but have found zero information on how to go about this. I've managed to set up Gradle and use that to do things like minify the js etc, but I think I need to run R.js and have no idea where to get started or if this is even what I should be doing.
I've googled a bunch and found nothing. Sorry for my ignorance.
Jenkins has a Gradle plugin: Gradle Jenkins Plugin
Installation
The plugin is very easy to install and use. To install it, just use the Jenkins web interface.
Manage Jenkins -> Manage Plugins -> Available Plugins -> Install
Search for Gradle, check the box and click install.
Create a job
Click new job. Select free style job and add a Gradle build step.

How to make installer for Eclipse RCP

I would like to create installer for Eclipse RCP application. What is the best way to do this?
It is possible?
Eclipse Platform Version: 3.6.1
In a plug-in project, create a product configuration.
Configure it. On the Dependencies tab, the "Add required plug-ins" button is your friend.
Build the product -- e.g., through the "Exporting" section on the Overview tab.
Once it's built, you can build an installer with a third-party install tool compatible with the target operating system/s.
More detail is provided in the Eclipse FAQ under "How do I create an Eclipse product?"
There are two solutions that I know should make the job of creating an installer easy:
EclipseNSIS - which is windows-only
Use Pulse OneInstall - which seems to be cross-platform.
I have not used either of the above, but have been researching them as well. Both should have wizards that guide your through the above.

View osgi bundles' dependencies?

I am looking for a tool in Eclipse that I can view graphically all osgi bundles' dependencies. Anyone has any ideas, please?
The STAN bundle and project dependency views are free add-ons. Here's a sample dependency graph: http://stan4j.com/images/stories/misc/plugin-deps.png
Quick feature list:
horizontal, vertical, narrow layout options
node markers +/- indicate outgoing/incoming dependencies currently not shown
double-clicking a node adds outgoing dependencies
double-clicking a node while holding the control key adds incoming dependencies not shown
edge labels indicate "requires-bundle" and/or "imports-packages"
supports drag'n drop from the project/package explorer
Visit http://stan4j.com for further information and download/install instructions.
There is a "Plug-in" dependencies viewer in the Plug-in development perspective, is that what you are looking for?
Also see here:
http://ekkescorner.wordpress.com/2009/07/03/galileo-cool-views-to-control-plug-ins-ide/
Found one. STAN tool is a good one (http://stan4j.com/advanced/acyclic-dependencies-principle.html). Although this is a commercial tool, it still has the free version that can analyze the structure of maximum 500 classes and have no limit with bundles and projects. This is more than what I need.
There's tool from Eclipse PDE incubator called Dependency Visualization. Despite it's in incubating phase and seems a little bit abandoned, it doest the job very well for me.
Add new software site http://download.eclipse.org/eclipse/pde/incubator/visualization/site
Install a feature
After restart, open Window / Show view / Graph plug-in dependencies under PDE category

Resources