eclipse-wtp

Eclipse web.xml editor

醉酒当歌 提交于 2019-12-07 02:19:50
问题 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

Eclipse WTP deployment of build path dependencies

天大地大妈咪最大 提交于 2019-12-06 10:48:51
I have an Eclipse project that is dependent on other projects (Project Properties/Java Build Path/Projects), and these other projects export their own libraries (Project Properties/Java Build Path/Order and Export). Is there a way to get Eclipse WTP and/or JBoss Tools to include the dependent project's exported files in a deployment? I can add the jars individually via the Deployment Assembly but I don't want to duplicate the configuration. We currently use MyEclipse for this but we're trying to get away from it for other reasons. Craig Let's say your projects are called "util" for the one

eclipse launch configuration for web project

▼魔方 西西 提交于 2019-12-06 10:07:22
问题 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

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

狂风中的少年 提交于 2019-12-06 07:24:06
问题 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

Maven webapp with Eclipse and WTP plugin deploy files in stranges ways in Tomcat

佐手、 提交于 2019-12-06 03:34:45
I use Eclipse J2EE 3.5 with Maven and tomcat. To deploy my maven webapp with WTP I added a Dynamic Web Module facet and changed the "org.eclipse.wst.common.component" file of the project because the webapp is not in a WebContent directory, here is the content of the file: <?xml version="1.0" encoding="UTF-8"?> <project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="toto"> <wb-resource deploy-path="/" source-path="/src/main/webapp"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="

Which Eclipse wtp version should I use for maven?

[亡魂溺海] 提交于 2019-12-06 02:55:42
I receive this error when I try to run the maven goal - mvn eclipse:eclipse -Dwtpversion=3.3.1 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8 :eclipse (default-cli) on project conference-web: Unsupported WTP version: 3.3.1 . This plugin currently supports only the following versions: 1.0 1.5 2.0 R7 non e. -> [Help 1] [ERROR] Will using version 2.0 suffice ? But should'nt the goal run successfully ? <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <wtpmanifest>true</wtpmanifest> <wtpapplicationxml>true<

Does the Eclipse Web Tools Project handle refactoring inside JSPs?

最后都变了- 提交于 2019-12-06 02:47:34
问题 I've installed the Web Tools Project for Eclipse version 3.4. I've been trying to get refactoring working the way I think it should and have had no success. I have one Java project that contains the Java classes for the jar that is put into the /WEB-INF/lib for a web site. Another project (a Dynamic Web project) has the JSP files for the same site. The Dynamic Web project is set up with the Java project as a required project in the build path. I have also set the Project References option for

Multi Module Maven2 Project with WTP

谁都会走 提交于 2019-12-06 01:52:22
问题 I'm having a hard time to make my Maven2 multi module project, with a deep project structure, appear as a single ear (with its dependencies - which includes 1 war, 2 ejbs and 1 jar) to be deployed in my JBOSS 5 server inside my Eclipse Ganymede (tab Servers). I've been trying to use Maven Eclipse Plugin to turn my projects into a WTP project without success. Therefore they appear to be deployed in the server they appear as separated projets. My project has 1 war, 2 ejbs and 1 jar that must be

Import Existing Maven in Eclipse as WTP

☆樱花仙子☆ 提交于 2019-12-05 09:47:10
I had to reinstall my Eclipse and now i have to import all the existing projects into the new workspace. The previous version of Eclipse was Galileo, this version is Indigo. The plugins are installed, but after the "Import Existing Maven Project" the projects are not showing as WTP (WebApp Project)... Do i need something else to setup or config? Thanks a lot! Dariop Yes, you need to install additional software. The "Maven Integration for Eclipse WTP" See here: http://marketplace.eclipse.org/node/96737 Update Site: http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ You can convert a

Plugin installation fails because required items are missing

不打扰是莪最后的温柔 提交于 2019-12-05 07:46:30
I tried to install Web Tool Platform for Eclipse but I can not succeed due to the following error. Cannot complete the install because one or more required items could not be found. Software being installed: CXF Web Services 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG (org.eclipse.jst.ws.cxf.feature.feature.group 1.1.0.v201201312103-7H79FHxFAKlbotH5e9l3vAA6MBG) Missing requirement: Java EE Component 1.1.501.v201108102200 (org.eclipse.jst.j2ee 1.1.501.v201108102200) requires 'bundle org.eclipse.emf.codegen [2.2.0,3.0.0)' but it could not be found Missing requirement: Java EE Component 1.1