Location: PHPKode > projects > DIY Blog > diy-blog/lib/propel/docs/en/user_guide/book/chapters/appendices/AppendixA-PropelOperations.html
<!--
-File         $Id: AppendixA-PropelOperations.html,v 1.1 2004/07/08 01:17:06 hlellelid Exp $
-License      GNU FDL (http://www.gnu.org/copyleft/fdl.html)
-Copyright    2003, Propel project
-Author       Hans Lellelid, hide@address.com
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Propel Guide</title> 
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="Stylesheet" rev="Stylesheet" href="../../css/Documentation.css" type="text/css" media="All" charset="iso-8859-1" />
</head>
<body>
<h1>Appendix A- Propel Build Targets</h1>
<p>Propel provides <a href="../Bibliography.html#bib.phing">Phing</a> tasks to 
  perform supporting database and documentation operations. Not all of these are 
  implemented in the current version. You can always use Phing to see an up-to-date 
  list of targets and descriptions: </p>
<pre title="Using Phing to view build targets.">$&gt; phing -f build-propel.xml -list</pre>
<p>The following table shows targets with their current status.</p>
<table>
  <thead>
    <tr> 
      <th>Target</th>
      <th>Description</th>
      <th>Completed?</th>
    </tr>
  </thead>
  <tbody>
    <tr> 
      <td>convert-props</td>
      <td> converts properties file to PHP array</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>create-db</td>
      <td>generates the target database</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>datadtd</td>
      <td> generates the DATA DTD for your project</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>datadump</td>
      <td>dump data from database into xml file</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>datasql</td>
      <td>generates sql from data xml</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>insert-sql</td>
      <td> inserts the generated sql</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>insert-sql</td>
      <td> inserts the generated sql</td>
      <td>Yes</td>
    </tr>
    <tr> 
      <td>om</td>
      <td>generates the Peer-based object model for your project</td>
      <td>Yes</td>
    </tr>
  </tbody>
</table>
<p> Any of these targets may be invoked by specifying the target name when running 
  phing:</p>
<pre title="Using Phing to view build targets.">$&gt; phing -f build-propel.xml targetname</pre>
<p>&nbsp;</p>
</body>
</html>
Return current item: DIY Blog