Installing m2e in customized Eclipse Luna - java

I have "Visual COBOL for Eclipse", which is an eclipse version based on Luna tailored for Cobol.
Now I would like to install m2e into it. Unfortunately I am sitting behind a crazy proxy that blocks random jars from be downloaded if the user agent is not a browser (as, e.g. eclipse)
Can I download m2e as a bundle from somewhere and tell Eclipse to install it from some directory? Or is there any other way to install m2e without Eclipse trying to download jars from the internet?

Minimally you should be able to go to the m2e releases page and click on "Show Directory Contents" (or just add /?d to the end of the URL), then download the files listed there. Unfortunately that requires manually downloading everything one file at a time.
With everything downloaded I would assume that you could give it to Eclipse as a local update site, or .zip it all up as an archived update site.
I think you'll want one of the 1.5.x releases for Luna, although it may not matter. I'm using Luna at the moment and have 1.5.1 installed.
I also quickly tried the approach listed here: How to Download Eclipse Update Site for Offline Use (using wget --recursive on the site mentioned above), but it doesn't seem to work on the Eclipse downloads site. Also since you mention that you want to get the file directly from the browser, that approach may not even work in your case either.

Related

Is it possible to install the nb-javac jar file in NetBeans12.0 while offline?

While my workstation is not technically offline, NetBeans is not allowed to communicate with the OSUOSL site to pull the nb-javac library. Oddly enough, I can browse to the site & download the JAR file manually, but the company firewall won't let NetBeans do it.
Is there a way to install the jar file without letting NetBeans access the site?
Of note, if you are stuck with JDK 8, you are stuck (AFAICT). Try and get a more recent JDK and set the NetBeans default JDK to that (in the NetBeans /etc/netbeans.conf file).
If you do that, then as per the link #skomisa provided, you'll be good to go.

Eclipse-PMD : error while installing through eclipse market place

I'm trying to install the PMD source code analyser plugin for Eclipse. It's available through Eclipse Market Place, but I'm getting following problem in the phase of installation :
Why am I getting this problem ?
EDIT
I do not have this menu even though I have added the ruleset configuration file
I'm the creator of eclipse-pmd, the plugin you are trying to install. I tried to install it myself just now and it worked without any problems. So I can only guess what could be the problem in your case:
The repository was temporarily not available
Simply try again.
You are using a (very) old version of Eclipse
The plugin requires Eclipse Indigo (3.7) or later. I tried to install eclipse-pmd with Indigo and Luna just now and it worked both times.
Run Eclipse with Java 7
You need to run Eclipse with a JRE 7 or later. There have been problems during the installation with people using an older JRE in the past. However they could finish the installation but Eclipse silently refused to load the plugin (this has been fixed a few versions ago though).
Proxy configuration
Although unlikely as you came this far, please open the proxy configuration in Eclipse and check if the settings are correct and the domain is accessible.
If you tried everything I suggested above and are still not able to install the plugin, please head over to the project's Github page and open an issue.

I have just installed android SDK updates and now my projects are full of errors

I recently just installed downloaded and installed some updates in the android sdk to get access to some features and now when I have restarted eclipse all the projects have errors!!
Theres a small error at the start of package and the only resolutions it suggests is reconfigure build path, here is a picture of the carnage. Does anyone know how I can resolve this?
If java.util is an offending import, you haven't got your JRE configured properly or either the build or the IDE are in a kind of corrupted state. Since you already used the Clean command I'm going for a more complex issue.
Check your project's configuration and make sure you're not still referencing your old Java implementation. If by installing updates you mean that you downloaded a new version, installed it and then deleted the one you've been using so far, then the IDE might not be finding the JRE system library your project has currently configured.
Try right clicking your project > Build Path > Configure build path, then check if your current JRE system library is unbound. If so, you'll have to configure it again on the Libraries tab by using Add Library > JRE System Library.

Does having multiple instances of GAE SDK on your machine cause conflicts?

I would like to install both the Google-Eclipse plugin (which I believe also install the GAE SDK) for my Eclipse instance, so that I may take advantage of a lot of the IDE tools and features it comes with, and also so that I can run my app from inside Eclipse.
I would also like to install just the pure GAE SDK so that I can run my app outside of Eclipse on my regular system.
Because the GAE SDK is a diverse and complex beast, I am worried about having two instances of the GAE SDK installed on the same machine (setting conflicting ENV VARs, trying to open the same port number, etc.).
Obviously, I would take care to never be running the 2 GAE dev servers (1 that ships with the Eclipse plugin, and the other that ships with the pure SDK) at the same time, but that might not guarantee that I have 0 conflicts.
I would also be fine with just installing the Eclipse plugin if there was a way to configure the GAE SDK that it ships with to run both from Eclipse as well as the bash shell. That would probably be the easiest but I don't believe this is possible to do.
Any thoughts as to what my options are here? Thanks in advance!
You can do that by having a single SDK installed and using it for both Eclipse and also for bash shell.You can do that by following the steps below:
Download a Suitable GAE SDK from here and install it.
Open Eclipse and Select Help->Install new software.
In work with box enter the url as http://dl.google.com/eclipse/plugin/4.2 and from the list of available softwares select only "Google Plugin for Eclipse" software and select any other required plugin but not the SDKs. Keep it unchecked!
After installing the selected plugins, in Window->Preferences->Google->AppEngine click on add and then select the installation directory as the directory from step 1 and give a suitable name. Make it as default.
Now you are good to go.If you need to run from shell, invoke dev_appserver from the installation directory. Or if you want to run from from eclipse just run it from there.

What can't I see the run-as server option in eclipse

I'm working on a project in Eclipse Version: 3.5.2
My colleague and I both checked out the same maven project from svn. I'm trying to debug it by running it in Tomcat.
He can see the run-as server option when he right-clicks the project, but I can't.
What did I forget to do?
I can't even see the server option under Window->Show View->Other
Thanks
Deployment of applications on Java EE Application Servers or containers is possible only when you have WTP installed. From the screenshots posted, I can infer that either WTP is unavailable or it hasn't been loaded by Eclipse (for some unfortunate reason).
You ought to perform one of the following:
You can get a copy of the Eclipse IDE for Java EE developers, which contains WTP by default. If you need the Galileo edition, you will need to look into the Galileo archives. Also, you should use a JDK to start Eclipse. WTP might not be available if you use a JRE.
If you do not wish to install Eclipse with WTP from scratch, install the WTP plug-ins. Use the Galileo update site for this.
If you are sure that you have WTP installed, but you are unable to find that Galileo has loaded the plug-ins, then you will need to inspect the contents of the .metadata\.log file in your workspace. This would give you a hint as to why the plug-in was not loaded. Start Eclipse with the -clean flag, to get Eclipse to detect the plug-in if it hasn't done so previously.
Note: If WTP has been installed, you should be able to confirm this by view the list of loaded features, as shown below.
Here's are some instructions I wrote up when I configured my Eclipse to work with Tomcat. Hopefully it'll help you.
Open Servers Window
Open the Servers view.
If servers view is not open, select menu item Window/Show View/Other...
Select Servers under the Server section.
Add New Server
Right Click in the Servers View select New/Server
Expand Apache and select Tomcat v5.5 Server
Click Next.
Select the directory of your Tomcat installation. (ie c:\tomcat)
Click Finish
This will be the solution for all your questions. A must read pdf.
Did you create a Web Project? If you right click on the project and go to Properties > Project Facets is Dynamic Web Module selected. This works for me.
In case of web application 3.0 in my case i have taken war file of project and deleted existing app from eclipse and replaced it with war it worked for me

Categories

Resources