From 5eee3dfcc05d64d8ec7f45de09dae5eee85d1454 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 12 Aug 2012 13:41:07 +0400 Subject: Structure readme file --- README_MAVEN.txt | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'README_MAVEN.txt') diff --git a/README_MAVEN.txt b/README_MAVEN.txt index 0f0ed8eb7..a7ad20c9d 100644 --- a/README_MAVEN.txt +++ b/README_MAVEN.txt @@ -1,42 +1,42 @@ -----------------ECLIPSE------------------------- -If you use Eclipse for Jave EE, you can simply import the generated -project into Eclipse. We've tested against Eclipse 3.6. Later versions -will likely also work, earlier versions may not. +==============================ECLIPSE=========================================== + +If you use Eclipse for Jave EE, you can simply import the generated project +into Eclipse. We've tested against Eclipse 3.6. Later versions will likely also +work, earlier versions may not. Eclipse users will need to install the following plugin components: -======= - m2eclipse Core -- Maven Integration for WTP (in m2eclipse extras) - Instructions for installing the maven plugins can be found here: +- Maven Integration for WTP (in m2eclipse extras), Instructions for installing + the maven plugins can be found here: http://m2eclipse.sonatype.org/installing-m2eclipse.html -Ensure Eclipse is configured to use Java 1.6 as this sample uses -AppEngine. +Ensure Eclipse is configured to use Java 1.6 as this sample uses AppEngine. In Eclipse, go to the File menu and choose: +- File -> Import... -> Existing Maven Projects into Workspace +- Select the directory containing this file. +- Click Finish. - File -> Import... -> Existing Maven Projects into Workspace - - Select the directory containing this file. - - Click Finish. +You can now browse the project in Eclipse. To compile your project for +deployment, just type 'mvn package'. -You can now browse the project in Eclipse. +==============================NETBEANS========================================== -To compile your project for deployment, just type 'mvn package'. +From the NetBeans IDE, install the Maven plugin. To do this, select Tools-> +Plugins, select Maven, click Install, and follow the prompts. ---------------NETBEANS----------------- - -From the NetBeans IDE, install the Maven plugin. To do this, select Tools->Plugins, select Maven, click Install, and follow the prompts. - -Configure Maven in NetBeans IDE. To do this, select Tools->Options, select Miscellaneous from the top panel, then select the Maven tab. +Configure Maven in NetBeans IDE. To do this, select Tools->Options, select +Miscellaneous from the top panel, then select the Maven tab. For the External Maven Home field, browse to your Maven installation. -If the option is available, check Always use external Maven for building projects. Close the dialog. +If the option is available, check Always use external Maven for building +projects. Close the dialog. -From the NetBeans IDE, select File->Open Project, and then browse to the location of the project you'd like to open. +From the NetBeans IDE, select File->Open Project, and then browse to the +location of the project you'd like to open. Check Open as Main Project, then click Open Project. Right-click the project and select Run. + -- cgit v1.2.3