forked from eclipse-archived/ceylon-ide-intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildUpdateSite.xml
41 lines (38 loc) · 2.06 KB
/
buildUpdateSite.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
<!--
To build the reference docs for a particular language only, use "ant -Dlang=en", for
example, and call either lang.all, lang.docpdf, lang.dochtml, or lang.dochtmlsingle
for the target of your choice.
You can also call lang.section-check to track down missing identifiers in a particular
language, or you can call lang.revdiff to get a difference report for a particular
language, compared with the English reference.
-->
<project name="Build an update site" default="build" basedir=".">
<property name="updatePluginsFile" location="${artifact.output.path}/updatePlugins.xml"/>
<target name="build">
<delete dir="${updatePluginsFile}"/>
<xmlproperty file="CeylonRuntime/src/META-INF/plugin.xml" prefix="CeylonRuntime"/>
<xmlproperty file="META-INF/plugin.xml" prefix="CeylonIDEA"/>
<echoxml file="${updatePluginsFile}">
<plugin-repository>
<ff>"Custom Languages"</ff>
<category name="Custom Languages">
<idea-plugin>
<id>${CeylonRuntime.idea-plugin.id}</id>
<name>${CeylonRuntime.idea-plugin.name}</name>
<version>${CeylonRuntime.idea-plugin.version}</version>
<idea-version since-build="${CeylonRuntime.idea-plugin.idea-version(since-build)}"/>
<downloadUrl>./CeylonRuntime.zip</downloadUrl>
</idea-plugin>
<idea-plugin>
<id>${CeylonIDEA.idea-plugin.id}</id>
<name>${CeylonIDEA.idea-plugin.name}</name>
<version>${CeylonIDEA.idea-plugin.version}</version>
<idea-version since-build="${CeylonIDEA.idea-plugin.idea-version(since-build)}"/>
<depends>${CeylonRuntime.idea-plugin.id}</depends>
<downloadUrl>./CeylonIDEA.zip</downloadUrl>
</idea-plugin>
</category>
</plugin-repository>
</echoxml>
</target>
</project>