forked from liferay/liferay-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
33 lines (24 loc) · 1.04 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
<?xml version="1.0"?>
<project name="deployment Conversion" basedir=".">
<import file="../build.xml" />
<property name="doc.dir" value="deployment"/>
<taskdef name="numberimgsdiscover" classname="com.liferay.documentation.util.NumberImagesTaskDiscover">
<classpath>
<fileset dir="${project.dir}/lib" includes="*.jar" />
<!-- Use below instead of above fileset when testing changes to classes
<pathelement path="${project.dir}/code/liferay-doc-utils/classes"/>
-->
<fileset dir="${project.dir}/code/liferay-doc-utils/lib" includes="*.jar" />
</classpath>
</taskdef>
<taskdef name="concatmarkdown" classname="com.liferay.documentation.util.ConcatMarkdown">
<classpath>
<fileset dir="${project.dir}/lib" includes="*.jar" />
<fileset dir="${project.dir}/code/liferay-doc-utils/lib" includes="*.jar" />
</classpath>
</taskdef>
<target name="number-images-discover" description="numbers the images in a markdown chapter file">
<numberimgsdiscover docdir="${doc.dir}">
</numberimgsdiscover>
</target>
</project>