You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/10/11 10:51:14 UTC

svn commit: r1396951 [18/23] - in /db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/torque/ apidocs/org/apache/torque/mojo/ apidocs/org/apache/torque/mojo/class-use/...

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/testapidocs/stylesheet.css
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/testapidocs/stylesheet.css?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/testapidocs/stylesheet.css (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/testapidocs/stylesheet.css Thu Oct 11 08:51:09 2012
@@ -0,0 +1,29 @@
+/* Javadoc style sheet */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF; color:#000000 }
+
+/* Headings */
+h1 { font-size: 145% }
+
+/* Table colors */
+.TableHeadingColor     { background: #CCCCFF; color:#000000 } /* Dark mauve */
+.TableSubHeadingColor  { background: #EEEEFF; color:#000000 } /* Light mauve */
+.TableRowColor         { background: #FFFFFF; color:#000000 } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont   { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
+.FrameHeadingFont { font-size:  90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
+.FrameItemFont    { font-size:  90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
+
+/* Navigation bar fonts and colors */
+.NavBarCell1    { background-color:#EEEEFF; color:#000000} /* Light mauve */
+.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
+.NavBarFont1    { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
+
+.NavBarCell2    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
+.NavBarCell3    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/usage.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/usage.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/usage.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/usage.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,292 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Torque Maven2 Plugin - Maven Torque Plugin</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+    <div id="banner">
+                  <a href="../../" id="bannerLeft">
+    
+                                            <img src="../images/db-logo-white.png" alt="" />
+    
+            </a>
+                          <span id="bannerRight">
+    
+                                            <img src="../images/torque-logo-new.png" alt="" />
+    
+            </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+            
+  
+    
+            <div class="xleft">
+        Last Published: 2012-10-11
+                  &nbsp;| Version: 3.3.1-SNAPSHOT
+                      </div>
+            <div class="xright">            <a href="http://www.apache.org/" class="externalLink">Apache</a>
+            |
+                <a href="../../">DB</a>
+            |
+                <a href="..">Torque</a>
+            
+  
+
+  
+    
+            
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+            
+  
+    
+                   <h5>Goals</h5>
+            <ul>
+              
+    <li class="none">
+                    <a href="plugin-info.html">Goals</a>
+          </li>
+              
+    <li class="none">
+              <strong>Usage</strong>
+        </li>
+          </ul>
+              <h5>Project Documentation</h5>
+            <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+                    <a href="project-info.html">Project Information</a>
+                </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+                    <a href="project-reports.html">Project Reports</a>
+                </li>
+          </ul>
+                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+          </a>
+                       
+  
+
+  
+    
+            
+  
+    
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2><a name="Usage"></a>Usage</h2>
+<p>
+      To use the Torque Maven 2 plugin in your project, you need to configure
+      it in the pom.xml of your project. Here is an example:
+    </p>
+<div class="source"><pre>
+...
+&lt;build&gt;
+  &lt;plugins&gt;
+     &lt;plugin&gt;
+      &lt;groupId&gt;org.apache.db.torque&lt;/groupId&gt;
+      &lt;artifactId&gt;torque-maven-plugin&lt;/artifactId&gt;
+      &lt;configuration&gt;
+        &lt;targetDatabase&gt;mysql&lt;/targetDatabase&gt;
+        &lt;targetPackage&gt;org.apache.torque.test&lt;/targetPackage&gt;
+        &lt;driver&gt;org.gjt.mm.mysql.Driver&lt;/driver&gt;
+        &lt;url&gt;jdbc:mysql://localhost:3306/bookstore&lt;/url&gt;
+        &lt;user&gt;root&lt;/user&gt;
+        &lt;password&gt;&lt;/password&gt;
+      &lt;/configuration&gt;
+      &lt;executions&gt;
+        &lt;execution&gt;
+          &lt;phase&gt;generate-sources&lt;/phase&gt;
+          &lt;goals&gt;
+            &lt;goal&gt;om&lt;/goal&gt;
+            &lt;goal&gt;documentation&lt;/goal&gt;
+          &lt;/goals&gt;
+        &lt;/execution&gt;
+      &lt;/executions&gt;
+      &lt;dependencies&gt;
+        &lt;dependency&gt;
+          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
+          &lt;groupId&gt;mysql&lt;/groupId&gt;
+          &lt;version&gt;3.1.12&lt;/version&gt;
+        &lt;/dependency&gt;
+      &lt;/dependencies&gt;
+    &lt;/plugin&gt;
+  &lt;/plugins&gt;
+&lt;/build&gt;
+...
+</pre>
+</div>
+</div>
+<div class="section"><h2><a name="Generating_code"></a>Generating code</h2>
+<p>
+      In the example configuration above, the goals <code>om</code> and 
+      <code>documentation</code> are specified. Therefore, the
+      om java classes and the html documentation of the table structure 
+      will be generated in the &quot;generate sources&quot; phase. This phase will be
+      executed e.g. when running <code>mvn compile</code> or 
+      <code>mvn package</code>.
+    </p>
+<p>
+      The om classes are generated in two locations: 
+      <ul><li>
+          The base classes (which should not be modified by the user)
+          are generated by default in the directory 
+          <code>target/generated-sources/torque</code>.
+          They will be deleted if the command <code>mvn clean</code> is run.
+        </li>
+<li>
+          The non-base classes (which can be modified by the user) will be
+          generated ba default in the directory
+          <code>src/main/generated-java</code>.
+          Once generated, they will not be overwritten and will also not be
+          deleted if <code>mvn clean</code> is run.
+        </li>
+</ul>
+
+      Both paths will be added to the compile source path of maven 2,
+      so the jave files in these directories will be compiled along with the
+      other java source.
+    </p>
+<p>
+      The documentation is generated per default in the directory
+      <code>target/generated-docs/torque</code>.
+    </p>
+</div>
+<div class="section"><h2><a name="Talking_to_the_database"></a>Talking to the database</h2>
+<p>
+      To allow the Torque maven 2 plugin to communicate with the database,
+      the correct database url, database user and password must be given in the
+      Torque Maven 2 plugin's configuration. Also, the correct database driver
+      must be added as a dependency of the plugin. See the example configuration
+      above how this is done.
+    </p>
+<p>
+      For example, one can use the Torque Maven 2 plugin to create the tables
+      corresponding to the om classes. Usually, one does not want to do this
+      every time the project is compiled or built, so specifying these goals
+      in the pom.xml makes no sense. Instead, one can execute the command
+    </p>
+<div class="source"><pre>
+mvn torque:sql torque:sqlExec
+</pre>
+</div>
+<p>
+      in the project's home directory to generate the sql for creating the
+      database table and afterwards executing the sql.
+    </p>
+</div>
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2000-2012
+    
+          Apache Software Foundation
+          
+  
+
+  
+    
+            
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/allclasses-frame.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/allclasses-frame.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/allclasses-frame.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,23 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>All Classes</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+    </head>
+    <body>
+
+		<h3>All Classes</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/torque/mojo/TorqueOMMojoTest.html" target="classFrame">TorqueOMMojoTest</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/TorqueSQLMojoTest.html" target="classFrame">TorqueSQLMojoTest</a>
+			</li>
+			      </ul>
+
+    </body>
+  </html>

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/index.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/index.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/index.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/index.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,24 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference</title>
+	</head>
+    <frameset cols="20%,80%">
+		<frameset rows="30%,70%">
+			<frame src="overview-frame.html" name="packageListFrame" />
+			<frame src="allclasses-frame.html" name="packageFrame" />
+		</frameset>
+		<frame src="overview-summary.html" name="classFrame" />
+        <noframes>
+            <body>
+                <h1>Frame Alert</h1>
+                <p>
+                    You don't have frames. Go <a href="overview-summary.html">here</a>
+                </p>
+            </body>
+        </noframes>
+    </frameset>
+</html>
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueOMMojoTest.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueOMMojoTest.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueOMMojoTest.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueOMMojoTest.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,217 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>TorqueOMMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.torque.mojo;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.ArtifactRepository;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.DefaultArtifactRepository;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProjectBuilder;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.torque.mojo.OMMojo;
+<a name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.PlexusTestCase;
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="34" href="#34">34</a>  <em class="jxr_javadoccomment"> * Tests the TorqueOMMojo</em>
+<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> * @author Rapha�l Pi�roni (rafale_at_codehaus.org)</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="38" href="#38">38</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/torque/mojo/TorqueOMMojoTest.html">TorqueOMMojoTest</a>
+<a name="39" href="#39">39</a>          <strong class="jxr_keyword">extends</strong> PlexusTestCase
+<a name="40" href="#40">40</a>  {
+<a name="41" href="#41">41</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="42" href="#42">42</a>  <em class="jxr_javadoccomment">     * Test of execute method of class org.apache.torque.mojo.TorqueOMMojo;.</em>
+<a name="43" href="#43">43</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="44" href="#44">44</a>  <em class="jxr_javadoccomment">     * @throws Exception if the test fails.</em>
+<a name="45" href="#45">45</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="46" href="#46">46</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testExecute()
+<a name="47" href="#47">47</a>              <strong class="jxr_keyword">throws</strong> Exception
+<a name="48" href="#48">48</a>      {
+<a name="49" href="#49">49</a>          System.out.println (<span class="jxr_string">"execute"</span>);
+<a name="50" href="#50">50</a>  
+<a name="51" href="#51">51</a>          MavenProjectBuilder builder
+<a name="52" href="#52">52</a>                  = (MavenProjectBuilder) lookup(MavenProjectBuilder.ROLE);
+<a name="53" href="#53">53</a>  
+<a name="54" href="#54">54</a>          ArtifactRepositoryLayout localRepositoryLayout
+<a name="55" href="#55">55</a>                  = (ArtifactRepositoryLayout) lookup(
+<a name="56" href="#56">56</a>                          ArtifactRepositoryLayout.ROLE,
+<a name="57" href="#57">57</a>                          <span class="jxr_string">"default"</span>);
+<a name="58" href="#58">58</a>  
+<a name="59" href="#59">59</a>          ArtifactRepository localRepository
+<a name="60" href="#60">60</a>                  = <strong class="jxr_keyword">new</strong> DefaultArtifactRepository(
+<a name="61" href="#61">61</a>                          <span class="jxr_string">"local"</span>,
+<a name="62" href="#62">62</a>                          <span class="jxr_string">"file://"</span> + getBasedir() + File.separator
+<a name="63" href="#63">63</a>                              + <span class="jxr_string">"target/test-classes/repository"</span>,
+<a name="64" href="#64">64</a>                          localRepositoryLayout);
+<a name="65" href="#65">65</a>  
+<a name="66" href="#66">66</a>          MavenProject mavenProject = builder.buildWithDependencies(
+<a name="67" href="#67">67</a>                  <strong class="jxr_keyword">new</strong> File(
+<a name="68" href="#68">68</a>                      getBasedir(),
+<a name="69" href="#69">69</a>                      <span class="jxr_string">"target/test-classes/projects/TorqueOMMojoTest/pom.xml"</span>),
+<a name="70" href="#70">70</a>                  localRepository,
+<a name="71" href="#71">71</a>                  <strong class="jxr_keyword">null</strong>);
+<a name="72" href="#72">72</a>  
+<a name="73" href="#73">73</a>          OMMojo instance = <strong class="jxr_keyword">new</strong> OMMojo();
+<a name="74" href="#74">74</a>  
+<a name="75" href="#75">75</a>          instance.setProject(mavenProject);
+<a name="76" href="#76">76</a>  
+<a name="77" href="#77">77</a>          instance.setOutputDir(
+<a name="78" href="#78">78</a>                  mavenProject.getBuild().getSourceDirectory());
+<a name="79" href="#79">79</a>  
+<a name="80" href="#80">80</a>          instance.setContextPropertiesPath(
+<a name="81" href="#81">81</a>                  mavenProject.getBuild().getDirectory()
+<a name="82" href="#82">82</a>                      + <span class="jxr_string">"/torque/context.om.properties"</span>);
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>          instance.setBaseOutputDir(
+<a name="85" href="#85">85</a>                  mavenProject.getBuild().getDirectory()
+<a name="86" href="#86">86</a>                      + <span class="jxr_string">"/generated-sources/torque"</span>);
+<a name="87" href="#87">87</a>  
+<a name="88" href="#88">88</a>  
+<a name="89" href="#89">89</a>          instance.setSchemaDir(
+<a name="90" href="#90">90</a>                  mavenProject.getBasedir() + <span class="jxr_string">"/src/main/torque/schema"</span>);
+<a name="91" href="#91">91</a>  
+<a name="92" href="#92">92</a>          instance.setUseClasspath(<strong class="jxr_keyword">true</strong>);
+<a name="93" href="#93">93</a>  
+<a name="94" href="#94">94</a>          instance.setBasePrefix(<span class="jxr_string">"Base"</span>);
+<a name="95" href="#95">95</a>  
+<a name="96" href="#96">96</a>          instance.setSubpackageMap(<span class="jxr_string">"map"</span>);
+<a name="97" href="#97">97</a>  
+<a name="98" href="#98">98</a>          instance.setTargetPackage(<span class="jxr_string">"org.apache.torque.mojo.test"</span>);
+<a name="99" href="#99">99</a>  
+<a name="100" href="#100">100</a>         instance.setSchemaIncludes(<span class="jxr_string">"*schema.xml"</span>);
+<a name="101" href="#101">101</a> 
+<a name="102" href="#102">102</a>         instance.setSchemaExcludes(<span class="jxr_string">"id-table-schema.xml"</span>);
+<a name="103" href="#103">103</a> 
+<a name="104" href="#104">104</a>         instance.setReportFile(<span class="jxr_string">"../../../target/torque/torque."</span>
+<a name="105" href="#105">105</a>                 + mavenProject.getArtifact().getArtifactId()
+<a name="106" href="#106">106</a>                 + <span class="jxr_string">"."</span>
+<a name="107" href="#107">107</a>                 + <span class="jxr_string">"om.generation"</span>);
+<a name="108" href="#108">108</a> 
+<a name="109" href="#109">109</a>         instance.setBaseReportFile(<span class="jxr_string">"../../torque/torque."</span>
+<a name="110" href="#110">110</a>                 + mavenProject.getArtifact().getArtifactId()
+<a name="111" href="#111">111</a>                 + <span class="jxr_string">"."</span>
+<a name="112" href="#112">112</a>                 + <span class="jxr_string">"om.base.generation"</span>);
+<a name="113" href="#113">113</a> 
+<a name="114" href="#114">114</a>         instance.execute();
+<a name="115" href="#115">115</a> 
+<a name="116" href="#116">116</a>         String generatedSourcesBasePackageDir
+<a name="117" href="#117">117</a>                 = <span class="jxr_string">"generated-sources/torque/org/apache/torque/mojo/test/"</span>;
+<a name="118" href="#118">118</a> 
+<a name="119" href="#119">119</a>         String generatedSourcesPackageDir
+<a name="120" href="#120">120</a>                 = <span class="jxr_string">"src/main/java/org/apache/torque/mojo/test/"</span>;
+<a name="121" href="#121">121</a> 
+<a name="122" href="#122">122</a>         assertTrue(
+<a name="123" href="#123">123</a>                 <span class="jxr_string">"BaseTestTable1.java must exist"</span>,
+<a name="124" href="#124">124</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="125" href="#125">125</a>                         mavenProject.getBuild().getDirectory(),
+<a name="126" href="#126">126</a>                         generatedSourcesBasePackageDir + <span class="jxr_string">"BaseTestTable1.java"</span>)
+<a name="127" href="#127">127</a>                     .exists());
+<a name="128" href="#128">128</a> 
+<a name="129" href="#129">129</a>         assertTrue(
+<a name="130" href="#130">130</a>                 <span class="jxr_string">"BaseTestTable2.java must exist"</span>,
+<a name="131" href="#131">131</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="132" href="#132">132</a>                         mavenProject.getBuild().getDirectory(),
+<a name="133" href="#133">133</a>                         generatedSourcesBasePackageDir + <span class="jxr_string">"BaseTestTable2.java"</span>)
+<a name="134" href="#134">134</a>                     .exists());
+<a name="135" href="#135">135</a> 
+<a name="136" href="#136">136</a>         assertTrue(
+<a name="137" href="#137">137</a>                 <span class="jxr_string">"BaseTestTable1Peer.java must exist"</span>,
+<a name="138" href="#138">138</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="139" href="#139">139</a>                         mavenProject.getBuild().getDirectory(),
+<a name="140" href="#140">140</a>                         generatedSourcesBasePackageDir + <span class="jxr_string">"BaseTestTable1Peer.java"</span>)
+<a name="141" href="#141">141</a>                     .exists());
+<a name="142" href="#142">142</a> 
+<a name="143" href="#143">143</a>         assertTrue(
+<a name="144" href="#144">144</a>                 <span class="jxr_string">"BaseTestTable2Peer.java must exist"</span>,
+<a name="145" href="#145">145</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="146" href="#146">146</a>                         mavenProject.getBuild().getDirectory(),
+<a name="147" href="#147">147</a>                         generatedSourcesBasePackageDir + <span class="jxr_string">"BaseTestTable2Peer.java"</span>)
+<a name="148" href="#148">148</a>                     .exists());
+<a name="149" href="#149">149</a> 
+<a name="150" href="#150">150</a>         assertTrue(
+<a name="151" href="#151">151</a>                 <span class="jxr_string">"TestTable1.java must exist"</span>,
+<a name="152" href="#152">152</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="153" href="#153">153</a>                         mavenProject.getBasedir(),
+<a name="154" href="#154">154</a>                         generatedSourcesPackageDir + <span class="jxr_string">"TestTable1.java"</span>)
+<a name="155" href="#155">155</a>                     .exists());
+<a name="156" href="#156">156</a> 
+<a name="157" href="#157">157</a>         assertTrue(
+<a name="158" href="#158">158</a>                 <span class="jxr_string">"TestTable2.java must exist"</span>,
+<a name="159" href="#159">159</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="160" href="#160">160</a>                         mavenProject.getBasedir(),
+<a name="161" href="#161">161</a>                         generatedSourcesPackageDir + <span class="jxr_string">"TestTable2.java"</span>)
+<a name="162" href="#162">162</a>                     .exists());
+<a name="163" href="#163">163</a> 
+<a name="164" href="#164">164</a>         assertTrue(
+<a name="165" href="#165">165</a>                 <span class="jxr_string">"TestTable1Peer.java must exist"</span>,
+<a name="166" href="#166">166</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="167" href="#167">167</a>                         mavenProject.getBasedir(),
+<a name="168" href="#168">168</a>                         generatedSourcesPackageDir + <span class="jxr_string">"TestTable1Peer.java"</span>)
+<a name="169" href="#169">169</a>                     .exists());
+<a name="170" href="#170">170</a> 
+<a name="171" href="#171">171</a>         assertTrue(
+<a name="172" href="#172">172</a>                 <span class="jxr_string">"TestTable2Peer.java must exist"</span>,
+<a name="173" href="#173">173</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="174" href="#174">174</a>                         mavenProject.getBasedir(),
+<a name="175" href="#175">175</a>                         generatedSourcesPackageDir + <span class="jxr_string">"TestTable2Peer.java"</span>)
+<a name="176" href="#176">176</a>                     .exists());
+<a name="177" href="#177">177</a> 
+<a name="178" href="#178">178</a>         assertTrue(
+<a name="179" href="#179">179</a>                 <span class="jxr_string">"TestTable1MapBuilder.java must exist"</span>,
+<a name="180" href="#180">180</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="181" href="#181">181</a>                         mavenProject.getBuild().getDirectory(),
+<a name="182" href="#182">182</a>                         generatedSourcesBasePackageDir
+<a name="183" href="#183">183</a>                             + <span class="jxr_string">"map/TestTable1MapBuilder.java"</span>)
+<a name="184" href="#184">184</a>                     .exists());
+<a name="185" href="#185">185</a> 
+<a name="186" href="#186">186</a>         assertTrue(
+<a name="187" href="#187">187</a>                 <span class="jxr_string">"TestTable2MapBuilder.java must exist"</span>,
+<a name="188" href="#188">188</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="189" href="#189">189</a>                         mavenProject.getBuild ().getDirectory(),
+<a name="190" href="#190">190</a>                         generatedSourcesBasePackageDir
+<a name="191" href="#191">191</a>                             + <span class="jxr_string">"map/TestTable2MapBuilder.java"</span>)
+<a name="192" href="#192">192</a>                     .exists());
+<a name="193" href="#193">193</a> 
+<a name="194" href="#194">194</a>         assertTrue(
+<a name="195" href="#195">195</a>                 <span class="jxr_string">"Project does not contain "</span>
+<a name="196" href="#196">196</a>                     + mavenProject.getBuild().getDirectory()
+<a name="197" href="#197">197</a>                     + <span class="jxr_string">"/generated-sources/torque"</span>
+<a name="198" href="#198">198</a>                     + <span class="jxr_string">" as compile source"</span>,
+<a name="199" href="#199">199</a>                 mavenProject.getCompileSourceRoots().contains(
+<a name="200" href="#200">200</a>                         mavenProject.getBuild ().getDirectory()
+<a name="201" href="#201">201</a>                             + <span class="jxr_string">"/generated-sources/torque"</span>));
+<a name="202" href="#202">202</a>     }
+<a name="203" href="#203">203</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueSQLMojoTest.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueSQLMojoTest.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueSQLMojoTest.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/TorqueSQLMojoTest.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,141 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>TorqueSQLMojoTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.torque.mojo;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.ArtifactRepository;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.DefaultArtifactRepository;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProjectBuilder;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.codehaus.plexus.PlexusTestCase;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="33" href="#33">33</a>  <em class="jxr_javadoccomment"> * Tests the TorqueOMMojo</em>
+<a name="34" href="#34">34</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> * @author Rapha�l Pi�roni (rafale_at_codehaus.org)</em>
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="37" href="#37">37</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/torque/mojo/TorqueSQLMojoTest.html">TorqueSQLMojoTest</a>
+<a name="38" href="#38">38</a>          <strong class="jxr_keyword">extends</strong> PlexusTestCase
+<a name="39" href="#39">39</a>  {
+<a name="40" href="#40">40</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="41" href="#41">41</a>  <em class="jxr_javadoccomment">     * Test of execute method of class org.apache.torque.mojo.TorqueOMMojo;.</em>
+<a name="42" href="#42">42</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="43" href="#43">43</a>  <em class="jxr_javadoccomment">     * @throws Exception if the test fails.</em>
+<a name="44" href="#44">44</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="45" href="#45">45</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testExecute()
+<a name="46" href="#46">46</a>              <strong class="jxr_keyword">throws</strong> Exception
+<a name="47" href="#47">47</a>      {
+<a name="48" href="#48">48</a>          System.out.println (<span class="jxr_string">"execute"</span>);
+<a name="49" href="#49">49</a>  
+<a name="50" href="#50">50</a>          MavenProjectBuilder builder
+<a name="51" href="#51">51</a>                  = (MavenProjectBuilder) lookup(MavenProjectBuilder.ROLE);
+<a name="52" href="#52">52</a>  
+<a name="53" href="#53">53</a>          ArtifactRepositoryLayout localRepositoryLayout
+<a name="54" href="#54">54</a>                  = (ArtifactRepositoryLayout) lookup(
+<a name="55" href="#55">55</a>                          ArtifactRepositoryLayout.ROLE,
+<a name="56" href="#56">56</a>                          <span class="jxr_string">"default"</span>);
+<a name="57" href="#57">57</a>  
+<a name="58" href="#58">58</a>          ArtifactRepository localRepository
+<a name="59" href="#59">59</a>                  = <strong class="jxr_keyword">new</strong> DefaultArtifactRepository(
+<a name="60" href="#60">60</a>                          <span class="jxr_string">"local"</span>,
+<a name="61" href="#61">61</a>                          <span class="jxr_string">"file://"</span> + getBasedir() + File.separator
+<a name="62" href="#62">62</a>                              + <span class="jxr_string">"target/test-classes/repository"</span>,
+<a name="63" href="#63">63</a>                          localRepositoryLayout);
+<a name="64" href="#64">64</a>  
+<a name="65" href="#65">65</a>          MavenProject mavenProject = builder.buildWithDependencies(
+<a name="66" href="#66">66</a>                  <strong class="jxr_keyword">new</strong> File(
+<a name="67" href="#67">67</a>                      getBasedir(),
+<a name="68" href="#68">68</a>                      <span class="jxr_string">"target/test-classes/projects/TorqueOMMojoTest/pom.xml"</span>),
+<a name="69" href="#69">69</a>                  localRepository,
+<a name="70" href="#70">70</a>                  <strong class="jxr_keyword">null</strong>);
+<a name="71" href="#71">71</a>  
+<a name="72" href="#72">72</a>          SqlMojo instance = <strong class="jxr_keyword">new</strong> SqlMojo();
+<a name="73" href="#73">73</a>  
+<a name="74" href="#74">74</a>          instance.setProject(mavenProject);
+<a name="75" href="#75">75</a>  
+<a name="76" href="#76">76</a>          instance.setOutputDir(
+<a name="77" href="#77">77</a>                  mavenProject.getBuild().getDirectory()
+<a name="78" href="#78">78</a>                      + <span class="jxr_string">"/generated-sql/torque"</span>);
+<a name="79" href="#79">79</a>  
+<a name="80" href="#80">80</a>          instance.setContextPropertiesPath(
+<a name="81" href="#81">81</a>                  mavenProject.getBuild().getDirectory()
+<a name="82" href="#82">82</a>                      + <span class="jxr_string">"/torque/context.sql.properties"</span>);
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>          instance.setSchemaDir(
+<a name="85" href="#85">85</a>                  mavenProject.getBasedir() + <span class="jxr_string">"/src/main/torque/schema"</span>);
+<a name="86" href="#86">86</a>  
+<a name="87" href="#87">87</a>          instance.setUseClasspath(<strong class="jxr_keyword">true</strong>);
+<a name="88" href="#88">88</a>  
+<a name="89" href="#89">89</a>          instance.setTargetDatabase(<span class="jxr_string">"postgresql"</span>);
+<a name="90" href="#90">90</a>  
+<a name="91" href="#91">91</a>          instance.setSqlDbMap(mavenProject.getBuild().getDirectory()
+<a name="92" href="#92">92</a>                  +<span class="jxr_string">"/torque/sqldbmap.properties"</span>);
+<a name="93" href="#93">93</a>  
+<a name="94" href="#94">94</a>          instance.setSchemaIncludes(<span class="jxr_string">"*schema.xml"</span>);
+<a name="95" href="#95">95</a>  
+<a name="96" href="#96">96</a>          instance.setReportFile(<span class="jxr_string">"../../torque/torque."</span>
+<a name="97" href="#97">97</a>                  + mavenProject.getArtifact().getArtifactId()
+<a name="98" href="#98">98</a>                  + <span class="jxr_string">"."</span>
+<a name="99" href="#99">99</a>                  + <span class="jxr_string">"sql.generation"</span>);
+<a name="100" href="#100">100</a> 
+<a name="101" href="#101">101</a>         instance.execute();
+<a name="102" href="#102">102</a> 
+<a name="103" href="#103">103</a>         String generatedSqlDir
+<a name="104" href="#104">104</a>                 = <span class="jxr_string">"generated-sql/torque/"</span>;
+<a name="105" href="#105">105</a> 
+<a name="106" href="#106">106</a>         assertTrue(
+<a name="107" href="#107">107</a>                 <span class="jxr_string">"test-TorqueOMMojoTest-schema.sql must exist"</span>,
+<a name="108" href="#108">108</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="109" href="#109">109</a>                         mavenProject.getBuild().getDirectory(),
+<a name="110" href="#110">110</a>                         generatedSqlDir + <span class="jxr_string">"test-TorqueOMMojoTest-schema.sql"</span>)
+<a name="111" href="#111">111</a>                     .exists());
+<a name="112" href="#112">112</a> 
+<a name="113" href="#113">113</a>         assertTrue(
+<a name="114" href="#114">114</a>                 <span class="jxr_string">"id-table-schema.sql must exist"</span>,
+<a name="115" href="#115">115</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="116" href="#116">116</a>                         mavenProject.getBuild().getDirectory(),
+<a name="117" href="#117">117</a>                         generatedSqlDir + <span class="jxr_string">"id-table-schema.sql"</span>)
+<a name="118" href="#118">118</a>                     .exists());
+<a name="119" href="#119">119</a> 
+<a name="120" href="#120">120</a>         assertTrue(
+<a name="121" href="#121">121</a>                 <span class="jxr_string">"sqldbmap.properties must exist"</span>,
+<a name="122" href="#122">122</a>                 <strong class="jxr_keyword">new</strong> File(
+<a name="123" href="#123">123</a>                         mavenProject.getBuild().getDirectory(),
+<a name="124" href="#124">124</a>                         <span class="jxr_string">"torque/sqldbmap.properties"</span>)
+<a name="125" href="#125">125</a>                     .exists());
+<a name="126" href="#126">126</a>     }
+<a name="127" href="#127">127</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-frame.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-frame.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-frame.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-frame.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,27 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference Package org.apache.torque.mojo</title>
+		<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+        	<a href="package-summary.html" target="classFrame">org.apache.torque.mojo</a>
+      	</h3>
+
+      	<h3>Classes</h3>
+
+      	<ul>
+      		          	<li>
+            	<a href="TorqueOMMojoTest.html" target="classFrame">TorqueOMMojoTest</a>
+          	</li>
+          	          	<li>
+            	<a href="TorqueSQLMojoTest.html" target="classFrame">TorqueSQLMojoTest</a>
+          	</li>
+          	      	</ul>
+
+	</body>
+</html>
\ No newline at end of file

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-summary.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-summary.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-summary.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/org/apache/torque/mojo/package-summary.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,72 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference Package org.apache.torque.mojo</title>
+		<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+		
+		      	<h2>Package org.apache.torque.mojo</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Class Summary</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+        		            	<tr>
+              		<td>
+                		<a href="TorqueOMMojoTest.html" target="classFrame">TorqueOMMojoTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="TorqueSQLMojoTest.html" target="classFrame">TorqueSQLMojoTest</a>
+              		</td>
+            	</tr>
+				        	</tbody>
+      	</table>
+		
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+				<hr />
+		Copyright &copy; 2000-2012 Apache Software Foundation. All Rights Reserved.
+	</body>
+</html>
\ No newline at end of file

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-frame.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-frame.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-frame.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-frame.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,25 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+			<a href="allclasses-frame.html" target="packageFrame">All Classes</a>
+		</h3>
+
+		<h3>Packages</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/torque/mojo/package-frame.html" target="packageFrame">org.apache.torque.mojo</a>
+			</li>
+					</ul>
+
+	</body>
+</html>
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-summary.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-summary.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-summary.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/overview-summary.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,64 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+	</head>
+	<body>
+				<div class="overview">
+			<ul>
+				<li class="selected">Overview</li>
+				<li>Package</li>
+			</ul>
+		</div>
+		<div class="framenoframe">
+			<ul>
+				<li>
+					<a href="index.html" target="_top">FRAMES</a>
+				</li>
+				<li>
+    	        	<a href="overview-summary.html" target="_top">NO FRAMES</a>
+        	  	</li>
+	        </ul>
+      	</div>
+		
+		      	<h2>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Packages</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+    	    	            	<tr>
+              		<td>
+                		<a href="org/apache/torque/mojo/package-summary.html">org.apache.torque.mojo</a>
+              		</td>
+            	</tr>
+	          	        	</tbody>
+      	</table>
+		
+				<div class="overview">
+			<ul>
+				<li class="selected">Overview</li>
+				<li>Package</li>
+			</ul>
+		</div>
+		<div class="framenoframe">
+			<ul>
+				<li>
+					<a href="index.html" target="_top">FRAMES</a>
+				</li>
+				<li>
+    	        	<a href="overview-summary.html" target="_top">NO FRAMES</a>
+        	  	</li>
+	        </ul>
+      	</div>
+		
+		<hr />
+		Copyright &copy; 2000-2012 Apache Software Foundation. All Rights Reserved.
+	</body>
+</html>
\ No newline at end of file

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/stylesheet.css
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/stylesheet.css?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/stylesheet.css (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref-test/stylesheet.css Thu Oct 11 08:51:09 2012
@@ -0,0 +1,116 @@
+/* Javadoc style sheet */
+/* Define colors, fonts and other style attributes here to override the defaults  */
+body {
+    background-color: #fff;
+    font-family: Arial, Helvetica, sans-serif;
+}
+
+a:link {
+    color: #00f;
+}
+a:visited {
+    color: #00a;
+}
+
+a:active, a:hover {
+    color: #f30 !important;
+}
+
+ul, li {
+    list-style-type:none;
+    margin:0;
+    padding:0;
+}
+
+table td {
+    padding: 3px;
+    border: 1px solid #000;
+}
+table {
+    width:100%;
+    border: 1px solid #000;
+    border-collapse: collapse;
+}
+
+div.overview {
+    background-color:#ddd;
+    padding: 4px 4px 4px 0;
+}
+div.overview li, div.framenoframe li {
+    display: inline;
+}
+div.framenoframe {
+    text-align: center;
+    font-size: x-small;
+}
+div.framenoframe li {
+    margin: 0 3px 0 3px;
+}
+div.overview li {
+    margin:3px 3px 0 3px;
+    padding: 4px;
+}
+li.selected {
+    background-color:#888;
+    color: #fff;
+    font-weight: bold;
+}
+
+table.summary {
+    margin-bottom: 20px;
+}
+table.summary td, table.summary th {
+    font-weight: bold;
+    text-align: left;
+    padding: 3px;
+}
+table.summary th {
+    background-color:#036;
+    color: #fff;
+}
+table.summary td {
+    background-color:#eee;
+    border: 1px solid black;
+}
+
+em {
+    color: #A00;
+}
+em.comment {
+    color: #390;
+}
+.string {
+    color: #009;
+}
+div#footer {
+    text-align:center;
+}
+#overview {
+    padding:2px;
+}
+
+hr {
+    height: 1px;
+    color: #000;
+}
+
+/* JXR style sheet */
+.jxr_comment
+{
+    color: #390;
+}
+
+.jxr_javadoccomment
+{
+    color: #A00;
+}
+
+.jxr_string
+{
+    color: #009;
+}
+
+.jxr_keyword
+{
+    color: #000;
+}

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/allclasses-frame.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/allclasses-frame.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/allclasses-frame.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/allclasses-frame.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,50 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>All Classes</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+    </head>
+    <body>
+
+		<h3>All Classes</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/torque/mojo/DataDtdMojo.html" target="classFrame">DataDtdMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/DataDumpMojo.html" target="classFrame">DataDumpMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/DataModelTaskMojo.html" target="classFrame">DataModelTaskMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/DataSqlMojo.html" target="classFrame">DataSqlMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/DocumentationMojo.html" target="classFrame">DocumentationMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/IdTableInitSqlMojo.html" target="classFrame">IdTableInitSqlMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/OMMojo.html" target="classFrame">OMMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/SqlExecMojo.html" target="classFrame">SqlExecMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/SqlMojo.html" target="classFrame">SqlMojo</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/SqlMojoBase.html" target="classFrame">SqlMojoBase</a>
+			</li>
+						<li>
+				<a href="org/apache/torque/mojo/TexenTaskMojo.html" target="classFrame">TexenTaskMojo</a>
+			</li>
+			      </ul>
+
+    </body>
+  </html>

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/index.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/index.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/index.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/index.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,24 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>Torque Maven2 Plugin 3.3.1-SNAPSHOT Reference</title>
+	</head>
+    <frameset cols="20%,80%">
+		<frameset rows="30%,70%">
+			<frame src="overview-frame.html" name="packageListFrame" />
+			<frame src="allclasses-frame.html" name="packageFrame" />
+		</frameset>
+		<frame src="overview-summary.html" name="classFrame" />
+        <noframes>
+            <body>
+                <h1>Frame Alert</h1>
+                <p>
+                    You don't have frames. Go <a href="overview-summary.html">here</a>
+                </p>
+            </body>
+        </noframes>
+    </frameset>
+</html>
+

Added: db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/org/apache/torque/mojo/DataDtdMojo.html
URL: http://svn.apache.org/viewvc/db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/org/apache/torque/mojo/DataDtdMojo.html?rev=1396951&view=auto
==============================================================================
--- db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/org/apache/torque/mojo/DataDtdMojo.html (added)
+++ db/torque/site-scmpublish/torque-3.3/releases/torque-3.3/maven2-plugin/xref/org/apache/torque/mojo/DataDtdMojo.html Thu Oct 11 08:51:09 2012
@@ -0,0 +1,200 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>DataDtdMojo xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/torque/mojo/DataDtdMojo.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.torque.mojo;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.configuration.PropertiesConfiguration;
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoExecutionException;
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.torque.task.TorqueDataModelTask;
+<a name="25" href="#25">25</a>  
+<a name="26" href="#26">26</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="27" href="#27">27</a>  <em class="jxr_javadoccomment"> * Generates a data dtd from schema files.</em>
+<a name="28" href="#28">28</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="29" href="#29">29</a>  <em class="jxr_javadoccomment"> * @author Raphael Pieroni (rafale_at_codehaus.org)</em>
+<a name="30" href="#30">30</a>  <em class="jxr_javadoccomment"> * @author &lt;a href="fischer@seitenbau.de"&gt;Thomas Fischer&lt;/a&gt;</em>
+<a name="31" href="#31">31</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="32" href="#32">32</a>  <em class="jxr_javadoccomment"> * @goal datadtd</em>
+<a name="33" href="#33">33</a>  <em class="jxr_javadoccomment"> * @phase generate-sources</em>
+<a name="34" href="#34">34</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="35" href="#35">35</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/torque/mojo/DataDtdMojo.html">DataDtdMojo</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/torque/mojo/DataModelTaskMojo.html">DataModelTaskMojo</a>
+<a name="36" href="#36">36</a>  {
+<a name="37" href="#37">37</a>      <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> The context property for the name of the project. */</em>
+<a name="38" href="#38">38</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PROJECT_CONTEXT_PROPERTY = <span class="jxr_string">"project"</span>;
+<a name="39" href="#39">39</a>  
+<a name="40" href="#40">40</a>      <em class="jxr_comment">// The following dummies trick the Mojo Description Extractor</em>
+<a name="41" href="#41">41</a>      <em class="jxr_comment">// into setting the correct default values for</em>
+<a name="42" href="#42">42</a>      <em class="jxr_comment">// outputDir, reportFile, contextPropertiesPath, schemaExcludes</em>
+<a name="43" href="#43">43</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="44" href="#44">44</a>  <em class="jxr_javadoccomment">     * The directory in which the SQL will be generated.</em>
+<a name="45" href="#45">45</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="46" href="#46">46</a>  <em class="jxr_javadoccomment">     * @parameter property="outputDir"</em>
+<a name="47" href="#47">47</a>  <em class="jxr_javadoccomment">     *            expression="${project.build.directory}/data/torque"</em>
+<a name="48" href="#48">48</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="49" href="#49">49</a>      <strong class="jxr_keyword">private</strong> String dummy;
+<a name="50" href="#50">50</a>  
+<a name="51" href="#51">51</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="52" href="#52">52</a>  <em class="jxr_javadoccomment">     * The location where the report file will be generated, </em>
+<a name="53" href="#53">53</a>  <em class="jxr_javadoccomment">     * relative to outputDir.</em>
+<a name="54" href="#54">54</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="55" href="#55">55</a>  <em class="jxr_javadoccomment">     * @parameter property="reportFile"</em>
+<a name="56" href="#56">56</a>  <em class="jxr_javadoccomment">     *            expression="../../torque/report.${project.artifact.artifactId}.datadtd.generation"</em>
+<a name="57" href="#57">57</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="58" href="#58">58</a>      <strong class="jxr_keyword">private</strong> String dummy2;
+<a name="59" href="#59">59</a>  
+<a name="60" href="#60">60</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="61" href="#61">61</a>  <em class="jxr_javadoccomment">     * The location where the context property file for velocity will be</em>
+<a name="62" href="#62">62</a>  <em class="jxr_javadoccomment">     * generated.</em>
+<a name="63" href="#63">63</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="64" href="#64">64</a>  <em class="jxr_javadoccomment">     * @parameter property="contextPropertiesPath"</em>
+<a name="65" href="#65">65</a>  <em class="jxr_javadoccomment">     *            expression="${project.build.directory}/torque/context.datadtd.properties"</em>
+<a name="66" href="#66">66</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="67" href="#67">67</a>      <strong class="jxr_keyword">private</strong> String dummy3;
+<a name="68" href="#68">68</a>  
+<a name="69" href="#69">69</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="70" href="#70">70</a>  <em class="jxr_javadoccomment">     * The schema files which should be excluded in generation</em>
+<a name="71" href="#71">71</a>  <em class="jxr_javadoccomment">     * (in ant-style notation).</em>
+<a name="72" href="#72">72</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="73" href="#73">73</a>  <em class="jxr_javadoccomment">     * @parameter property="schemaExcludes" expression="id-table-schema.xml"</em>
+<a name="74" href="#74">74</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="75" href="#75">75</a>      <strong class="jxr_keyword">private</strong> String dummy4;
+<a name="76" href="#76">76</a>   
+<a name="77" href="#77">77</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="78" href="#78">78</a>  <em class="jxr_javadoccomment">     * The name of the project, used as a prefix of the name of the datadtd.</em>
+<a name="79" href="#79">79</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="80" href="#80">80</a>  <em class="jxr_javadoccomment">     * @parameter expression="torque"</em>
+<a name="81" href="#81">81</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="82" href="#82">82</a>      <strong class="jxr_keyword">private</strong> String projectName = <strong class="jxr_keyword">null</strong>;
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="85" href="#85">85</a>  <em class="jxr_javadoccomment">     * The name of the xml file to process. Only one xml file can be processed</em>
+<a name="86" href="#86">86</a>  <em class="jxr_javadoccomment">     * at a time.</em>
+<a name="87" href="#87">87</a>  <em class="jxr_javadoccomment">     * Overrides the settings schemaIncludes and schemaExcludes</em>
+<a name="88" href="#88">88</a>  <em class="jxr_javadoccomment">     *</em>
+<a name="89" href="#89">89</a>  <em class="jxr_javadoccomment">     * @parameter</em>
+<a name="90" href="#90">90</a>  <em class="jxr_javadoccomment">     * @required</em>
+<a name="91" href="#91">91</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="92" href="#92">92</a>      <strong class="jxr_keyword">private</strong> String xmlFile = <strong class="jxr_keyword">null</strong>;
+<a name="93" href="#93">93</a>  
+<a name="94" href="#94">94</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="95" href="#95">95</a>  <em class="jxr_javadoccomment">     * Creates a new SQLMojo object.</em>
+<a name="96" href="#96">96</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="97" href="#97">97</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/torque/mojo/DataDtdMojo.html">DataDtdMojo</a>()
+<a name="98" href="#98">98</a>      {
+<a name="99" href="#99">99</a>          <strong class="jxr_keyword">super</strong>(<strong class="jxr_keyword">new</strong> TorqueDataModelTask());
+<a name="100" href="#100">100</a>     }
+<a name="101" href="#101">101</a> 
+<a name="102" href="#102">102</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="103" href="#103">103</a> <em class="jxr_javadoccomment">     * Returns the context properties for the Texen task.</em>
+<a name="104" href="#104">104</a> <em class="jxr_javadoccomment">     *</em>
+<a name="105" href="#105">105</a> <em class="jxr_javadoccomment">     * @return The PropertiesConfiguration containing all context properties,</em>
+<a name="106" href="#106">106</a> <em class="jxr_javadoccomment">     *         not null.</em>
+<a name="107" href="#107">107</a> <em class="jxr_javadoccomment">     */</em>
+<a name="108" href="#108">108</a>     <strong class="jxr_keyword">protected</strong> PropertiesConfiguration getMojoContextProperties()
+<a name="109" href="#109">109</a>     {
+<a name="110" href="#110">110</a>         PropertiesConfiguration configuration = <strong class="jxr_keyword">new</strong> PropertiesConfiguration();
+<a name="111" href="#111">111</a>         configuration.addProperty(PROJECT_CONTEXT_PROPERTY, projectName);
+<a name="112" href="#112">112</a>         <strong class="jxr_keyword">return</strong> configuration;
+<a name="113" href="#113">113</a>     }
+<a name="114" href="#114">114</a> 
+<a name="115" href="#115">115</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="116" href="#116">116</a> <em class="jxr_javadoccomment">     * Configures the Texen task which is wrapped by this mojo.</em>
+<a name="117" href="#117">117</a> <em class="jxr_javadoccomment">     * In this implementation, the xml file is set in addition to the</em>
+<a name="118" href="#118">118</a> <em class="jxr_javadoccomment">     * properties set by DataModelTaskMojo#configureTask().</em>
+<a name="119" href="#119">119</a> <em class="jxr_javadoccomment">     *</em>
+<a name="120" href="#120">120</a> <em class="jxr_javadoccomment">     * @throws MojoExecutionException if an error occurs when setting the Tasks</em>
+<a name="121" href="#121">121</a> <em class="jxr_javadoccomment">     *         properties.</em>
+<a name="122" href="#122">122</a> <em class="jxr_javadoccomment">     *</em>
+<a name="123" href="#123">123</a> <em class="jxr_javadoccomment">     * @see DataModelTaskMojo#configureTask()</em>
+<a name="124" href="#124">124</a> <em class="jxr_javadoccomment">     */</em>
+<a name="125" href="#125">125</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configureTask() <strong class="jxr_keyword">throws</strong> MojoExecutionException
+<a name="126" href="#126">126</a>     {
+<a name="127" href="#127">127</a>         <strong class="jxr_keyword">super</strong>.configureTask();
+<a name="128" href="#128">128</a> 
+<a name="129" href="#129">129</a>         TorqueDataModelTask task
+<a name="130" href="#130">130</a>                 = (TorqueDataModelTask) <strong class="jxr_keyword">super</strong>.getGeneratorTask();
+<a name="131" href="#131">131</a> 
+<a name="132" href="#132">132</a>         task.setXmlFile(xmlFile);
+<a name="133" href="#133">133</a>     }
+<a name="134" href="#134">134</a> 
+<a name="135" href="#135">135</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="136" href="#136">136</a> <em class="jxr_javadoccomment">     * Returns the path to the control template.</em>
+<a name="137" href="#137">137</a> <em class="jxr_javadoccomment">     *</em>
+<a name="138" href="#138">138</a> <em class="jxr_javadoccomment">     * @return "sql/Control.vm"</em>
+<a name="139" href="#139">139</a> <em class="jxr_javadoccomment">     */</em>
+<a name="140" href="#140">140</a>     <strong class="jxr_keyword">protected</strong> String getControlTemplate()
+<a name="141" href="#141">141</a>     {
+<a name="142" href="#142">142</a>         <strong class="jxr_keyword">return</strong> <span class="jxr_string">"data/Control.vm"</span>;
+<a name="143" href="#143">143</a>     }
+<a name="144" href="#144">144</a> 
+<a name="145" href="#145">145</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="146" href="#146">146</a> <em class="jxr_javadoccomment">     * Returns the name of the project, which is used as prefix for the name</em>
+<a name="147" href="#147">147</a> <em class="jxr_javadoccomment">     * of the datadtd.</em>
+<a name="148" href="#148">148</a> <em class="jxr_javadoccomment">     *</em>
+<a name="149" href="#149">149</a> <em class="jxr_javadoccomment">     * @return the name of the project.</em>
+<a name="150" href="#150">150</a> <em class="jxr_javadoccomment">     */</em>
+<a name="151" href="#151">151</a>     <strong class="jxr_keyword">public</strong> String getProjectName()
+<a name="152" href="#152">152</a>     {
+<a name="153" href="#153">153</a>         <strong class="jxr_keyword">return</strong> projectName;
+<a name="154" href="#154">154</a>     }
+<a name="155" href="#155">155</a> 
+<a name="156" href="#156">156</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="157" href="#157">157</a> <em class="jxr_javadoccomment">     * Sets the name of the project, which is used as prefix for the</em>
+<a name="158" href="#158">158</a> <em class="jxr_javadoccomment">     * name of the datadtd.</em>
+<a name="159" href="#159">159</a> <em class="jxr_javadoccomment">     *</em>
+<a name="160" href="#160">160</a> <em class="jxr_javadoccomment">     * @param project the name of the project.</em>
+<a name="161" href="#161">161</a> <em class="jxr_javadoccomment">     */</em>
+<a name="162" href="#162">162</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setProjectName(String projectName)
+<a name="163" href="#163">163</a>     {
+<a name="164" href="#164">164</a>         <strong class="jxr_keyword">this</strong>.projectName = projectName;
+<a name="165" href="#165">165</a>     }
+<a name="166" href="#166">166</a> 
+<a name="167" href="#167">167</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="168" href="#168">168</a> <em class="jxr_javadoccomment">     * Returns the name of the xml file to process.</em>
+<a name="169" href="#169">169</a> <em class="jxr_javadoccomment">     *</em>
+<a name="170" href="#170">170</a> <em class="jxr_javadoccomment">     * @return the name of the xml file to process.</em>
+<a name="171" href="#171">171</a> <em class="jxr_javadoccomment">     */</em>
+<a name="172" href="#172">172</a>     <strong class="jxr_keyword">public</strong> String getXmlFile()
+<a name="173" href="#173">173</a>     {
+<a name="174" href="#174">174</a>         <strong class="jxr_keyword">return</strong> xmlFile;
+<a name="175" href="#175">175</a>     }
+<a name="176" href="#176">176</a> 
+<a name="177" href="#177">177</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="178" href="#178">178</a> <em class="jxr_javadoccomment">     * Sets the name of the xml file to process.</em>
+<a name="179" href="#179">179</a> <em class="jxr_javadoccomment">     *</em>
+<a name="180" href="#180">180</a> <em class="jxr_javadoccomment">     * @param project the name of the xml file to process.</em>
+<a name="181" href="#181">181</a> <em class="jxr_javadoccomment">     */</em>
+<a name="182" href="#182">182</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setXmlFile(String xmlFile)
+<a name="183" href="#183">183</a>     {
+<a name="184" href="#184">184</a>         <strong class="jxr_keyword">this</strong>.xmlFile = xmlFile;
+<a name="185" href="#185">185</a>     }
+<a name="186" href="#186">186</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org