Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
93 lines (81 loc) · 2.69 KB

File metadata and controls

93 lines (81 loc) · 2.69 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!--
Build file for Rhino using Ant (see http://jakarta.apache.org/ant/index.html)
Requires Ant version 1.2
-->
<project name="src" default="compile" basedir="..">
<property file="build.properties"/>
<available property="jdk15"
classname="java.lang.reflect.ParameterizedType" />
<available property="jdk18"
classname="java.util.stream.Stream" />
<target name="compile" depends="compile-most,compile-jdk15,compile-jdk18">
</target>
<target name="shell" depends="compile">
<java classname="org.mozilla.javascript.tools.shell.Main"
classpath="${classes}"
fork="true">
<arg line="-version 170"/>
</java>
</target>
<target name="compile-most">
<javac srcdir="src"
destdir="${classes}"
includes="org/**/*.java"
deprecation="on"
debug="${debug}"
includeAntRuntime="false"
encoding="UTF-8"
target="${target-jvm}"
source="${source-level}">
<exclude name="org/**/jdk15/*.java"/>
<exclude name="org/**/jdk18/*.java"/>
</javac>
<copy todir="${classes}">
<fileset dir="src" includes="org/**/*.properties" />
<filterset>
<filter token="IMPLEMENTATION.VERSION"
value="${implementation.version}"/>
</filterset>
</copy>
</target>
<target name="compile-jdk15" if="jdk15">
<javac srcdir="src"
destdir="${classes}"
includes="org/**/jdk15/*.java"
excludes="org/**/jdk18/*.java"
deprecation="on"
debug="${debug}"
includeAntRuntime="false"
encoding="UTF-8"
target="${target-jvm}"
source="${source-level}" />
</target>
<target name="compile-jdk18" if="jdk18">
<javac srcdir="src"
destdir="${classes}"
includes="org/**/jdk18/*.java"
deprecation="on"
debug="${debug}"
includeAntRuntime="false"
encoding="UTF-8"
target="${target-jvm}"
source="${source-level}" />
</target>
<target name="copy-source">
<mkdir dir="${dist.dir}/src"/>
<copy todir="${dist.dir}/src">
<fileset dir="src"
includes="**/*.java,**/*.properties,**/*.xml,manifest"/>
</copy>
</target>
<target name="clean">
<delete includeEmptyDirs="true">
<fileset dir="${classes}"
excludes="org/mozilla/javascript/tools/**"/>
</delete>
</target>
</project>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.