Empty Eclipse Run Configuration File - eclipse

While trying to setup Debug Configuration to debug my php project on Eclipse Java IDE for Web Developers, Eclipse Juno. There is no option to select the index.php. This is confusing because it is not even showing any files from the current workspace. Attached snapshot will explain further.
This is not letting me run the debugger, any clues here would be helpful.
Thanks.

As Atlanto suggested
"It looks like you don't have any 'PHP Project' since this dialog will show php projects only."
Thats the correct answer, Eclipse checks out projects directly and it may not check them out as Php projects. Hence make sure when checking out projects from Subversive to chose the 2nd option Find/Checkout as and then checkout them as a New Project using the wizard so they are checked out under the Php perspective and then can show under debug configuration.

Related

Eclipse Wizard does not close on "finish" in a production environment

I have an eclipse plugin which runs fine in the eclipse version i'm using for developing it. It basicly also runs fine if i export it and install it in a fresh keppler version.
My plugin contains a New Project wizard to create projects which can be used with the plugin.
Now if i used this wizard in my development eclipse if i click finish, everything runs fine the project is created and the dialog is closed.
If i do the same in the fresh keppler installation, the project will also be created and everthing seems to be correct but the dialog won't close until i hit cancel.
Now i really wanted to come up with more information but in the development environment there is no exception occuring.
Also when i start the fresh keppler one with the -debug option i won't get an exception if i hit finish().
Any ideas what could cause this problem or how i could get more information on this?
It is always worth looking in the .log file in the workspace .metadata directory when something unexplained happens to see if something has been logged.
In fact it is worth checking the log once in a while during plug-in development just in case something has been logged.

Eclipse Juno no JSP in Dynamic Web Project (but everything else is fine)

The short question, is when creating dynamic web project (1.6 jdk) I can see all file types to create but there is no option for jsp. To add to that when I check file associations there is no JSP editor to select from.
A slightly longer version is I simply want to edit JSP files, I have Juno EE version installed and it says web tools platform is installed and everything works just fine.
However while everything works, there was no *.jsp in file associations and on adding it there was no JSP editor in the list. This is an out of the box Juno EE.
So I checked installed plugins and it tells me that web tools is installed, there is an icon and a load of plugins. They are all listed under Java EE in the plugin/installation list. I even tried installing just 'java web develop tools' which lists as 'tools for working with jsp' but when I do that I get ""Eclipse Java Web Developer Tools" will be ignored because it is already installed." however I cannot uninstall it because it's part of Java EE eclipse platform. I have no other plugins installed that might have broken this, however it has taken some time to get all the settings good so I'd rather not install it all again.
So I tried to install the full WTP by hand and it said some things were already installed, but it installed others. However, still no JSP editor. Hence why I tried a dynamic web project to see if I could create JSP and it wasn't listed.
So, eclipse base install has absolutely everything (xml, html editor, java editor, all the tools) but just not JSP.
My JDK is fine as dynamic web project is not created unless you have a valid 1.6 or above.
Anyone help?
It seems your missing Eclipse web developer tools and Eclipse java web developer tools.
Help>Install new software>http://download.eclipse.org/releases/juno, select appropriate items under Web,XML,Java EE
Hope this helps
In Eclipse Juno, select File/New/Other, then type in jsp in the wizard field. Select jsp file or jsp tag and there you go. Hope that helps.
Try to install Eclipse with Java EE developer.It should work.
You can go to Eclipse Market place and search for "Java EE Developer tool". On clicking it you should be able to see if your Web developer tool is selected or not. Please select that option and your issue will be resolved.
Check your path. Make sure it is pointing to at least a 1.6 version of Java. Restart Eclipse. That fixed it for me.
If you have installed every thing proper and still it is not showing JSP option while creating new .jsp file then click to the web icon on top right corner of eclipse. If it doesn't work then you need to install updated version of eclipse.
I also faced the same problem; I looked through the "Web,XML,Java EE..." installables available at under Kepler downloads:
and that brought me the New->'JSP File' context menu item.

Installed Software/Plugins On Eclipse Has Stopped Working

I have Eclipse IDE for Java Developers (Indigo) and have been using it for several months.
I had many installed plugins including a SVN one and e-git.
Then one day, they just all stopped working. For example, I used to be able to commit from the Explorer (using the SVN plugin), but that option has disappeared as if it is not installed.
I have checked the installed software list and they are all present.
Is there a setting somewhere that I may have miss?
Thanks in adavnced!
Please check the error log in workspace/.metadata/.log to see if there is any warnings or errors.
Also, have you tried other perspectives, like plug-in development, or SVN.
Open eclipse
Go to Window -> Show view -> Other -> SVN
Choose new workspace and check out the project that you did

errors on eclipse startup (WebDev + JBoss Tools + Tomcat)

i'm running into following errors everytime i start eclipse. If i move my project to a new workspace, everything works fine for the duration of one session - as soon as i open eclipse for the next time, the same thing is popping up again.
I tried various suggestions i found in other posts (closing/reopening project, validation, cleaning,etc.) without success. Here is my stacktrace from the last session (its too long to post it directly in here:))
The main symptom is that Tomcat doesnt start - it is stuck at 7%.
Thank you guys in advance, your help is highly appreciated!! If you need anything else, just leave me a comment and i i'll post it!
Your Eclipse environment is seriously messed up. Perhaps you installed plugins the wrong way or you used the wrong Eclipse or plugin version.
Trash everything. Delete the Eclipse program folder altogether. You can keep your workspace folder, but you should delete its .metadata folder. Now download a fresh copy of Eclipse for Java EE (note, with the EE!), extract it and then integrate Tomcat again the usual way by the Servers view. Note that you don't need any additional plugins for this step.
JBoss Tools should be installed via Help > Install New Software. You should specify the JBoss Tools update site matching the exact Eclipse version. Currently it's Indigo SR2, so you should specify http://download.jboss.org/jbosstools/updates/indigo/SR2/ as URL.

JSP editor for eclipse, does it exist?

I noticed that my Eclipse does not include JSP Editor. Does standard JSP editor exist for Eclipse and if so, where can one download it from?
The JavaEE version of Eclipse has full JSP support. The standard java development version doesn't.
Alternatively, you should be able to install the WebTools plugin(s) into an existing Eclipse, that should give you JSP support also.
I had this same problem!
I resolved it by switching my eclipse perspective to JAVA EE perspective.
Go to help -> Install New Software and install webtool.
And for whomever that still not seeing the editor, set JSP editor to be the default editor for JSP files in this way
Having the same problem, I researched this and I found many solutions. After installing the Web Tool PLug-Ins, I was able to get the .jsp editor to work. Its important to know that you must close your .jsp files then reopen it, or you may be convinced that the solution didn't work. You can confirm that the Web Tool Install worked if you go to the following:
Window -> Preferences
In the list of options, you will see General. Expand that menu.
Expand the "Editors" menu
Click on the option "File Assocations"
There will be a "file type" (I'm using Keleper) with a list of different file types.
In this list, select .jsp.
In this list you should see a list of editors. Select JSP editor. Then click OK.
This is something I discovered when trying to get mine to work.
Go To Preference->General->Editors->File Associations
Check editor for *.jsp type.
If it's not present, add one.
If it's Class file viewer, then remove it.
Worked for me.
To install from within IDE for newer Eclipse clients:
Help->Eclipse Marketplace
Search for "Eclipse Java EE Developer Tools". Install.