Author: baerrach Date: Tue Jun 2 22:35:04 2009 New Revision: 781192 URL: http://svn.apache.org/viewvc?rev=781192&view=rev Log: Added trouble shooting guide to documentationt
Added: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt (with props) Modified: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/index.apt maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/jdk-being-used-is-different-than-expected.apt maven/plugins/trunk/maven-eclipse-plugin/src/site/site.xml Modified: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/index.apt?rev=781192&r1=781191&r2=781192&view=diff ============================================================================== --- maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/index.apt (original) +++ maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/index.apt Tue Jun 2 22:35:04 2009 @@ -107,4 +107,8 @@ * {{{examples/ajdt-projects.html}AJDT projects}} - * {{{examples/specifying-source-path-inclusions-and-exclusions.html}Specifying source path inclusions and exclusions}} \ No newline at end of file + * {{{examples/specifying-source-path-inclusions-and-exclusions.html}Specifying source path inclusions and exclusions}} + +* Trouble Shooting + + See {{{trouble-shooting/index.html}Trouble Shooting}} for more details. \ No newline at end of file Added: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt?rev=781192&view=auto ============================================================================== --- maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt (added) +++ maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt Tue Jun 2 22:35:04 2009 @@ -0,0 +1,18 @@ + ------ + Trouble Shooting + ------ + Barrie Treloar + ------ + 03 June 2009 + ------ + +Trouble Shooting + + A list of more in-depth trouble shooting guides + +* The JDK being used is different than you expected. + + After running mvn eclipse:eclipse your project's are using a different JDK than expected. + + See {{{jdk-being-used-is-different-than-expected.html}jdk being used is different than expected}}. + Propchange: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/index.apt ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Modified: maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/jdk-being-used-is-different-than-expected.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/jdk-being-used-is-different-than-expected.apt?rev=781192&r1=781191&r2=781192&view=diff ============================================================================== --- maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/jdk-being-used-is-different-than-expected.apt (original) +++ maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/trouble-shooting/jdk-being-used-is-different-than-expected.apt Tue Jun 2 22:35:04 2009 @@ -8,46 +8,46 @@ Summary - After running <<<mvn eclipse:eclipse>>> your project's are using a different JDK than expected. - + After running <<<mvn eclipse:eclipse>>> your project's are using a different JDK than expected. + Checklist * Correct version of Java source specified in <<<maven-compiler-plugin>>>? - For example, setting the source to 1.6 compliance? - + For example, setting the source to 1.6 compliance? + +--- <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>1.6</source> + <target>1.6</target> </configuration> </plugin> +--- * The default JDK defined in eclipse matches what you expect? - In eclipse's preferences check Java > Installed JREs and that the selected one is the version you expect. - + In eclipse's preferences check Java > Installed JREs and that the selected one is the version you expect. + * The Execution Environment for the expected version is bound in eclipse preferences? - In eclipse's preferences check Java > Installed JREs > Execution Environment has a bound value for compatible JREs. - - For example, JavaSE-1.6 should have "perfect match" or an Installed JRE selected as being compatible. + In eclipse's preferences check Java > Installed JREs > Execution Environment has a bound value for compatible JREs. + + For example, JavaSE-1.6 should have "perfect match" or an Installed JRE selected as being compatible. * The <<<.claspath>>> specifies the correct Java container? - Open the <<<.classpath>>> file and look for the <<<<classpathentry kind="con">>> entry. - - It should either be using the default JRE: - + Open the <<<.classpath>>> file and look for the <<<<classpathentry kind="con">>> entry. + + It should either be using the default JRE: + +--- - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> +--- Or it should be a specified execution environment: - + +--- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> +--- \ No newline at end of file Modified: maven/plugins/trunk/maven-eclipse-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/site/site.xml?rev=781192&r1=781191&r2=781192&view=diff ============================================================================== --- maven/plugins/trunk/maven-eclipse-plugin/src/site/site.xml (original) +++ maven/plugins/trunk/maven-eclipse-plugin/src/site/site.xml Tue Jun 2 22:35:04 2009 @@ -26,6 +26,7 @@ <item name="Goals" href="plugin-info.html"/> <item name="Usage" href="usage.html"/> <item name="FAQ" href="faq.html"/> + <item name="Trouble Shooting" href="trouble-shooting/index.html"/> </menu> <menu name="Configuration"> <item name="Multiple Module Projects" href="reactor.html"/>