Skip to main content
summaryrefslogtreecommitdiffstats
blob: ab0f0a6e5b8103e8cb7440b9b67020adba04417f (plain) (blame)
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
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.osee.framework.help.ui" basedir="."
	default="all">
	<property name="osee.base.help.plugin" value="." />
	<property name="ant.file.imported" value="${osee.base.help.plugin}/scripts" />
	<import file="${ant.file.imported}/help-build-common.xml" />

	<description>
		Generate Eclipse help content for the OSEE user guide
	</description>

	<property name="osee.help.doc.url.base" value="http://wiki.eclipse.org" />
	<property name="osee.help.userguide.folder" value="userguide" />
	<property name="osee.help.image.folder" value="images" />

	<property name="osee.help.doc.intro" value="OSEE/Users_Guide/Getting_Started" />
	<property name="osee.help.doc.concepts" value="OSEE/Users_Guide/Concepts" />
	<property name="osee.help.doc.features" value="OSEE/Users_Guide/Features" />
	<property name="osee.help.doc.tips" value="OSEE/Users_Guide/Tips" />
	<property name="osee.help.doc.new" value="OSEE/Users_Guide/New" />
	<property name="osee.help.doc.update" value="OSEE/Users_Guide/Update" />
	
	<property name="osee.help.intro.file.name" value="OSEE Intro" />
	<property name="osee.help.concepts.file.name" value="OSEE Concepts" />
	<property name="osee.help.features.file.name" value="OSEE Features" />
	<property name="osee.help.tips.file.name" value="OSEE Tips" />
	<property name="osee.help.new.file.name" value="OSEE New" />
	<property name="osee.help.update.file.name" value="OSEE Update" />
	
	<target name="all" 
		description="Generate Eclipse help content for the OSEE user guide">
		<sequential>
			<delete>
				<fileset dir="userguide" />
			</delete>
			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.features}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.features}"
				help.doc.filenameNoExtension="${osee.help.features.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />

			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.intro}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.intro}"
				help.doc.filenameNoExtension="${osee.help.intro.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />
			
			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.concepts}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.concepts}"
				help.doc.filenameNoExtension="${osee.help.concepts.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />

			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.tips}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.tips}"
				help.doc.filenameNoExtension="${osee.help.tips.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />
			
			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.new}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.new}"
				help.doc.filenameNoExtension="${osee.help.new.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />
			
			<eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
				wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.update}"
				help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.update}"
				help.doc.filenameNoExtension="${osee.help.update.file.name}"
				help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />
		</sequential>
	</target>
</project>

Back to the top