You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/01/20 23:15:31 UTC

[Lucene-java Wiki] Update of "HowtoConfigureIntelliJ" by SteveRowe

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "HowtoConfigureIntelliJ" page has been changed by SteveRowe.
The comment on this change is: modified mention of modules/analysis/*/ to cover modules/benchmark/ too: modules/*/; added warning about using the clean-idea target when you have shelved changes.
http://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ?action=diff&rev1=7&rev2=8

--------------------------------------------------

  
  The project configuration will have:
  
-  1. An IntelliJ module for each Solr/Lucene module (Lucene and Solr core, Lucene and Solr contribs, and `modules/analysis/*/`), with jar and inter-module dependencies defined.
+  1. An IntelliJ module for each Solr/Lucene module (Lucene and Solr core, Lucene and Solr contribs, and `modules/*/` on trunk), with jar and inter-module dependencies defined.
   1. A JUnit test run/debug configuration defined for each module's tests, including the runtime directory and required JVM parameters.  All tests run and pass.  IntelliJ allows more than one of these to run simultaneously, so you can gain some test parallelism by starting up more than one at a time.
   1. Ant integration: from the "Run" menu, you can invoke any Ant task defined in any module's build.xml file.
  
  After '''{{{ant idea}}}''' runs, it will print out instructions about finishing the configuration, including putting the Lucene code style configuration in place, and configuring the project SDK.
  
- Running '''{{{ant clean-idea}}}''' from the command line removes all IntelliJ configuration files.  If you already have an existing configuration, but want to replace it with the one provided by '''{{{ant idea}}}''', it's a good idea to run '''{{{ant clean-idea}}}''' first.
+ Running '''{{{ant clean-idea}}}''' from the command line removes all IntelliJ configuration files.  If you already have an existing configuration, but want to replace it with the one provided by '''{{{ant idea}}}''', it's a good idea to run '''{{{ant clean-idea}}}''' first.  <!> '''WARNING''': IntelliJ apparently uses the `.idea/` directory, which is removed by '''{{{ant clean-idea}}}''', to store shelved changes - do not run '''{{{ant clean-idea}}}''' if you have shelved any changes. <!>