Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 142 lines (129 sloc) 8.096 kB
74997d1 @inspirer buildPluginTests
inspirer authored
1 <project name="buildPluginTests" default="build" basedir="../">
94aad96 @inspirer build: Generated by MPS
inspirer authored
2 <!-- Generated by MPS -->
74997d1 @inspirer buildPluginTests
inspirer authored
3 <property name="build.dir" location="build" />
4 <property name="build.tmp" location="${build.dir}/tmp/buildPluginTests" />
5 <property name="build.layout" location="${build.dir}/artifacts/buildPluginTests" />
6 <property name="idea_home" location="" />
7 <property name="mps_home" location="${basedir}" />
8 <property name="artifacts.buildPlugin" location="${build.dir}/artifacts/buildPlugin" />
9 <property name="artifacts.IDEA" location="${idea_home}" />
5aae230 @inspirer build: rename variables.properties -> build.properties
inspirer authored
10 <property file="${artifacts.buildPlugin}/build.properties" prefix="import.buildPlugin" />
74997d1 @inspirer buildPluginTests
inspirer authored
11 <property name="buildPlugin.plugin.version" value="${import.buildPlugin.buildPlugin.plugin.version}" />
4289ca1 @inspirer build: support date and value from properties file as initial value f…
inspirer authored
12 <property name="buildPlugin.date" value="${import.buildPlugin.buildPlugin.date}" />
d602000 @inspirer build: move $version macro from buildMPS -> buildCore; fix macros imp…
inspirer authored
13 <property name="buildCore.version" value="${import.buildPlugin.buildCore.version}" />
74997d1 @inspirer buildPluginTests
inspirer authored
14
15 <path id="path.javac2.classpath">
16 <fileset dir="${idea_home}/lib">
17 <include name="javac2.jar" />
18 <include name="jdom.jar" />
19 <include name="asm.jar" />
20 <include name="asm-commons.jar" />
21 <include name="jgoodies-forms.jar" />
22 </fileset>
23 </path>
24
25 <taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="path.javac2.classpath" />
26
27 <target name="assemble" depends="classes">
f509ae3 @inspirer build: fix plugin tests; move MPS-src.zip from buildWorkbench into bu…
inspirer authored
28 <mkdir dir="${build.layout}/mps-core" />
29 <mkdir dir="${build.layout}/mps-core/lib" />
74997d1 @inspirer buildPluginTests
inspirer authored
30 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar" />
31 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains" />
32 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps" />
33 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea" />
34 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core" />
35 <mkdir dir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core/tests" />
36 <copy todir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core/tests">
37 <fileset dir="${mps_home}/IdeaPlugin/tests/blProject">
38 <include name="blProject.iml" />
39 <include name="models/main.mps" />
40 </fileset>
46bf416 @inspirer buildPluginTests: fix dependency, flatten test files
inspirer authored
41 <flattenmapper />
74997d1 @inspirer buildPluginTests
inspirer authored
42 </copy>
43 <copy todir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core/tests">
44 <fileset dir="${mps_home}/IdeaPlugin/tests/simple">
45 <include name="simple.iml" />
46 <include name="models/simple.mps" />
47 </fileset>
46bf416 @inspirer buildPluginTests: fix dependency, flatten test files
inspirer authored
48 <flattenmapper />
74997d1 @inspirer buildPluginTests
inspirer authored
49 </copy>
50 <copy todir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core/tests">
51 <fileset dir="${mps_home}/IdeaPlugin/tests/makeTests">
52 <include name="makeTests.iml" />
53 <include name="models/**/*" />
54 <include name="src/**/*" />
55 </fileset>
46bf416 @inspirer buildPluginTests: fix dependency, flatten test files
inspirer authored
56 <flattenmapper />
74997d1 @inspirer buildPluginTests
inspirer authored
57 </copy>
58 <copy todir="${build.tmp}/default/mps-plugin-tests.jar/jetbrains/mps/idea/core/tests">
59 <fileset dir="${mps_home}/IdeaPlugin/tests/makeTestBroken">
60 <include name="makeTestBroken.iml" />
61 <include name="models/**/*" />
62 </fileset>
46bf416 @inspirer buildPluginTests: fix dependency, flatten test files
inspirer authored
63 <flattenmapper />
74997d1 @inspirer buildPluginTests
inspirer authored
64 </copy>
f509ae3 @inspirer build: fix plugin tests; move MPS-src.zip from buildWorkbench into bu…
inspirer authored
65 <jar destfile="${build.layout}/mps-core/lib/mps-plugin-tests.jar">
74997d1 @inspirer buildPluginTests
inspirer authored
66 <fileset dir="${build.tmp}/java/out/mps-plugin-tests" />
4c85104 @inspirer build: use zipfileset/tarfileset prefix attribute to eliminate excess…
inspirer authored
67 <zipfileset file="${mps_home}/IdeaPlugin/tests/editorTests/models/test.mps" prefix="jetbrains/mps/idea/core/tests" />
74997d1 @inspirer buildPluginTests
inspirer authored
68 <fileset dir="${build.tmp}/default/mps-plugin-tests.jar" />
69 </jar>
d602000 @inspirer build: move $version macro from buildMPS -> buildCore; fix macros imp…
inspirer authored
70 <echo file="${build.layout}/build.properties">buildPlugin.plugin.version=${buildPlugin.plugin.version}${line.separator}buildPlugin.date=${buildPlugin.date}${line.separator}buildCore.version=${buildCore.version}</echo>
74997d1 @inspirer buildPluginTests
inspirer authored
71 </target>
72
73 <target name="buildDependents">
74 <ant antfile="IdeaPlugin/buildPlugin.xml" inheritAll="false" useNativeBasedir="true" />
75 </target>
76
77 <target name="fetchDependencies" />
78
79 <target name="build" depends="assemble, check" />
80
81 <target name="clean">
82 <delete dir="${build.tmp}" />
83 <delete dir="${build.layout}" />
84 </target>
85
86 <target name="compileJava" depends="java.compile.mps-plugin-tests" />
87
88 <target name="processResources" />
89
90 <target name="classes" depends="compileJava, processResources" />
91
92 <target name="test" depends="classes" />
93
94 <target name="check" depends="test" />
95
96 <target name="java.compile.mps-plugin-tests" depends="fetchDependencies">
97 <mkdir dir="${build.tmp}/java/out/mps-plugin-tests" />
98 <javac2 destdir="${build.tmp}/java/out/mps-plugin-tests" fork="true" memorymaximumsize="256m" includeantruntime="false" debug="true">
99 <compilerarg value="-Xlint:none" />
100 <src>
101 <path location="${mps_home}/IdeaPlugin/mps-core/testSrc" />
102 <path location="${mps_home}/languages/languageDesign/editor/tests/jetbrains.mps.lang.editor.tests/testSrc" />
103 <path location="${mps_home}/languages/languageDesign/editor/tests/jetbrains.mps.lang.editor.tests/source_gen" />
104 <path location="${mps_home}/languages/languageDesign/test/solutions/jetbrains.mps.lang.test.runtime/source_gen" />
105 <path location="${mps_home}/testbench/source" />
106 <path location="${mps_home}/testbench/source_gen" />
107 </src>
108 <classpath>
13f3ddf @inspirer fix buildPlugin
inspirer authored
109 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-closures.jar" />
110 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-collections.jar" />
111 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-tuples.jar" />
112 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-core.jar" />
113 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-platform.jar" />
114 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-editor-api.jar" />
115 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-editor.jar" />
116 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-plugin.jar" />
117 <fileset file="${artifacts.buildPlugin}/mps-core/lib/mps-backend.jar" />
74997d1 @inspirer buildPluginTests
inspirer authored
118 <fileset file="${artifacts.IDEA}/lib/org.eclipse.jdt.core_3.5.2.v_981_R35x.jar" />
119 <fileset file="${artifacts.IDEA}/lib/guava-11.0.1.jar" />
120 <fileset file="${artifacts.IDEA}/lib/jdom.jar" />
121 <fileset file="${artifacts.IDEA}/lib/log4j.jar" />
122 <fileset file="${artifacts.IDEA}/lib/trove4j.jar" />
123 <fileset file="${artifacts.IDEA}/lib/xstream.jar" />
124 <fileset file="${artifacts.IDEA}/lib/annotations.jar" />
125 <fileset file="${artifacts.IDEA}/lib/commons-lang-2.4.jar" />
126 <fileset file="${artifacts.IDEA}/lib/commons-logging-1.1.1.jar" />
13f3ddf @inspirer fix buildPlugin
inspirer authored
127 <fileset file="${artifacts.buildPlugin}/mps-core/lib/asm.jar" />
128 <fileset file="${artifacts.buildPlugin}/mps-core/lib/diffutils-1.2.1.jar" />
74997d1 @inspirer buildPluginTests
inspirer authored
129 <fileset dir="${artifacts.IDEA}/lib" includes="*.jar" />
46bf416 @inspirer buildPluginTests: fix dependency, flatten test files
inspirer authored
130 <fileset dir="${artifacts.IDEA}/lib/ant/lib" includes="*.jar" />
74997d1 @inspirer buildPluginTests
inspirer authored
131 </classpath>
132 </javac2>
133 <copy todir="${build.tmp}/java/out/mps-plugin-tests">
134 <fileset dir="${mps_home}/IdeaPlugin/mps-core/testSrc" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
135 <fileset dir="${mps_home}/languages/languageDesign/editor/tests/jetbrains.mps.lang.editor.tests/testSrc" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
136 <fileset dir="${mps_home}/languages/languageDesign/editor/tests/jetbrains.mps.lang.editor.tests/source_gen" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
137 <fileset dir="${mps_home}/languages/languageDesign/test/solutions/jetbrains.mps.lang.test.runtime/source_gen" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
138 <fileset dir="${mps_home}/testbench/source" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
139 <fileset dir="${mps_home}/testbench/source_gen" includes="**/*.properties, **/*.xml, **/*.html, **/*.png, **/*.txt, **/*.ico, **/*.zip, **/*.info" />
140 </copy>
141 </target>
142 </project>
Something went wrong with that request. Please try again.