How to add GlassFish Server to Eclipse Oxygen?

I am using Eclipse Oxygen for Java EE. I have installed the Java EE 7 Web Profile SDK Update 3, that includes GlassFish Open Source Edition Web Profile 4.1.2. When I do File >> New >> Server, the GlassFish does not appear on the server type list. I a...
more »

2017-08-11 20:08 (1) Answers

eclipse tricks for code modification in java

In my projects I am accessing property strings using the Messages.KEY_NAME to get the value of the property keys. Now I have to replace all those Messages.KEY_NAME into Properties.getString(KEY_NAME) function calls. Is there any trick or shortcu...
more »

2017-08-11 13:08 (0) Answers

Generated .ear.xml for Liberty in Eclipse is wrong

Problematic plugin I have an issue with the eclipse Liberty plugin which is available here on the marketplace. I linked the beta, but the behaviour with stable is exaclty the same. Maven ear project description I have a maven project which consist...
more »

2017-08-11 09:08 (3) Answers

Why does my Swing main thread die?

Morning, I'm facing a strange problem with Java - Swing. This is my main method public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { try { ...
more »

2017-08-10 16:08 (1) Answers

SDK Version Specifications in Eclipse

I am an experienced Android developer using Eclipse, but one thing still mystifies me. Namely SDK version specifications. In particular, I find several places where SDK versions are specified: Project Properties: Android: Project Build Target ...
more »

2017-08-10 16:08 (2) Answers

Adding a file in the branch main folder

I have a svn branch "AppTest" and inside a this branch there are the project folder: DAL, BL, ... etc. I need to put a configuration file in the branch, without put it in a folder. But with eclipse I can't just import a single file but only a folder...
more »

2017-08-10 08:08 (1) Answers

Deploying Jar file no main class found eclipse

Hi I have seen some threads about the problem. But none of them solved my problem. When using the Export option from exlipse selecting jar I configure it like this: Jar Export Settings Jar Export Settings 2 so far so good, the Main class is detec...
more »

2017-08-09 11:08 (1) Answers

How to update java on macOS Sierra 10.12

I am trying to install eclipse-cpp oxygen on macOS Sierra 10.12. While installing it i get an error that java version is not 1.8, while I had already installed latest JDK package. on terminal it shows java version as below java version "1.6.0_65" Ja...
more »

2017-08-08 19:08 (2) Answers

Fix missing constrains for eclipse plugins

I am maintening an eclipse plugin and when I try to launch a configuration I got about 20 missing constraint warnings. e.g.: org.eclipse.emf.mwe2.lib Missing Constraint: Import-Package: com.google.commmon.base; version="[14.0.1,19.0.0)" org.eclipse....
more »

2017-08-08 13:08 (1) Answers

How to run maven project using batch file?

This is what i have done till now: I have API automation Script in maven using testng, Following is the structure of project 2.Now i first tried to run testng.xml using command-line with following command. java -cp ".;C:\Users\A622965\.m2\r...
more »

2017-08-08 08:08 (2) Answers

Eclipse + Subversive : Can't create session

I've been using subversive pluguin quite a while and I didn't have a problem, but today I changed to a cellular network on windows 10 and I started getting this error while trying to commit : Can't create session svn: Commit failed (details follow)...
more »

2017-08-07 11:08 (2) Answers

CppUnit usage with mingw and eclipse

I am using cppunit-1.13.2 in Eclipse, with MinGW and cygwin. I followed the instructions in this tutorial Eclipse - CppUnit - Installation and they worked very well for MinGw. There some things that I did not understand, the example uses the li...
more »

2017-08-06 17:08 (0) Answers