forked from JetBrains/intellij-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildutils.xml
87 lines (77 loc) · 3.16 KB
/
buildutils.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<project name="Production build" default="idea.postbuild">
<target name="rename.scala.library">
<move todir="out/plugin/Scala/lib">
<fileset dir="out/plugin/Scala/lib">
<include name="scala-library*.jar"/>
</fileset>
<mapper type="glob" from="*" to="scala-library.jar"/>
</move>
</target>
<target name="rename.sbt.structure.0.12">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-structure-extractor-0-12*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-structure-0.12.jar"/>
</move>
</target>
<target name="rename.sbt.structure.0.13">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-structure-extractor-0-13*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-structure-0.13.jar"/>
</move>
</target>
<target name="rename.sbt.launch">
<move todir="out/plugin/Scala/launcher">
<fileset dir="out/plugin/Scala/launcher">
<include name="sbt-launch*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-launch.jar"/>
</move>
</target>
<target name="rename.compiler-interface-sources">
<move todir="out/plugin/Scala/lib/jps">
<fileset dir="out/plugin/Scala/lib/jps">
<include name="compiler-interface-sources*.jar"/>
</fileset>
<mapper type="glob" from="*" to="compiler-interface-sources.jar"/>
</move>
</target>
<target name="rename.incremental-compiler">
<move todir="out/plugin/Scala/lib/jps">
<fileset dir="out/plugin/Scala/lib/jps">
<include name="incremental-compiler*.jar"/>
</fileset>
<mapper type="glob" from="*" to="incremental-compiler.jar"/>
</move>
</target>
<target name="rename.sbt-interface">
<move todir="out/plugin/Scala/lib/jps">
<fileset dir="out/plugin/Scala/lib/jps">
<include name="sbt-interface*.jar"/>
</fileset>
<mapper type="glob" from="*" to="sbt-interface.jar"/>
</move>
</target>
<target name="rename.jline">
<move todir="out/plugin/Scala/lib/jps">
<fileset dir="out/plugin/Scala/lib/jps">
<include name="jline*.jar"/>
</fileset>
<mapper type="glob" from="*" to="jline.jar"/>
</move>
</target>
<target name="rename.nailgun">
<move todir="out/plugin/Scala/lib/jps">
<fileset dir="out/plugin/Scala/lib/jps">
<include name="nailgun*.jar"/>
</fileset>
<mapper type="glob" from="*" to="nailgun.jar"/>
</move>
</target>
<target name="idea.postbuild"
depends="rename.scala.library,rename.sbt.structure.0.12,rename.sbt.structure.0.13,rename.sbt.launch,
rename.compiler-interface-sources,rename.incremental-compiler,rename.sbt-interface,rename.jline,rename.nailgun"/>
</project>