This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
68 lines (64 loc) · 2.8 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<project name="xqrails" default="help" basedir=".">
<import file="_templater/build.templater.xml" />
<import file="config/build.installer.xml" />
<property file="config/build.properties" />
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="lib/ant/ant-contrib.jar" />
</classpath>
</taskdef>
<path id="mlant-classpath">
<fileset dir="lib/ant/">
<include name="xcc.jar" />
<include name="mlant.jar" />
<include name="corb.jar" />
<include name="saxon9he.jar" />
<include name="xqdoc-ml.jar" />
<include name="antlr-2.7.5.jar" />
<include name="xqdoc-ml.jar" />
</fileset>
</path>
<!--
Setup the type definition and assign classpathref to mlant-classpath
-->
<typedef uri="http://www.marklogic.com/ant" resource="com/marklogic/ant/antlib.xml" classpathref="mlant-classpath" />
<target name="help" description="">
<echo message="Help file for xqrails install" />
<echo message="" />
<echo message="Functions:" />
<echo message=" install - installs the base xqrails application, forest, security and database [verify build properties and read readme.txt]" />
<echo message="" />
<echo message=" load-documentation - loads all of the docs into the application database" />
<echo message="" />
<echo message="" />
<echo message="Help file for xqrails scaffolding" />
<echo message="" />
<echo message="Functions:" />
<echo message=" generate-all - Generates controller, model, views and docs for object" />
<echo message=" params:" />
<echo message=" -Dobject=[name of the object]" />
<echo message=" -Dxqmvc.generate.overwrite=[true|false (default)]" />
<echo message="" />
<echo message=" generate-controller - Generates controller for object" />
<echo message=" params:" />
<echo message=" -Dobject=[name of the object]" />
<echo message=" -Dxqmvc.generate.overwrite=[true|false (default)]" />
<echo message="" />
<echo message=" generate-model - Generates model for object" />
<echo message=" params:" />
<echo message=" -Dobject=[name of the object]" />
<echo message=" -Dxqmvc.generate.overwrite=[true|false (default)]" />
<echo message="" />
<echo message=" generate-views - Generates views for object" />
<echo message=" params:" />
<echo message=" -Dobject=[name of the object]" />
<echo message=" -Dxqmvc.generate.overwrite=[true|false (default)]" />
<echo message="" />
<echo message=" generate-docs - Generates docs for object" />
<echo message=" params:" />
<echo message=" -Dobject=[name of the object]" />
<echo message=" -Dxqmvc.generate.overwrite=[true|false (default)]" />
<echo message="" />
<echo message="Transient models: -Dxqrails.model.transient=true" />
</target>
</project>