eclipse-wtp

Export the Eclipse XML Formatting Rules?

。_饼干妹妹 提交于 2019-12-05 06:56:05
Is there a way to export the settings defined in Window > Preferences Dialog under XML > XML Files > Editor in Eclipse 3.5 Galileo (Java EE Package)? And where do Eclipse stores these settings? Now i got an eclipse_xml_format.epf with the following content /instance/org.eclipse.wst.xml.core/lineWidth=120 /instance/org.eclipse.wst.xml.core/indentationChar=space /instance/org.eclipse.wst.xml.core/indentationSize=4 But i can't import this file! VonC The file recording those XML settings is: <workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.wst.xml.core.prefs That is:

Eclipse web.xml editor

大憨熊 提交于 2019-12-05 05:05:27
I have Helios Service Release 2 installed with WTP tools. I created a simple dynamic web project. When I open web.xml, which opens with default XML editor, it shows only two tabs:Design(Standard XML tab) & Source. When I worked with Rational Software Architect in past, it opened web.xml with tabs like 'Servlet', 'References' so on to let you easily edit various parts of web.xml in visual point & click manner. Is this possible with Eclipse? btw, I tried 'Open with' menu option but couldn't find appropriate editor for web.xml Thanks natros You can install JBoss tools through Eclipse marketplace

Jetty 9 WTP plugin

你。 提交于 2019-12-05 01:58:00
问题 do anybody know if there is a Jetty 9 WTP plugin for Eclipse available? I can't find official one (only for Jetty 7&8) so maybe there's some 3rd party plugin? Thanks a lot. 回答1: We stopped updating the one for 7 and 8, and I suspect the folks behind run-jetty-run will update that eventually. Most people I know use the jetty-maven-plugin, write a small embedded instance of jetty to start, or use something like Webby. http://code.google.com/p/run-jetty-run/ https://docs.sonatype.org/display

Eclipse hangs for 3-4 seconds before displaying a tooltip message

不问归期 提交于 2019-12-05 01:41:23
I've searched the Internet like crazy, however "WTP freeze" or "Eclipse freeze" yields so many different results that it's virtually impossible to find the right one. I have the following issue. In a HTML or CSS editor when I accidentally hover my mouse over an attribute value, Eclipse hangs for 3-4 seconds with CPU at 100% load before producing a tooltip message with some info on the tag and its attribute. I don't need those tips. Hell, I don't even need syntax coloring if that would prevent me from this hang. I tried disabling all the autocomplete features, everything that seemed related,

Eclipse debug-time classpath problem: How do you include a dependent project's output into a web project's runtime classpath?

时光总嘲笑我的痴心妄想 提交于 2019-12-04 18:31:58
问题 So I started with a web services project (just a dynamic web project) that builds and debugs correctly from eclipse. We've pulled a chunk of common code out that we want to put into a shared library so now those classes are going into a separate jar project that the web project references. On the web project, I did Project->Properties->Java Build Path->Projects->Add and added the jar project. And this correctly solved all the compile-time classpath problems and everything builds fine. But at

eclipse launch configuration for web project

不想你离开。 提交于 2019-12-04 16:43:14
So I right click on my project and choose "Run on server" and runs fine. But I cant seem to be able to move the run configuration (the .launch file) in my project - when I go to run configurations > Server tab I see the launch config for tomcat which if I run it launches Tomcat fine but does not display the index of my web app - which is displayed alright if I rclick on the project and choose "Run on server". In ${workspace_loc}\.metadata\.plugins\org.eclipse.debug.core\.launches I have both : Tomcat v7.0 Server at localhost.launch : <?xml version="1.0" encoding="UTF-8" standalone="no"?>

IvyDE + WTP: How to workaround that ivy library is ignored by WTP?

人走茶凉 提交于 2019-12-04 11:49:31
I have found IvyDE which allows me to solve an outstanding problem of having a frozen core version of a web application, which needs to be able to pull in extra code from an update library so it is on the classpath of the web application. For development speed I've found that the "Resolve in Workspace" facility allows Eclipse to put the folders of the update library project directly on the build path of the frozen core web application. Works well for normal Java applications. For Web Applications, however, it seems that WTP (the Eclipse Java EE module) does not deploy the folders denoted by

Eclipse - How to add Kotlin to a Tomcat Project - Compile Kotlin AND Java Files

試著忘記壹切 提交于 2019-12-04 10:04:54
I need help adding Kotlin compiling to an existing eclipse java tomcat project. For the record I am on Eclipse Oxygen 4.7, and have installed the Kotlin plugin. I have successfully created and ran gradle based spring boot Kotlin rest api demo and can compile and run "Kotlin Only Projects" and use my other java libs - AWESOME. However now that I have Kotlin I want to use it in work for my other 'legacy' Tomcat 8 projects that are Java J2EE - Dynamic WTP ... new servlets I want to write in Kotlin. I want to be able to add a Kotlin class in the java src folder in any of my previous packages so

Debugging a tomcat project in Eclipse 3.4.2

半世苍凉 提交于 2019-12-04 08:42:35
问题 I downloaded eclipse 3.4.2 and tried installing tomcat plugin (version 3.2.1)for eclipse from sysdeo (http://www.eclipsetotale.com/tomcatPlugin.html) I have followed installation instructions but when is start tomcat from eclipse toolbar i got the following error java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class

Eclipse webtools project (WTP) and its performance / quality

你说的曾经没有我的故事 提交于 2019-12-04 07:37:24
问题 Our company is using eclipse since several years now (we are using WTP since release 0.7) I am currently evaluating eclipse 3.6.2 with WTP 3.2.3 which should replace eclipse 3.4.2 with WTP 3.0.4 as being our main IDE. And I have to say that once again I am quite disappointed in concerns of performance: WTP 3.2.3 seems to be much slower than 3.0.4. In fact I am really wondering why WTP gets slower with each release. One of our applications (dynamic web project) contain about 4000 java classes