lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "HowtoConfigureIntelliJ" by SteveRowe
Date Wed, 11 May 2011 21:07:07 GMT
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: Added lucene_solr_3_1 to list of applicable branches.
http://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ?action=diff&rev1=9&rev2=10

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

  = Configure IntelliJ =
  == IntelliJ (9.0.X and 10.0.X) ==
- In Lucene/Solr `branches/branch_3x` and `trunk/`, running '''{{{ant idea}}}''' from the
command line will populate your working copy with the configuration files IntelliJ needs to
be able to compile, test, and debug Lucene and Solr. To then open the code in IntelliJ IDEA,
simply hit File->Open Project and Choose the directory containing the checked out source
(i.e. the top level directory that contains both the lucene and solr directories.)
+ In Lucene/Solr `branches/lucene_solr_3_1/`, `branches/branch_3x/` and `trunk/`, running
'''`ant idea`''' from the command line will populate your working copy with the configuration
files IntelliJ needs to be able to compile, test, and debug Lucene and Solr. To then open
the code in IntelliJ IDEA, simply hit File->Open Project and Choose the directory containing
the checked out source (i.e. the top level directory that contains both the lucene and solr
directories.)
  
  The project configuration will have:
  
@@ -10, +10 @@

   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.
+ 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.
 <!> '''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. <!>
+ 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. <!>
  

Mime
View raw message