59 |
|
|
60 |
|
|
61 |
|
|
62 |
< |
<!-- Files excluded from emulation and dist-docs --> |
63 |
< |
<patternset id="emulation.excludes"> |
62 |
> |
<!-- Files excluded from dist-docs and emulation jar --> |
63 |
> |
<patternset id="unsafe.exclusion"> |
64 |
|
<exclude name="java/util/Random.*"/> |
65 |
|
<exclude name="sun/misc/Unsafe.*"/> |
66 |
|
</patternset> |
67 |
|
|
68 |
+ |
<!-- Files excludes from emulation jar --> |
69 |
+ |
<patternset id="atomic.exclusion"> |
70 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicInteger*"/> |
71 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicLong*"/> |
72 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicReference*"/> |
73 |
+ |
</patternset> |
74 |
+ |
|
75 |
|
|
76 |
|
|
77 |
|
<!-- Main targets --> |
299 |
|
|
300 |
|
<jar destfile="${product.jar}" duplicate="add"> |
301 |
|
<fileset dir="${build.classes.dir}"> |
302 |
< |
<patternset refid="emulation.excludes"/> |
302 |
> |
<patternset refid="atomic.exclusion"/> |
303 |
> |
<patternset refid="unsafe.exclusion"/> |
304 |
|
</fileset> |
305 |
|
<fileset dir="${build.emulation.dir}"/> |
306 |
|
</jar> |
349 |
|
<copy todir="${build.filter.src.dir}"> |
350 |
|
<fileset dir="${src.dir}"> |
351 |
|
<exclude name="**/*.html"/> |
352 |
< |
<patternset refid="emulation.excludes"/> |
352 |
> |
<patternset refid="unsafe.exclusion"/> |
353 |
|
</fileset> |
354 |
|
<filterchain> |
355 |
|
|
547 |
|
--> |
548 |
|
|
549 |
|
<path id="pre.bootclasspath"> |
542 |
– |
<!-- <pathelement location="${src.dir}"/> --> |
550 |
|
<pathelement location="${javac.jar}"/> |
551 |
|
</path> |
552 |
|
|
553 |
|
<path id="compile.bootclasspath"> |
554 |
< |
<!-- <pathelement location="${src.dir}"/> --> |
554 |
> |
<pathelement location="${build.classes.dir}"/> |
555 |
|
<pathelement location="${collect.jar}"/> |
556 |
|
<pathelement location="${rt.jar}"/> |
557 |
|
</path> |