Added: dev/buildr/1.5.0/site/rdoc/Buildr/IntellijIdea/IdeaProject.html
==============================================================================
--- dev/buildr/1.5.0/site/rdoc/Buildr/IntellijIdea/IdeaProject.html (added)
+++ dev/buildr/1.5.0/site/rdoc/Buildr/IntellijIdea/IdeaProject.html Sat Sep 17 
06:18:39 2016
@@ -0,0 +1,2051 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<meta charset="UTF-8">
+
+<title>class Buildr::IntellijIdea::IdeaProject - buildr</title>
+
+<script type="text/javascript">
+  var rdoc_rel_prefix = "../../";
+</script>
+
+<script src="../../js/jquery.js"></script>
+<script src="../../js/darkfish.js"></script>
+
+<link href="../../css/fonts.css" rel="stylesheet">
+<link href="../../css/rdoc.css" rel="stylesheet">
+
+
+
+<body id="top" role="document" class="class">
+<nav role="navigation">
+  <div id="project-navigation">
+    <div id="home-section" role="region" title="Quick navigation" 
class="nav-section">
+  <h2>
+    <a href="../../index.html" rel="home">Home</a>
+  </h2>
+
+  <div id="table-of-contents-navigation">
+    <a href="../../table_of_contents.html#pages">Pages</a>
+    <a href="../../table_of_contents.html#classes">Classes</a>
+    <a href="../../table_of_contents.html#methods">Methods</a>
+  </div>
+</div>
+
+    <div id="search-section" role="search" class="project-section 
initially-hidden">
+  <form action="#" method="get" accept-charset="utf-8">
+    <div id="search-field-wrapper">
+      <input id="search-field" role="combobox" aria-label="Search"
+             aria-autocomplete="list" aria-controls="search-results"
+             type="text" name="search" placeholder="Search" spellcheck="false"
+             title="Type to search, Up and Down to navigate, Enter to load">
+    </div>
+
+    <ul id="search-results" aria-label="Search Results"
+        aria-busy="false" aria-expanded="false"
+        aria-atomic="false" class="initially-hidden"></ul>
+  </form>
+</div>
+
+  </div>
+
+  
+
+  <div id="class-metadata">
+    
+    <div id="parent-class-section" class="nav-section">
+  <h3>Parent</h3>
+
+  
+  <p class="link"><a href="IdeaFile.html">Buildr::IntellijIdea::IdeaFile</a>
+  
+</div>
+
+    
+    
+    <!-- Method Quickref -->
+<div id="method-list-section" class="nav-section">
+  <h3>Methods</h3>
+
+  <ul class="link-list" role="directory">
+    
+    <li class="calls-super" ><a href="#method-c-new">::new</a>
+    
+    <li ><a href="#method-i-add_artifact">#add_artifact</a>
+    
+    <li ><a href="#method-i-add_configuration">#add_configuration</a>
+    
+    <li ><a href="#method-i-add_data_source">#add_data_source</a>
+    
+    <li ><a 
href="#method-i-add_default_configuration">#add_default_configuration</a>
+    
+    <li ><a 
href="#method-i-add_default_testng_configuration">#add_default_testng_configuration</a>
+    
+    <li ><a 
href="#method-i-add_exploded_ear_artifact">#add_exploded_ear_artifact</a>
+    
+    <li ><a 
href="#method-i-add_exploded_ejb_artifact">#add_exploded_ejb_artifact</a>
+    
+    <li ><a 
href="#method-i-add_exploded_war_artifact">#add_exploded_war_artifact</a>
+    
+    <li ><a 
href="#method-i-add_glassfish_configuration">#add_glassfish_configuration</a>
+    
+    <li ><a 
href="#method-i-add_glassfish_configuration_wrapper">#add_glassfish_configuration_wrapper</a>
+    
+    <li ><a 
href="#method-i-add_glassfish_remote_configuration">#add_glassfish_remote_configuration</a>
+    
+    <li ><a 
href="#method-i-add_glassfish_runner_settings">#add_glassfish_runner_settings</a>
+    
+    <li ><a href="#method-i-add_gwt_configuration">#add_gwt_configuration</a>
+    
+    <li ><a href="#method-i-add_jar_artifact">#add_jar_artifact</a>
+    
+    <li ><a href="#method-i-add_java_configuration">#add_java_configuration</a>
+    
+    <li ><a 
href="#method-i-add_postgres_data_source">#add_postgres_data_source</a>
+    
+    <li ><a 
href="#method-i-add_ruby_script_configuration">#add_ruby_script_configuration</a>
+    
+    <li ><a 
href="#method-i-add_sql_server_data_source">#add_sql_server_data_source</a>
+    
+    <li ><a href="#method-i-artifact_content">#artifact_content</a>
+    
+    <li ><a href="#method-i-artifacts_component">#artifacts_component</a>
+    
+    <li ><a href="#method-i-base_document">#base_document</a>
+    
+    <li ><a 
href="#method-i-configurations_component">#configurations_component</a>
+    
+    <li ><a href="#method-i-data_sources_component">#data_sources_component</a>
+    
+    <li ><a href="#method-i-default_components">#default_components</a>
+    
+    <li ><a href="#method-i-extension">#extension</a>
+    
+    <li ><a 
href="#method-i-framework_detection_exclusion_component">#framework_detection_exclusion_component</a>
+    
+    <li ><a href="#method-i-initial_components">#initial_components</a>
+    
+    <li ><a href="#method-i-jdk_version">#jdk_version</a>
+    
+    <li ><a href="#method-i-modules_component">#modules_component</a>
+    
+    <li ><a href="#method-i-mssql_dialect_mapping">#mssql_dialect_mapping</a>
+    
+    <li ><a 
href="#method-i-postgres_dialect_mapping">#postgres_dialect_mapping</a>
+    
+    <li ><a 
href="#method-i-project_details_component">#project_details_component</a>
+    
+    <li ><a 
href="#method-i-project_root_manager_component">#project_root_manager_component</a>
+    
+    <li ><a href="#method-i-resolve_path">#resolve_path</a>
+    
+    <li ><a href="#method-i-sql_dialect_mappings">#sql_dialect_mappings</a>
+    
+    <li ><a href="#method-i-vcs_component">#vcs_component</a>
+    
+    <li ><a href="#method-i-version">#version</a>
+    
+  </ul>
+</div>
+
+  </div>
+</nav>
+
+<main role="main" aria-labelledby="class-Buildr::IntellijIdea::IdeaProject">
+  <h1 id="class-Buildr::IntellijIdea::IdeaProject" class="class">
+    class Buildr::IntellijIdea::IdeaProject
+  </h1>
+
+  <section class="description">
+    
+<p><a href="IdeaModule.html">IdeaModule</a> represents an .ipr file</p>
+
+  </section>
+
+  
+  
+  
+  <section id="5Buntitled-5D" class="documentation-section">
+    
+
+    
+
+    
+
+    
+    <section class="attribute-method-details" class="method-section">
+      <header>
+        <h3>Attributes</h3>
+      </header>
+
+      
+      <div id="attribute-i-artifacts" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">artifacts</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-configurations" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">configurations</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-data_sources" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">data_sources</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-extra_modules" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">extra_modules</span><span
+            class="attribute-access-type">[RW]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-jdk_version" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">jdk_version</span><span
+            class="attribute-access-type">[W]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+      <div id="attribute-i-version" class="method-detail">
+        <div class="method-heading attribute-method-heading">
+          <span class="method-name">version</span><span
+            class="attribute-access-type">[W]</span>
+        </div>
+
+        <div class="method-description">
+        
+        
+        
+        </div>
+      </div>
+      
+    </section>
+    
+
+    
+     <section id="public-class-5Buntitled-5D-method-details" 
class="method-section">
+       <header>
+         <h3>Public Class Methods</h3>
+       </header>
+
+    
+      <div id="method-c-new" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">new</span><span
+            class="method-args">(buildr_project)</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+            <div class="method-calls-super">
+              Calls superclass method
+              <a 
href="IdeaFile.html#method-c-new">Buildr::IntellijIdea::IdeaFile.new</a>
+            </div>
+          
+
+          
+          <div class="method-source-code" id="new-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 684</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">initialize</span>(<span 
class="ruby-identifier">buildr_project</span>)
+  <span class="ruby-keyword">super</span>()
+  <span class="ruby-ivar">@buildr_project</span> = <span 
class="ruby-identifier">buildr_project</span>
+  <span class="ruby-ivar">@extra_modules</span> = []
+  <span class="ruby-ivar">@artifacts</span> = []
+  <span class="ruby-ivar">@data_sources</span> = []
+  <span class="ruby-ivar">@configurations</span> = []
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+    </section>
+  
+     <section id="public-instance-5Buntitled-5D-method-details" 
class="method-section">
+       <header>
+         <h3>Public Instance Methods</h3>
+       </header>
+
+    
+      <div id="method-i-add_artifact" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_artifact</span><span
+            class="method-args">(name, type, build_on_make = false) { |xml| 
... }</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_artifact-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 701</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_artifact</span>(<span 
class="ruby-identifier">name</span>, <span class="ruby-identifier">type</span>, 
<span class="ruby-identifier">build_on_make</span> = <span 
class="ruby-keyword">false</span>)
+  <span class="ruby-identifier">add_to_composite_component</span>(<span 
class="ruby-keyword">self</span>.<span 
class="ruby-identifier">artifacts</span>) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">artifact</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">name</span>, <span class="ruby-value">:type</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">type</span>, <span 
class="ruby-string">&#39;build-on-make&#39;</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">build_on_make</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-keyword">yield</span> <span 
class="ruby-identifier">xml</span> <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">block_given?</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_configuration" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_configuration</span><span
+            class="method-args">(name, type, factory_name, default = false, 
options = {}) { |xml| ... }</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 709</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_configuration</span>(<span 
class="ruby-identifier">name</span>, <span class="ruby-identifier">type</span>, 
<span class="ruby-identifier">factory_name</span>, <span 
class="ruby-identifier">default</span> = <span 
class="ruby-keyword">false</span>, <span class="ruby-identifier">options</span> 
= {})
+  <span class="ruby-identifier">add_to_composite_component</span>(<span 
class="ruby-keyword">self</span>.<span 
class="ruby-identifier">configurations</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">params</span> = <span 
class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
+    <span class="ruby-identifier">params</span>[<span 
class="ruby-value">:type</span>] = <span class="ruby-identifier">type</span>
+    <span class="ruby-identifier">params</span>[<span 
class="ruby-value">:factoryName</span>] = <span 
class="ruby-identifier">factory_name</span>
+    <span class="ruby-identifier">params</span>[<span 
class="ruby-value">:name</span>] = <span class="ruby-identifier">name</span> 
<span class="ruby-keyword">unless</span> <span 
class="ruby-identifier">default</span>
+    <span class="ruby-identifier">params</span>[<span 
class="ruby-value">:default</span>] = <span class="ruby-keyword">true</span> 
<span class="ruby-keyword">if</span> <span 
class="ruby-identifier">default</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">configuration</span>(<span 
class="ruby-identifier">params</span>) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-keyword">yield</span> <span 
class="ruby-identifier">xml</span> <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">block_given?</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_data_source" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_data_source</span><span
+            class="method-args">(name, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_data_source-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 785</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_data_source</span>(<span 
class="ruby-identifier">name</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">add_to_composite_component</span>(<span 
class="ruby-keyword">self</span>.<span 
class="ruby-identifier">data_sources</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">data_source_options</span> = {
+      <span class="ruby-value">:source</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;LOCAL&#39;</span>,
+      <span class="ruby-value">:name</span> =<span 
class="ruby-operator">&gt;</span> <span class="ruby-identifier">name</span>,
+      <span class="ruby-value">:uuid</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-constant">Buildr</span><span class="ruby-operator">::</span><span 
class="ruby-constant">Util</span>.<span class="ruby-identifier">uuid</span>
+    }
+    <span class="ruby-identifier">classpath</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:classpath</span>] <span class="ruby-operator">||</span> []
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;data-source&#39;</span>, <span 
class="ruby-identifier">data_source_options</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;synchronize&#39;</span>, (<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:synchronize</span>]<span 
class="ruby-operator">||</span><span class="ruby-string">&#39;true&#39;</span>))
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;jdbc-driver&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:driver</span>]) <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:driver</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;jdbc-url&#39;</span>, <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:url</span>]) 
<span class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:url</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;user-name&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:username</span>]) <span class="ruby-keyword">if</span> 
<span class="ruby-identifier">options</span>[<span 
class="ruby-value">:username</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;user-password&#39;</span>, <span 
class="ruby-identifier">encrypt</span>(<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:password</span>])) <span class="ruby-keyword">if</span> 
<span class="ruby-identifier">options</span>[<span 
class="ruby-value">:password</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;schema-pattern&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:schema_pattern</span>]) <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:schema_pattern</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;default-schemas&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:default_schemas</span>]) <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:default_schemas</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;table-pattern&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:table_pattern</span>]) <span class="ruby-keyword">if</span> 
<span class="ruby-identifier">options</span>[<span 
class="ruby-value">:table_pattern</span>]
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;default-dialect&#39;</span>, <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:dialect</span>]) <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:dialect</span>]
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">libraries</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+        <span class="ruby-identifier">classpath</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span 
class="ruby-identifier">classpath_element</span><span 
class="ruby-operator">|</span>
+          <span class="ruby-identifier">a</span> = <span 
class="ruby-constant">Buildr</span>.<span 
class="ruby-identifier">artifact</span>(<span 
class="ruby-identifier">classpath_element</span>)
+          <span class="ruby-identifier">a</span>.<span 
class="ruby-identifier">invoke</span>
+          <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">library</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span>(<span 
class="ruby-string">&#39;url&#39;</span>, <span 
class="ruby-identifier">resolve_path</span>(<span 
class="ruby-identifier">a</span>.<span class="ruby-identifier">to_s</span>))
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span> <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">classpath</span>.<span 
class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> 
<span class="ruby-value">0</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_default_configuration" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_default_configuration</span><span
+            class="method-args">(type, factory_name) { |xml| ... }</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_default_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 722</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_default_configuration</span>(<span 
class="ruby-identifier">type</span>, <span 
class="ruby-identifier">factory_name</span>)
+  <span class="ruby-identifier">add_configuration</span>(<span 
class="ruby-keyword">nil</span>, <span class="ruby-identifier">type</span>, 
<span class="ruby-identifier">factory_name</span>, <span 
class="ruby-keyword">true</span>) <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span class="ruby-identifier">xml</span><span 
class="ruby-operator">|</span>
+    <span class="ruby-keyword">yield</span> <span 
class="ruby-identifier">xml</span> <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">block_given?</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_default_testng_configuration" class="method-detail 
">
+        
+        <div class="method-heading">
+          <span 
class="method-name">add_default_testng_configuration</span><span
+            class="method-args">(options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_default_testng_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 1140</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_default_testng_configuration</span>(<span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">jvm_args</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:jvm_args</span>] <span class="ruby-operator">||</span> 
<span class="ruby-string">&#39;-ea&#39;</span>
+  <span class="ruby-identifier">dir</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:dir</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-string">&#39;$PROJECT_DIR$&#39;</span>
+
+  <span class="ruby-identifier">add_default_configuration</span>(<span 
class="ruby-string">&#39;TestNG&#39;</span>, <span 
class="ruby-string">&#39;TestNG&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">extension</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;coverage&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;false&#39;</span>, <span 
class="ruby-value">:merge</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>, <span 
class="ruby-value">:sample_coverage</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;true&#39;</span>, <span 
class="ruby-value">:runner</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;idea&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">module</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;ALTERNATIVE_JRE_PATH_ENABLED&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;ALTERNATIVE_JRE_PATH&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;SUITE_NAME&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PACKAGE_NAME&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;MAIN_CLASS_NAME&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;METHOD_NAME&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GROUP_NAME&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;TEST_OBJECT&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;CLASS&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;VM_PARAMETERS&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">jvm_args</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PARAMETERS&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;WORKING_DIRECTORY&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">dir</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;OUTPUT_DIRECTORY&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;ANNOTATION_TYPE&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;ENV_VARIABLES&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PASS_PARENT_ENVS&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;true&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;TEST_SEARCH_SCOPE&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">opt</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">opt</span>.<span 
class="ruby-identifier">value</span>(<span 
class="ruby-value">:defaultName</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;moduleWithDependencies&#39;</span>)
+    <span class="ruby-keyword">end</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;USE_DEFAULT_REPORTERS&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PROPERTIES_FILE&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">envs</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">properties</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">listeners</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">method</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_exploded_ear_artifact" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_exploded_ear_artifact</span><span
+            class="method-args">(project, options ={})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_exploded_ear_artifact-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 856</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_exploded_ear_artifact</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> ={})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">to_artifact_name</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span>)
+
+  <span class="ruby-identifier">add_artifact</span>(<span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-string">&#39;exploded-ear&#39;</span>, <span 
class="ruby-identifier">build_on_make</span>(<span 
class="ruby-identifier">options</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">dependencies</span> = (<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:dependencies</span>] <span class="ruby-operator">||</span> 
([<span class="ruby-identifier">project</span>] <span 
class="ruby-operator">+</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">compile</span>.<span 
class="ruby-identifier">dependencies</span>)).<span 
class="ruby-identifier">flatten</span>
+    <span class="ruby-identifier">libraries</span>, <span 
class="ruby-identifier">projects</span> = <span 
class="ruby-identifier">partition_dependencies</span>(<span 
class="ruby-identifier">dependencies</span>)
+
+    <span class="ruby-identifier">emit_output_path</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">root</span> <span class="ruby-value">:id</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;root&#39;</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">emit_module_output</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">projects</span>)
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;directory&#39;</span>, <span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;lib&#39;</span> <span class="ruby-keyword">do</span>
+        <span class="ruby-identifier">emit_libraries</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">libraries</span>)
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_exploded_ejb_artifact" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_exploded_ejb_artifact</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_exploded_ejb_artifact-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 889</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_exploded_ejb_artifact</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">to_artifact_name</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span>)
+
+  <span class="ruby-identifier">add_artifact</span>(<span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-string">&#39;exploded-ejb&#39;</span>, <span 
class="ruby-identifier">build_on_make</span>(<span 
class="ruby-identifier">options</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">dependencies</span> = (<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:dependencies</span>] <span class="ruby-operator">||</span> 
[<span class="ruby-identifier">project</span>]).<span 
class="ruby-identifier">flatten</span>
+    <span class="ruby-identifier">libraries</span>, <span 
class="ruby-identifier">projects</span> = <span 
class="ruby-identifier">partition_dependencies</span>(<span 
class="ruby-identifier">dependencies</span>)
+    <span class="ruby-identifier">raise</span> <span 
class="ruby-node">&quot;Unable to add non-project dependencies 
(#{libraries.inspect}) to ejb artifact&quot;</span> <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">libraries</span>.<span 
class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> 
<span class="ruby-value">0</span>
+
+    <span class="ruby-identifier">emit_output_path</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">root</span> <span class="ruby-value">:id</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;root&#39;</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">artifact_content</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">projects</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_exploded_war_artifact" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_exploded_war_artifact</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_exploded_war_artifact-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 817</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_exploded_war_artifact</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">to_artifact_name</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span>)
+  <span class="ruby-identifier">artifacts</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:artifacts</span>] <span class="ruby-operator">||</span> []
+
+  <span class="ruby-identifier">add_artifact</span>(<span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-string">&#39;exploded-war&#39;</span>, <span 
class="ruby-identifier">build_on_make</span>(<span 
class="ruby-identifier">options</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">dependencies</span> = (<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:dependencies</span>] <span class="ruby-operator">||</span> 
([<span class="ruby-identifier">project</span>] <span 
class="ruby-operator">+</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">compile</span>.<span 
class="ruby-identifier">dependencies</span>)).<span 
class="ruby-identifier">flatten</span>
+    <span class="ruby-identifier">libraries</span>, <span 
class="ruby-identifier">projects</span> = <span 
class="ruby-identifier">partition_dependencies</span>(<span 
class="ruby-identifier">dependencies</span>)
+
+    <span class="ruby-identifier">emit_output_path</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">root</span> <span class="ruby-value">:id</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;root&#39;</span> <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;directory&#39;</span>, <span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;WEB-INF&#39;</span> <span 
class="ruby-keyword">do</span>
+        <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;directory&#39;</span>, <span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;classes&#39;</span> <span 
class="ruby-keyword">do</span>
+          <span class="ruby-identifier">artifact_content</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">projects</span>, <span 
class="ruby-identifier">options</span>)
+        <span class="ruby-keyword">end</span>
+        <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;directory&#39;</span>, <span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;lib&#39;</span> <span class="ruby-keyword">do</span>
+          <span class="ruby-identifier">emit_libraries</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">libraries</span>)
+          <span class="ruby-identifier">emit_jar_artifacts</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">artifacts</span>)
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:enable_war</span>].<span 
class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:enable_war</span>] <span class="ruby-operator">||</span> 
(<span class="ruby-identifier">options</span>[<span 
class="ruby-value">:war_module_names</span>] <span 
class="ruby-operator">&amp;&amp;</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:war_module_names</span>].<span 
class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> 
<span class="ruby-value">0</span>)
+        <span class="ruby-identifier">module_names</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:war_module_names</span>] <span 
class="ruby-operator">||</span> [<span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">name</span>]
+        <span class="ruby-identifier">module_names</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span 
class="ruby-identifier">module_name</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">facet_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:war_facet_name</span>] <span 
class="ruby-operator">||</span> <span class="ruby-string">&#39;Web&#39;</span>
+          <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;javaee-facet-resources&#39;</span>, <span 
class="ruby-value">:facet</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-node">&quot;#{module_name}/web/#{facet_name}&quot;</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-keyword">if</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:enable_gwt</span>] <span class="ruby-operator">||</span> 
(<span class="ruby-identifier">options</span>[<span 
class="ruby-value">:gwt_module_names</span>] <span 
class="ruby-operator">&amp;&amp;</span> <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:gwt_module_names</span>].<span 
class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> 
<span class="ruby-value">0</span>)
+        <span class="ruby-identifier">module_names</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:gwt_module_names</span>] <span 
class="ruby-operator">||</span> [<span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">name</span>]
+        <span class="ruby-identifier">module_names</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span 
class="ruby-identifier">module_name</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">facet_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:gwt_facet_name</span>] <span 
class="ruby-operator">||</span> <span class="ruby-string">&#39;GWT&#39;</span>
+          <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">element</span> <span class="ruby-value">:id</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;gwt-compiler-output&#39;</span>, <span 
class="ruby-value">:facet</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-node">&quot;#{module_name}/gwt/#{facet_name}&quot;</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_glassfish_configuration" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_glassfish_configuration</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_glassfish_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 1003</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_glassfish_configuration</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:name</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">id</span>
+  <span class="ruby-identifier">version</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:version</span>] <span class="ruby-operator">||</span> <span 
class="ruby-string">&#39;4.1.0&#39;</span>
+  <span class="ruby-identifier">server_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:server_name</span>] <span class="ruby-operator">||</span> 
<span class="ruby-node">&quot;GlassFish #{version}&quot;</span>
+  <span class="ruby-identifier">configuration_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:configuration_name</span>] <span 
class="ruby-operator">||</span> <span class="ruby-identifier">server_name</span>
+  <span class="ruby-identifier">domain_name</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:domain</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">id</span>
+  <span class="ruby-identifier">domain_port</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:port</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-string">&#39;9009&#39;</span>
+  <span class="ruby-identifier">packaged</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:packaged</span>] <span class="ruby-operator">||</span> {}
+  <span class="ruby-identifier">exploded</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:exploded</span>] <span class="ruby-operator">||</span> {}
+
+  <span class="ruby-identifier">add_to_composite_component</span>(<span 
class="ruby-keyword">self</span>.<span 
class="ruby-identifier">configurations</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">configuration</span>(<span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">configuration_name</span>, <span 
class="ruby-value">:type</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GlassfishConfiguration&#39;</span>, <span 
class="ruby-value">:factoryName</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Local&#39;</span>, <span 
class="ruby-value">:default</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-keyword">false</span>, <span 
class="ruby-value">:APPLICATION_SERVER_NAME</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">server_name</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;OPEN_IN_BROWSER&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;UPDATING_POLICY&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;restart-server&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">deployment</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">deployment</span><span class="ruby-operator">|</span>
+        <span class="ruby-identifier">packaged</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span 
class="ruby-identifier">deployable</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">artifact</span> = <span 
class="ruby-constant">Buildr</span>.<span 
class="ruby-identifier">artifact</span>(<span 
class="ruby-identifier">deployable</span>)
+          <span class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">invoke</span>
+          <span class="ruby-identifier">deployment</span>.<span 
class="ruby-identifier">file</span>(<span class="ruby-value">:path</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">resolve_path</span>(<span 
class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">to_s</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">file</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">file</span>.<span 
class="ruby-identifier">settings</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">settings</span><span class="ruby-operator">|</span>
+              <span class="ruby-identifier">settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;contextRoot&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-node">&quot;/#{name}&quot;</span>)
+              <span class="ruby-identifier">settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;defaultContextRoot&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+            <span class="ruby-keyword">end</span>
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+        <span class="ruby-identifier">exploded</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span 
class="ruby-identifier">deployable_name</span><span 
class="ruby-operator">|</span>
+          <span class="ruby-identifier">deployment</span>.<span 
class="ruby-identifier">artifact</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">deployable_name</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">artifact</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">settings</span>
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span> <span 
class="ruby-string">&#39;server-settings&#39;</span> <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">server_settings</span><span 
class="ruby-operator">|</span>
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;VIRTUAL_SERVER&#39;</span>)
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;DOMAIN&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">domain_name</span>.<span 
class="ruby-identifier">to_s</span>)
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PRESERVE&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;USERNAME&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;admin&#39;</span>)
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;PASSWORD&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">predefined_log_file</span>(<span 
class="ruby-value">:id</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GlassFish&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;true&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">extension</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;coverage&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;false&#39;</span>, <span 
class="ruby-value">:merge</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>, <span 
class="ruby-value">:sample_coverage</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;true&#39;</span>, <span 
class="ruby-value">:runner</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;idea&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-constant">RunnerSettings</span>(<span 
class="ruby-value">:RunnerId</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Cover&#39;</span>)
+
+      <span class="ruby-identifier">add_glassfish_runner_settings</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Cover&#39;</span>)
+      <span 
class="ruby-identifier">add_glassfish_configuration_wrapper</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Cover&#39;</span>)
+
+      <span class="ruby-identifier">add_glassfish_runner_settings</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Debug&#39;</span>, {
+        <span class="ruby-value">:DEBUG_PORT</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">domain_port</span>.<span 
class="ruby-identifier">to_s</span>,
+        <span class="ruby-value">:TRANSPORT</span> =<span 
class="ruby-operator">&gt;</span> <span class="ruby-string">&#39;0&#39;</span>,
+        <span class="ruby-value">:LOCAL</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;true&#39;</span>,
+      })
+      <span 
class="ruby-identifier">add_glassfish_configuration_wrapper</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Debug&#39;</span>)
+
+      <span class="ruby-identifier">add_glassfish_runner_settings</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Run&#39;</span>)
+      <span 
class="ruby-identifier">add_glassfish_configuration_wrapper</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Run&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">method</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">method</span><span class="ruby-operator">|</span>
+        <span class="ruby-identifier">method</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;BuildArtifacts&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;true&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">option</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">option</span>.<span 
class="ruby-identifier">artifact</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">artifact_name</span>)
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_glassfish_remote_configuration" 
class="method-detail ">
+        
+        <div class="method-heading">
+          <span 
class="method-name">add_glassfish_remote_configuration</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" 
id="add_glassfish_remote_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 1072</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_glassfish_remote_configuration</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:name</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">id</span>
+  <span class="ruby-identifier">version</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:version</span>] <span class="ruby-operator">||</span> <span 
class="ruby-string">&#39;4.1.0&#39;</span>
+  <span class="ruby-identifier">server_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:server_name</span>] <span class="ruby-operator">||</span> 
<span class="ruby-node">&quot;GlassFish #{version}&quot;</span>
+  <span class="ruby-identifier">configuration_name</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:configuration_name</span>] <span 
class="ruby-operator">||</span> <span class="ruby-node">&quot;Remote 
#{server_name}&quot;</span>
+  <span class="ruby-identifier">domain_port</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:port</span>] 
<span class="ruby-operator">||</span> <span 
class="ruby-string">&#39;9009&#39;</span>
+  <span class="ruby-identifier">packaged</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:packaged</span>] <span class="ruby-operator">||</span> {}
+  <span class="ruby-identifier">exploded</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:exploded</span>] <span class="ruby-operator">||</span> {}
+
+  <span class="ruby-identifier">add_to_composite_component</span>(<span 
class="ruby-keyword">self</span>.<span 
class="ruby-identifier">configurations</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">configuration</span>(<span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">configuration_name</span>, <span 
class="ruby-value">:type</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GlassfishConfiguration&#39;</span>, <span 
class="ruby-value">:factoryName</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Remote&#39;</span>, <span 
class="ruby-value">:default</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-keyword">false</span>, <span 
class="ruby-value">:APPLICATION_SERVER_NAME</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">server_name</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;LOCAL&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;UPDATING_POLICY&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;hot-swap-classes&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">deployment</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">deployment</span><span class="ruby-operator">|</span>
+        <span class="ruby-identifier">packaged</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span 
class="ruby-identifier">deployable</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">artifact</span> = <span 
class="ruby-constant">Buildr</span>.<span 
class="ruby-identifier">artifact</span>(<span 
class="ruby-identifier">deployable</span>)
+          <span class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">invoke</span>
+          <span class="ruby-identifier">deployment</span>.<span 
class="ruby-identifier">file</span>(<span class="ruby-value">:path</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">resolve_path</span>(<span 
class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">to_s</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">file</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">file</span>.<span 
class="ruby-identifier">settings</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">settings</span><span class="ruby-operator">|</span>
+              <span class="ruby-identifier">settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;contextRoot&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-node">&quot;/#{name}&quot;</span>)
+              <span class="ruby-identifier">settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;defaultContextRoot&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>)
+            <span class="ruby-keyword">end</span>
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+        <span class="ruby-identifier">exploded</span>.<span 
class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span 
class="ruby-identifier">deployable_name</span><span 
class="ruby-operator">|</span>
+          <span class="ruby-identifier">deployment</span>.<span 
class="ruby-identifier">artifact</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">deployable_name</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">artifact</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">artifact</span>.<span 
class="ruby-identifier">settings</span>
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">tag!</span> <span 
class="ruby-string">&#39;server-settings&#39;</span> <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">server_settings</span><span 
class="ruby-operator">|</span>
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;VIRTUAL_SERVER&#39;</span>)
+        <span class="ruby-identifier">server_settings</span>.<span 
class="ruby-identifier">data</span> <span class="ruby-keyword">do</span> <span 
class="ruby-operator">|</span><span class="ruby-identifier">data</span><span 
class="ruby-operator">|</span>
+          <span class="ruby-identifier">data</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;adminServerHost&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+          <span class="ruby-identifier">data</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;clusterName&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+          <span class="ruby-identifier">data</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;stagingRemotePath&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+          <span class="ruby-identifier">data</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;transportHostId&#39;</span>)
+          <span class="ruby-identifier">data</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;transportStagingTarget&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">option</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">option</span>.<span 
class="ruby-constant">TransportTarget</span> <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">tt</span><span class="ruby-operator">|</span>
+              <span class="ruby-identifier">tt</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;id&#39;</span>, <span class="ruby-value">:value</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;X&#39;</span>)
+            <span class="ruby-keyword">end</span>
+          <span class="ruby-keyword">end</span>
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">predefined_log_file</span>(<span 
class="ruby-value">:id</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GlassFish&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;true&#39;</span>)
+
+      <span class="ruby-identifier">add_glassfish_runner_settings</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Debug&#39;</span>, {
+                                         <span 
class="ruby-value">:DEBUG_PORT</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-identifier">domain_port</span>.<span 
class="ruby-identifier">to_s</span>,
+                                         <span 
class="ruby-value">:TRANSPORT</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;0&#39;</span>,
+                                         <span 
class="ruby-value">:LOCAL</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;false&#39;</span>,
+                                       })
+      <span 
class="ruby-identifier">add_glassfish_configuration_wrapper</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Debug&#39;</span>)
+
+      <span class="ruby-identifier">add_glassfish_runner_settings</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Run&#39;</span>)
+      <span 
class="ruby-identifier">add_glassfish_configuration_wrapper</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-string">&#39;Run&#39;</span>)
+
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">method</span> <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">method</span><span class="ruby-operator">|</span>
+        <span class="ruby-identifier">method</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;BuildArtifacts&#39;</span>, <span 
class="ruby-value">:enabled</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;true&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">option</span><span class="ruby-operator">|</span>
+          <span class="ruby-identifier">option</span>.<span 
class="ruby-identifier">artifact</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">artifact_name</span>)
+        <span class="ruby-keyword">end</span>
+      <span class="ruby-keyword">end</span>
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_gwt_configuration" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_gwt_configuration</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_gwt_configuration-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 968</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_gwt_configuration</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">launch_page</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:launch_page</span>]
+  <span class="ruby-identifier">name</span> = <span 
class="ruby-identifier">options</span>[<span class="ruby-value">:name</span>] 
<span class="ruby-operator">||</span> (<span 
class="ruby-identifier">launch_page</span> <span class="ruby-operator">?</span> 
<span class="ruby-node">&quot;Run #{launch_page}&quot;</span> <span 
class="ruby-operator">:</span> <span class="ruby-node">&quot;Run 
#{project.name} DevMode&quot;</span>)
+  <span class="ruby-identifier">shell_parameters</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:shell_parameters</span>]
+  <span class="ruby-identifier">vm_parameters</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:vm_parameters</span>] <span class="ruby-operator">||</span> 
<span class="ruby-string">&#39;-Xmx512m&#39;</span>
+  <span class="ruby-identifier">singleton</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:singleton</span>].<span class="ruby-identifier">nil?</span> 
<span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> 
<span class="ruby-operator">:</span> <span class="ruby-operator">!</span><span 
class="ruby-operator">!</span><span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:singleton</span>]
+  <span class="ruby-identifier">super_dev</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:super_dev</span>].<span class="ruby-identifier">nil?</span> 
<span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> 
<span class="ruby-operator">:</span> <span class="ruby-operator">!</span><span 
class="ruby-operator">!</span><span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:super_dev</span>]
+  <span class="ruby-identifier">gwt_module</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:gwt_module</span>]
+
+  <span class="ruby-identifier">start_javascript_debugger</span> = <span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:start_javascript_debugger</span>].<span 
class="ruby-identifier">nil?</span> <span class="ruby-operator">?</span> <span 
class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span 
class="ruby-operator">!</span><span class="ruby-operator">!</span><span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:start_javascript_debugger</span>]
+
+  <span class="ruby-identifier">add_configuration</span>(<span 
class="ruby-identifier">name</span>, <span 
class="ruby-string">&#39;GWT.ConfigurationType&#39;</span>, <span 
class="ruby-string">&#39;GWT Configuration&#39;</span>, <span 
class="ruby-keyword">false</span>, <span class="ruby-value">:singleton</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">singleton</span>) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">module</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">project</span>.<span 
class="ruby-identifier">iml</span>.<span class="ruby-identifier">name</span>)
+
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;VM_PARAMETERS&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">vm_parameters</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;RUN_PAGE&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">launch_page</span>) <span 
class="ruby-keyword">if</span> <span class="ruby-identifier">launch_page</span>
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;GWT_MODULE&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">gwt_module</span>) <span class="ruby-keyword">if</span> 
<span class="ruby-identifier">gwt_module</span>
+
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;START_JAVASCRIPT_DEBUGGER&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">start_javascript_debugger</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;USE_SUPER_DEV_MODE&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">super_dev</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;SHELL_PARAMETERS&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">shell_parameters</span>) <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">shell_parameters</span>
+
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-constant">RunnerSettings</span>(<span 
class="ruby-value">:RunnerId</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Debug&#39;</span>) <span 
class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;DEBUG_PORT&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;&#39;</span>)
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;TRANSPORT&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-value">0</span>)
+      <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">option</span>(<span class="ruby-value">:name</span> 
=<span class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;LOCAL&#39;</span>, <span 
class="ruby-value">:value</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-keyword">true</span>)
+    <span class="ruby-keyword">end</span>
+
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-constant">RunnerSettings</span>(<span 
class="ruby-value">:RunnerId</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Run&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-constant">ConfigurationWrapper</span>(<span 
class="ruby-value">:RunnerId</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Run&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-constant">ConfigurationWrapper</span>(<span 
class="ruby-value">:RunnerId</span> =<span class="ruby-operator">&gt;</span> 
<span class="ruby-string">&#39;Debug&#39;</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">method</span>()
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_jar_artifact" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_jar_artifact</span><span
+            class="method-args">(project, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          
+          
+          
+          
+
+          
+          <div class="method-source-code" id="add_jar_artifact-source">
+            <pre><span class="ruby-comment"># File lib/buildr/ide/idea.rb, 
line 873</span>
+<span class="ruby-keyword">def</span> <span 
class="ruby-identifier">add_jar_artifact</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span> = {})
+  <span class="ruby-identifier">artifact_name</span> = <span 
class="ruby-identifier">to_artifact_name</span>(<span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">options</span>)
+
+  <span class="ruby-identifier">dependencies</span> = (<span 
class="ruby-identifier">options</span>[<span 
class="ruby-value">:dependencies</span>] <span class="ruby-operator">||</span> 
[<span class="ruby-identifier">project</span>]).<span 
class="ruby-identifier">flatten</span>
+  <span class="ruby-identifier">libraries</span>, <span 
class="ruby-identifier">projects</span> = <span 
class="ruby-identifier">partition_dependencies</span>(<span 
class="ruby-identifier">dependencies</span>)
+  <span class="ruby-identifier">raise</span> <span 
class="ruby-node">&quot;Unable to add non-project dependencies 
(#{libraries.inspect}) to jar artifact&quot;</span> <span 
class="ruby-keyword">if</span> <span 
class="ruby-identifier">libraries</span>.<span 
class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> 
<span class="ruby-value">0</span>
+
+  <span class="ruby-identifier">jar_name</span> = <span 
class="ruby-node">&quot;#{artifact_name}.jar&quot;</span>
+  <span class="ruby-identifier">add_artifact</span>(<span 
class="ruby-identifier">jar_name</span>, <span 
class="ruby-string">&#39;jar&#39;</span>, <span 
class="ruby-identifier">build_on_make</span>(<span 
class="ruby-identifier">options</span>)) <span class="ruby-keyword">do</span> 
<span class="ruby-operator">|</span><span 
class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
+    <span class="ruby-identifier">emit_output_path</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">artifact_name</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-identifier">xml</span>.<span 
class="ruby-identifier">root</span>(<span class="ruby-value">:id</span> =<span 
class="ruby-operator">&gt;</span> <span 
class="ruby-string">&#39;archive&#39;</span>, <span 
class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span 
class="ruby-identifier">jar_name</span>) <span class="ruby-keyword">do</span>
+      <span class="ruby-identifier">artifact_content</span>(<span 
class="ruby-identifier">xml</span>, <span 
class="ruby-identifier">project</span>, <span 
class="ruby-identifier">projects</span>, <span 
class="ruby-identifier">options</span>)
+    <span class="ruby-keyword">end</span>
+  <span class="ruby-keyword">end</span>
+<span class="ruby-keyword">end</span></pre>
+          </div>
+          
+        </div>
+
+        
+
+        
+      </div>
+
+    
+      <div id="method-i-add_java_configuration" class="method-detail ">
+        
+        <div class="method-heading">
+          <span class="method-name">add_java_configuration</span><span
+            class="method-args">(project, classname, options = {})</span>
+          
+          <span class="method-click-advice">click to toggle source</span>
+          
+        </div>
+        
+
+        <div class="method-description">
+          

[... 1018 lines stripped ...]


Reply via email to