Eclipse offline Extensions install in an almost completely closed environment (proxy) - eclipse

Initial position:
Currently I'm at a customer's site who has completely locked up his system (VM), and through a proxy blocks nearly everything, including the connections to download the extensions of Eclipse.
In the Eclipse marketplace you can find the download links, but they are of no use to me. Since the proxy locks everything out.
If you use the download link, you will get to this page, which ONLY refers to the integration in Eclipse via the web. This is currently not possible for me!
A reference to the M2E version only leads to the page mentioned above.
https://www.eclipse.org/m2e/
The customer only allows Eclipse no other programs.
It is unbelievable ^^
Is there a way to install offline extensions in Eclipse like Visual Studio code?
What I need is a Maven/Java based version, including Jenkins integration.
I currently used a portable version of Eclipse from the points already described. Yes, the download of complete versions is possible and not blocked, just the integration of plugins and extensions.

Related

Internal Netbeans Plugin Portal

I need to use Netbeans in an environment where all the dependencies, to include all the plugins used by Netbeans, are pulled from a curated set. Surprisingly, there is not much available on hosting a netbeans plugin portal, I have found:
https://github.com/timboudreau/meta-update-center (so far the best option),
A 10 year old stackoverflow post (Netbeans Platform application using the plugin system) with broken links,
And a discussion in the Netbeans mailing list (https://www.mail-archive.com/dev#netbeans.apache.org/msg05664.html) on why this is a bad idea.
The goal is to host a plugin portal internally that Netbeans can use to list available plugins and update from when a new version is approved. The Tim Boudreau solution appears to be the best option I have been able to find. Are there any other options available?

Boostrapping new Eclipse machines with all the Plugins

Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
Explaining / documenting what needs to happen
The actual time pasting in the right URLs and downloading
Version compatibility and dependencies
Eclipse likes to restart after each one
The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
subclipse
m2eclipse
jetty support like runjettyrun
android sdk and plugin (or at least just the plugin)
aspectj
Web Objects / WOLiops
python, other langs
JVM Monitor, maybe EclEmma
probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
AspectJ
EGit
m2e
(and of course) Spring IDE
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :
m2e
Android Developer Tools (ADT)

Cross-Platform Single-Instance IDE Setup

I like to carry software around with me on a USB flash drive. I also like to work in both Windows and Linux. Finally, I like to develop software using powerful tools.
Bringing these three things together, I want to be able to carry an IDE around with me. My favorite choice is Eclipse.
So, I tried to get an Eclipse install working on a thumb drive. Not surprisingly, it's just fine if I pack in a JDK. But Eclipse without plugins just doesn't do it for me. After installing my plugins of choice, I had a hefty 300ish MBs of data.
Then I realized that I'd only installed for Linux. And that I was going to have to duplicate everything to get a Windows install. That's not good.
I've searched the web. I found a guide on creating .link files which looks like a hack from the early 80s. I found documentation on the new Eclipse p2 provisioning which I couldn't even understand. I checked Pulse, and they don't support Helios yet.
I remember in old Eclipse days you could just install a plugin to an alternate directory, and share that dir across different Eclipse installs. Today, I couldn't manage to find anything of the sort.
I did manage to get Netbeans up and working properly in a cross-platform manner in around 30 minutes. But I prefer Eclipse.
Could anyone give me a hand? What I'm looking for is:
One install of the platform-independent portions of the Eclipse internals
One install of each plugin I desire
The ability to run this unified Eclipse from both Linux and Windows
I know I'll need a JVM for each platform. I know I'll also need an SWT lib and launcher for each OS. That's fine.
You need to have separate Eclipse installations for each platform and a shared plugins directory for both installations. There are many questions on the subject on StackOverflow. For example, see this comprehensive answer.
Start with the standard Eclipse packages. Complete your shared dropins setup. Once you are up and running, you get probably move plugins from each standard installation to the shared dropins directory to save space (for example, JDT).

How to update an Eclipse installed via Yoxos

I downloaded and installed Eclipse using Yoxos a few months ago. Since then, several of the plugins I downloaded as part of the install have been updated. In particular, the App Engine sdk has gone through 4 or 5 point releases, and GWT went from 1.7 to 2.0. The yoxos "software updates" tool seems painfully unaware of these updates though. How do I update these plugins? Is it a matter of waiting until Yoxos updates their database of plugins?
Can you not update directly from Eclipse ?
Help -> Check for updates
That will normally check for Eclipse framework and plugin updates.
You can update from anywhere, Pulse, Eclipse. If you go to the Eclipse site download page you can see many different providers of updates. Just get their download links and go to Help -> Install Software and hit the add button to add them. Then it will pick up updates from any of these sites. All of the plugins have unique names and versions so it does not matter where you get them.
You can update via the Eclipse mechanisms as the others describe. Then you risk running into the compatibility problems all Eclipse users have that put together plug-ins from a number of update sites. The idea of a distribution like Yoxos is to have a defined state of plug-ins that are checked for compatibility; compare with Linux distributions.
In a distribution you don't always have the latest version of a software, but it works and it's comfortable getting updates.
On Jan 6, the Yoxos Distribution had the latest update that - among others - includes the updates you asked above.
yoxos.ondemand.com also has a feedback button on the right side, so you can get your answers directly from the developers instead of hoping that they find your question in unrelated 3rd party forums :-)

Setting up Eclipse for Java and PHP

I have already installed Eclipse for Java development. I'd also like to install Plugins for PHP, CSS/HTML and Javascript, but all the sites that I've checked only offer a 'All in one' package, so I could either download an all-in-one Java package or an all-in-one PHP package, but not both at the same time.
How do I set up my existing installation to also support PHP files?
I use PHPEclipse which can be installed as a regular Eclipse software update
The PDT can also be installed as an update.
For HTML/CSS etc, the WTP can be installed in a similar fashion.
If you already have Eclipse installed, follow the instructions at PDT Installation to install the PDT (PHP Development Tools). This will include the Web Tools Project (WTP), which brings editors and tools for HTML and CSS.
This issue made me nuts 2. First i downloaded the PDT eclipse, which would not take google plugins or apache ant. Then I downloaded the Eclipse SDK to use java ant GWT and could not load php onto it.
If you ask me, this program sucks. I like the idea, however the updates hardly ever work, and it does not support multiple coding languages like it says it does. Also the web site is shocking as it gives you 100 options to download.
Coulnt the have just made the one platform and then provided links to the plugins ???
Correct me if i am wrong guys, but trying to get PHP and Java working in eclipse is torture. Ive been stuck for 3 days now, installing and uinstalling.
One final rant, the download speeds of the eclipse servers are below 10kb, and take about half a day to install one update.
My prob is, I have to use it as the project i am working was archived with Eclipse.
Did you follow the steps presented on this installation page? There is a From update site section in which they describe how to install it from the Software Updates menu.
I had this problem recently.
I started with the J2EE Ganymede setup and added the PDT tools (via Update) afterwards.
Then I added Subclipse afterwards.
G.
(I wish they wouldn't change the eclipse pages all the time...)
Look for "runtime" on the downloads page for PDT (http://www.eclipse.org/pdt/downloads/)
Why do you want JDT and PDT in one installation? I usually set up different installations for different things. It just so easy, since you don't really need to install anything. I have two setups for PDT and at least 5 for JDT.
Install Aptana Studio plugin. In my experience it is much better then either PHPEclipse or PDT. However, YMMV.