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/AtomicBoolean*"/> |
71 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicInteger*"/> |
72 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicLong*"/> |
73 |
+ |
<exclude name="java/util/concurrent/atomic/AtomicReference*"/> |
74 |
+ |
</patternset> |
75 |
+ |
|
76 |
|
|
77 |
|
|
78 |
|
<!-- Main targets --> |
300 |
|
|
301 |
|
<jar destfile="${product.jar}" duplicate="add"> |
302 |
|
<fileset dir="${build.classes.dir}"> |
303 |
< |
<patternset refid="emulation.excludes"/> |
303 |
> |
<patternset refid="atomic.exclusion"/> |
304 |
> |
<patternset refid="unsafe.exclusion"/> |
305 |
|
</fileset> |
306 |
|
<fileset dir="${build.emulation.dir}"/> |
307 |
|
</jar> |
350 |
|
<copy todir="${build.filter.src.dir}"> |
351 |
|
<fileset dir="${src.dir}"> |
352 |
|
<exclude name="**/*.html"/> |
353 |
< |
<patternset refid="emulation.excludes"/> |
353 |
> |
<patternset refid="unsafe.exclusion"/> |
354 |
|
</fileset> |
355 |
|
<filterchain> |
356 |
|
|
552 |
|
</path> |
553 |
|
|
554 |
|
<path id="compile.bootclasspath"> |
555 |
+ |
<pathelement location="${build.classes.dir}"/> |
556 |
|
<pathelement location="${collect.jar}"/> |
557 |
|
<pathelement location="${rt.jar}"/> |
558 |
|
</path> |