eclipse wont let me create a dynamic web project - java

I recently downloaded java7 and eclipse indigo to my computer. I am trying to create a dynamic web project but it wont let me. It will only let me create General, CVS, Java, and Maven projects.
I would like to compile a project into a WAR file and am having difficulty.

If you have downloaded the Eclipse Classic or the Eclipse for Java Developers package, you will need an additional component called Eclipse Java EE Developer Tools. I suggest you install the whole Web,XML, Java EE and OSGI Enterprise Development section.
If you download Eclipse IDE for Java EE Developers you won't need to add it.
Use this guide to install new components in your IDE.

Related

Can Java Netbeans desktop application and Maven work together?

I have developed a java desktop application in netbeans 8.1 for a security project I am currently busy with.
I have been asked by the client to add Google drive or DropBox to the desktop application for storing the data files on the cloud storage at any of the two mentioned above.
I have done research and have seen that the only way to get this to work is to use Maven or Gradle.
I have picked up that there is Maven projects in Netbeans, But I would like to know if the following is possible:
Would it be possible to just copy the desktop application to the Maven created project?
Do I need to use the dependencies to add the jars needed for the desktop application classes?
Will I need to re-download the jar files or how can I add the jars that I currently have on the computer to the Maven project?
Will the copying of the normal desktop application to the maven project affect any of the other features created previously?
Does the Maven project work differently from normal java desktop applications created in Netbeans?
I would be very grateful for answers to this or any other information that would help out. I do not want to start this transition and land up it not working out.
Any information will be tremendously helpful.
Much appreciated for your help
At work here, most java developers use netbeans with Maven.
Netbeans for java is built around Maven.

How to create a Web Form in Java with Eclipse

I'm trying to create a simple webform in Java with Eclipse but I've seen that I have to do New Project --> Web --> Dynamic Project
However, all I see when I click on New Project is the screenshoot below. I don't have the Web option.
I'm using Ubuntu and I've installed Eclipse Standard 4.3.2 (http://www.eclipse.org/downloads/packages/release/Kepler/SR2)
Should I install a different version? Eclipse IDE for Java EE Developers?
UPDATE
This is the printshoot of the error when installing the IDE for Java Developers
Eclipse IDE for Java EE is not a different version so much as a different package containing support for developing JSPs, Servlets, and other web artifacts. Kepler SR2, though, is a version--a two year old one that's since been superseded by Mars.2. So download the Mars.2 version of the Eclipse IDE for Java EE Developers. The download page at http://download.eclipse.org/ should always have the current supported version.

Is there a way to open *.pbxproj files with eclipse?

I'm looking (if it exists) a way to import few XCode java projects into eclipse, maybe a plugin or something that starting from a pbxproj file, generates an eclipse project (.classpath + .project).
After many searches on the internet I reached this URI:
Migrating from XCode to eclipse.
There you can read this:
Migrating with a script is pretty easy and it is not a complex script, it just copies files and puts Java classes into the package structure. The script does not do everything, it just takes the drudgery out of it. You will want to convert all the frameworks before the applications as the applications will need the frameworks to build.
The first step is to create a new Eclipse project, a Wonder Application or a Wonder Framework, and give it the same name as the Xcode project. This does NOT mean you will be using Project Wonder, it just refers to a project layout developed for Wonder.
cd into your Xcode project, Run ./fleeto /path/to/eclipse/project, Refresh the project in Eclipse (select and press F5 or use the context menu), Repeat for other frameworks and applications.
For working in Eclipse you will want to have the framework projects included as required projects in the applications and frameworks that use them. For each project, Properties - Java Build Path is the central place to manage your project. Select the Projects tab and add the framework projects that this application references.
These project dependencies work in Eclipse but not for deployment. For deployment you need to reference frameworks from their installed location. Install the framework (see Install on the context menu).
Then go to the Properties - Java Build Path - Libraries tab and configure the WO Frameworks library. Expand the nodes and select the installed framework(s).
REMOVE the checkmarks beside the ERJars and ERExtensions framework if you are not using Project Wonder. Finally, adjust the order on the Order and Export tab so that required projects appear before the WO Frameworks Library. Doing this ensures that Eclipse uses the current code and not a previously installed version.

How do I migrate an Eclipse GAE project to Maven such that it won't be tied to Eclipse?

I have an open source Eclipse Google App Engine project (it's called LastCalc and it's open source, you can find it here, created using the GAE Eclipse plugin.
The problem is that several months ago I switched IDEs to IntelliJ IDEA. Since most of my projects were Maven-based this wasn't an issue, but LastCalc was stubbornly tied to Eclipse.
I'm hoping that someone can suggest an easy way to migrate this project to Maven such that it will work nicely in both IDEA and Eclipse.
We released the app engine maven plugin and a gustbook sample with that plugin. I don't think the manual migration is very difficult. You can create a directory structure similar to our guestbook sample and copy your source and resource files. Dependency might be a bit cumbersome, so maybe you can try the 'Convert to Maven Project' functionality of the newer version of m2eclipse.

Choosing Netbeans project template or maven's project template

I'm little confused because of too many options when we take anything in java. I want to create a web application in java. whether i have create web application from 'java web' or 'maven' by creating new project in netbeans. I may use some archetypes in my future, but whether maven project has full IDE support from netbeans
I've been using Maven projects in NB 7 without a problem.

Categories

Resources