CDNJS old Javascript libraries - netbeans

I wanted to use Knockback.js to my project, but CDNJS in NetBeans 7.4 offers me only version 0.17.2, but the latest version is 0.18.2.
How is it possible to get the latest version of Knockback.js with CDNJS or is it possible to use somehow node.js' npm in a Netbeans project?

In dialog where you select JS files to import to project, there is a "Update: Never", if you click on it, it will updates list of offered JS libraries (it takes some time). However, NetBeans offers JS files from CDNJS.com, where Knockback is only in version 0.17.2, so update action in NetBeans won't help you (now, once CDNJS.com starts to offer 0.18.2, update action will help)

Related

Groovy compiler on Eclipse doesn't include version 2.4 anymore

I need to set up my Eclipse IDE again and unlike when I first set it up I have issues with the Groovy software. I would need the Groovy compiler version 2.4, but can only select between 2.5, 3.0 or 4.0.
I used the same location as last time: https://dist.springsource.org/release/GRECLIPSE/e4.16
Also I tried other location which unfortunately don't work properly. I have the Eclipse version 2020-06.
Can anyone tell me what I do wrong this time or which configuration to adapt?
Thank you.
Download "Eclipse IDE for Java Developers" (2020-09 a.k.a 4.17) from https://www.eclipse.org/downloads/packages/release/2020-09/r
Note: The first link on the page gets you the Oomph installer which WILL NOT WORK. Use one of the links below. If there is "inst" anywhere in the name of the file you downloaded, try again.
The reason why Oomph breaks GRECLIPSE is that it will add an update site which will try to install the latest 4.x GRECLIPSE -> fail.
Unpack the archive somewhere.
Go to Help -> Install New Software.
Add this update site: https://dist.springsource.org/release/GRECLIPSE/3.9.0/e4.17
(Using the marketplace will leave you with GRECLIPSE 4.x)
Always select the main package and Maven support if you need it.
Click Next.
Make sure that it tries to install 3.9.0 and nothing else.
Click Next & Finish until it installs.
--- old instructions for reference ---
You will need to download Eclipse Photon from here
https://www.eclipse.org/downloads/packages/release/photon/r
and then Groovy Feature 3.5.0.v201909291357-e48-RELEASE add this update site:
https://dist.springsource.org/release/GRECLIPSE/e4.8
All the versions of Eclipse after this one don't support Groovy 2.4 anymore.
I've tried to do this with Oomph but that way, I always ended up with Groovy Feature 4.1.
My solution then was to create another workspace for all my Groovy 2.4 projects (Jenkins Pipelines, mostly).

How do I create a typescript project?

I am trying to learn typescript with Node.js and the TypEcs Eclipse plugin. I installed Node.js and did npm install -g typescript. I also followed instructions on the TypEcs front page to install TypEcs with Eclise Luna.
Now I have a typescript perspective as shown below. But there is no project type for TypeScript when I try to create a test project.
My question is,
How should I start a new TS project with TypEcs?
Thanks.
You should install Nodeclipse Enide Studio 2014 plugins for Node.js. Nodeclipse has simple Typescript option in new Node.js project wizards. (It is also better idea to start from simpler JavaScript first)
I am lead of Nodeclipse, I don't yet use Typescript, but I would like to collaborate on the
"Node.js + TypeScript" topic on GitHub. Be ready to share, discuss and research.
I haven't got Eclipse here to test, but I believe you can start by creating any of the available project types that includes JavaScript.
If you aren't sure what to use, choose a static web project (this doesn't have any server-side code).

Developing with the latest Processing version in Eclipse

I just found out that the Processing Eclipse plugin is not under active development, and for that matter uses a rather old version of Eclipse.
Eclipse plugin project for Processing
I tried to to use the latest core.jar lib with the plugin but that didnt do. Is there a way to use develop Processing sketches in Eclipse using the latest Procssing version. Thanks
I warmly recommend the Proclipsing plugin.
Eclipse > Help > Install New Software > Add >
http://proclipsing.googlecode.com/svn/tags/current_releases/proclipsingSite/
There's also a quick video tutorial available:
It allows you to easily create a Processing project (java but links the core.jar and extends a PApplet for you) and also has tools to export a Processing Application or Applet.
All you need to do is point to your Processing install and it will also find your existing libraries.
If you don't want to use any eclipse plugins you can always create a new Java project, add core.jar to the build path and extend PApplet.
Update
Based on your comments, perhaps a half-way method would solve your problem:
Try the PDE X mode in Processing. You get auto-complete, code navigation and renaming.
Update
PDE X is now integrated into the Processing 3.0 pre-release

Cant re-install Google Web Toolkit using Eclipse plugin

I installed and updated Google Plugin for Eclipse 3.7 a few weeks ago. It installed GWT as well as other things. I was able to compile a Google App. I did several things on Eclipse today and now GWT is gone. I look at Preference-->Google-->Web Toolkit; the list is empty. I ran plugin update, it keep saying GWT is already installed and refuse to update/re-install. I uninstall GWT explicitly and run plugin update; it update without complaint. But the Preference-->Google-->Web Toolkit; the list is still empty!
How do I force plugin to populate the SDK info in Preference-->Google-->Web Toolkit?
There is actually an "Add" button to configure SDK. But I dont know the installation directory of GWT. Where does Eclipse plugin save the GWT?
Seems Eclipse keep track of the installation of GWT SDK in two different place?
My GWT SDK database seems corrupted, and Eclipse plugin seems rely on its own private data base of the status of installation of GWT SDK?
Can anyone please help?
I think that what you are referring is not the plugin but the SDK.
Download the SDK unzip it then add it preferences->Google->Web Toolkit.
The link to to download the SDK is: http://code.google.com/p/google-web-toolkit/

Eclipse - how to install older ICU4j plugin

Hey all, running into the 'cannot satisfy dependency' for several different plugins, and rather tackle all those different plugins just wondering if there is a way to simply install an older version of ICU4j (com.ibm.icu) as an eclipse plugin (preferably via update site).
thanks!
ICU4J is delivered through the Orbit project. Check which build has the version you want at http://download.eclipse.org/tools/orbit/downloads/ then use http://download.eclipse.org/tools/orbit/downloads/drops/RELEASE/repository as update site. I believe that for the archived builds the update site will be http://archive.eclipse.org/tools/orbit/downloads/drops/RELEASE/repository.