eclipse-wtp

m2eclipse and/or wtp not packaging a dependency correctly?

我与影子孤独终老i 提交于 2019-11-30 05:17:42
问题 Eclipse Indigo SR 1, wtp 3.3.0, m2eclipse 1.0.100. When publishing a project to WTP, I'm getting strange behavior with one of the dependencies; instead of putting the jar in the WEB-INF/lib folder, it's creating a folder named for the expected jar, and then putting the source tree (apparently) from that project under that folder. I can't see anything in the dependency's pom.xml or this project's pom.xml that could be causing this. Other dependencies are being brought over just fine, as jars.

Can a multi-module m2eclipse/WTP project get utility modules deployed into WEB-INF/classes?

我只是一个虾纸丫 提交于 2019-11-30 04:48:21
问题 We currently use MyEclipse with its built-in Maven4MyEclipse integration and its built-in J2EE server support, but want to convert over to regular eclipse (Helios specifically) to be able to use its 64-bit install on windows. (MyEclipse does not yet support 64-bit on Windows.) So far I've got a working prototype of Helios eclipse using m2eclipse with the WTP plugin deploying our large web application to tomcat. Deployment is a little processor intensive, but it works and the app starts up.

Eclipse WTP plugin no Apache Tomcat adapter

你说的曾经没有我的故事 提交于 2019-11-30 00:19:57
I am using Galileo Eclipse, I downloaded WTP plugin, but no Apache Tomcat plugin when I try to add Tomcat server... any quick idea? Alain Pannetier In WTP you can download plugins for many different web container or Java EE application servers. To do so go to Window => Preferences => Server => Runtime Environments => Add... Select the server(s) you want to work with. However, as Raghuram as pointed out, you'd probably be better off starting from the 'Eclipse for Java EE developers` altogether. This is because WTP is built on top of many 'infrastructure' plugins such as EMF and the dependencies

How to change default Eclipse WTP “Web Resources” dynamic folder

懵懂的女人 提交于 2019-11-30 00:17:11
I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp. CHiRo79 I found the solution: Under .settings folder in your project's folder, there is a file named "org.eclipse.wst.common.component", inside it change the line <wb-resource deploy-path="/" source-path="/WebContent"/> with <wb-resource deploy-path="/" source-path="/src/main/webapp"/> . That's all! I prefer the following solution, as the configuration is then saved in the .project file and also all files are kept visible in the Eclipse Project

Eclipse WTP: How do I enable SSL on Tomcat?

谁说我不能喝 提交于 2019-11-29 20:16:51
Eclipse WTP creates its own server.xml file which it places in some folder which configures the tomcat instance you are running for your web project. If you double click on the server in the servers list you get a nice screen which makes it simple to configure some aspects of the server.xml file. How do I configure a new connection to allow SSL connections on port 8443. Everytime I edit the server.xml file manually, eclipse overwrites my changes with the settings it has stored in the server properties page of the configuration and it seems there is no way to add a new connector from the

How to add HTML Editor to Eclipse?

隐身守侯 提交于 2019-11-29 10:54:06
问题 I just upgraded to Eclipse Kepler, the non-J2EE version. The HTML Editor is missing. I read elsewhere that I could install the "Web Page Editor", which I did, but the system now generates all kinds of errors when building my project. Apparently it can't find some JSF classes. I have no interest in using JSF. The Web Page Editor install did include the HTML Editor, but it was so much trouble I had to uninstall. How do I get my old HTML Editor back? 回答1: Alternatively, you can just install the

How to disable autoopen internal webbrowser after run webapp?

一个人想着一个人 提交于 2019-11-29 05:38:09
When I run web app on server in STS internal web browser opens. I want to disable this but I don't know where can I do this. zb226 Eldelshell already sort of answered this, but I think a little more info might help other people. He's correct about going to Window -> Preferences -> General -> Web Browser and creating a new external external browser configuration. This will only work with an executable, though. Thus, entering /dev/null in the "Location" field won't work. What to put there depends on which type of operating system you're on, but basically you want to specifiy a command that doesn

Tomcat and Eclipse Zero Turnaround Deployment

允我心安 提交于 2019-11-28 19:34:11
I want to be able to deploy code changes to Tomcat (near instantly), while I'm developing in Eclipse. So far, I have my output from Eclipse placing the built classes in the WEB-INF/classes folder of my web application. I also have a reloadable context, with the web.xml as a watched resource. Any edit / save to this file does reload my web app, taking just over one second - much quicker than building a new war file and deploying it in full. However, what I'd like to do is trigger the redeploy when I edit any source file. As the .class files are being modified in Tomcat, it seems I just need to

Why is Eclipse not attaching 3rd party libs source files to a WTP-faceted Gradle project?

穿精又带淫゛_ 提交于 2019-11-28 18:19:59
The sources are downloaded in the Gradle cache and the classpath-entries for the source files looks ok, but Eclipse does not show the source files for 3rd party libs. <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="output" path="bin/main"/> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/main/resources"/> <classpathentry output="bin/test" kind="src" path="src/test/java"/> <classpathentry output="bin/test" kind="src" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" exported="true

m2eclipse and Eclipse WTP

天大地大妈咪最大 提交于 2019-11-28 09:24:28
I have a very large workspace with about 30 projects all together. I am using Eclipse 3.5 with m2eclipse. I check out of my subversion repository using the defaults in order to import the projects into my workspace. I create a Tomcat server instance, and publish my web project to the tomcat server. Sounds easy enough. The problem is that it does not appear as though the transitive dependencies for my other projects are being automatically added to the container, so when the container starts up I get classnotfound exceptions, etc. I go into the web project's properties, and I notice that the