User Tools

Site Tools


ant_support

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ant_support [2011/10/09 08:43]
admin created
ant_support [2013/07/25 21:00] (current)
Line 1: Line 1:
-======Ant Support====== 
  
-A Lure Ant task is available ​in a separate ​distribution. It requires Ant 1.7.+====== Lure Ant Task ====== 
 + 
 +A Lure Ant task jar file is available ​as part of the main Lure distribution. It is located within the "​ant"​ subfolder of the main Lure installation folder, together with an example ''​build.xml''​ file. Copy these two files to any appropriate directory; then within the build.xml file update the "​dir"​ property of the taskdef to point to the folder where the Ant task jar is located. 
 +  
 + 
 +The Lure Ant task requires Ant 1.7 and also a running version of Lure command line to be available. 
 + 
  
 The Lure Ant task supports the following parameters as XML attributes: The Lure Ant task supports the following parameters as XML attributes:
 +
 +
 <box 80% round> <box 80% round>
 |< 100% >| |< 100% >|
Line 10: Line 17:
 |dryrun|If true then Lure executes the deploy command in dry-run mode. This option is only applicable to the deploy command. Defaults to false.|No | |dryrun|If true then Lure executes the deploy command in dry-run mode. This option is only applicable to the deploy command. Defaults to false.|No |
 |failOnDifference|If true then if after deploying the source code Lure detects a remaining difference between the DDL in the database and the source code on the filesystem, then the Ant task will fail with an error. Defaults to true.|No | |failOnDifference|If true then if after deploying the source code Lure detects a remaining difference between the DDL in the database and the source code on the filesystem, then the Ant task will fail with an error. Defaults to true.|No |
-|connectFile|A string specifying the location of the main.lure-connect file.|No |+|connectFile|A string specifying the location of the <env>.lure-connect file.|No |
 |file|A string specifying a single file or folder argument to Lure.|No | |file|A string specifying a single file or folder argument to Lure.|No |
 </​box>​ </​box>​
Line 18: Line 25:
 For example the following code: For example the following code:
  
-  <lure>command="​deploy"​dryrun="​true"​failOnDifference="​false">​+  <lure command="​deploy"​ dryrun="​true"​ failOnDifference="​false"​ >
     <​path>​     <​path>​
-      <pathelementlocation="​C:​\TEST1\nav"/>​+      <pathelement location="​C:​\TEST1\nav"/>​
       <fileset dir="​C:​\TEST1\data\indexes">​       <fileset dir="​C:​\TEST1\data\indexes">​
-        <includename="​*.*"/>​+        <include name="​*.*"/>​
       </​fileset>​       </​fileset>​
     </​path>​     </​path>​
ant_support.txt · Last modified: 2013/07/25 21:00 (external edit)

Page Tools