You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/10 23:05:19 UTC
[Myfaces Wiki] Update of "JetBrains IntelliJ IDEA" by tomsp
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by tomsp:
http://wiki.apache.org/myfaces/JetBrains_IntelliJ_IDEA
------------------------------------------------------------------------------
(If you are using TortoiseSVN, right-click your local folder and select TortoiseSVN -> "Apply Patch...".
Select the downloaded patchfile. Two new windows are opened. Right-click one of the provided filenames and select "Patch all". Close the window.)
- Set linkModules in myfaces-master/maven/master-pom/pom.xml to 'true' and add the parameter:
-
+ Uncomment the maven-idea-plugin in myfaces-master/maven/master-pom/pom.xml. It should look like this:
+ {{{
+ <plugin>
+ <artifactId>maven-idea-plugin</artifactId>
+ <version>2.1-SNAPSHOT</version>
+ <configuration>
+ <jdkLevel>1.3</jdkLevel>
+ <useClassifiers>true</useClassifiers>
+ <linkModules>true</linkModules>
- <linkModulesExcept>myfaces-shared-core,myfaces-shared-impl,myfaces-shared-tomahawk,myfaces-shared-project</linkModulesExcept>
+ <linkModulesExcept>myfaces-shared-core,myfaces-shared-impl,myfaces-shared-tomahawk,myfaces-shared-project</linkModulesExcept>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+ }}}
=== Checkout MyFaces and create the IDEA Project with maven ===
1. checkout (svn) the myfaces source directory from https://svn.apache.org/repos/asf/myfaces/current
@@ -49, +60 @@
=== Customize the project ===
==== configure the Web-Modules: ====
+ add shared-tomahawk-library
+ 1. select the tomahawk module
+ 1. select the libraries tab
+ 1. press add Jar/Directory and select /shared/core/shared-tomahawk/target/myfaces-shared-tomahawk-X-snapshot.jar
+ 1. if you want to debug myfaces you should add the sources /shared/core/shared-tomahawk/target/myfaces-shared-tomahawk-X-snapshot-sources.jar
+ 1. select the Order/Export tab
+ 1. check myfaces-shared-tomahawk-X-snapshot.jar (shared lib will be visible to tomahawk-sandbox as well)
+
+ add shared-impl-library
+ 1. select the myfaces-impl module
+ 1. select the libraries tab
+ 1. press add Jar/Directory and select /shared/core/shared-impl/target/myfaces-shared-impl-X-snapshot.jar
+ 1. if you want to debug myfaces you should add the sources /shared/core/shared-impl/target/myfaces-shared-impl-X-snapshot-sources.jar
+
for each of the web-modules (they are listed in the left section of the dialog having a globe as icon)
1. select the web-module in the left section of the dialog
1. select the tab J2EE Build Settings