Skip to content

Commit e724f4d

Browse files
committed
New: set Ant property 'j2s.lib.include.junit' to true to include "junit" in 'js2lib'
1 parent 4b53c84 commit e724f4d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

sources/net.sf.j2s.lib/build/build.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
77
josson smith
88
====================================================================== -->
9-
<project name="j2s.core.build" default="j2s.pack.lib">
9+
<project name="j2s.core.build" default="j2s.pack.lib"
10+
xmlns:if="ant:if"
11+
xmlns:unless="ant:unless">
1012
<description>
1113
Building j2s-core-*.z.js
1214
</description>
@@ -36,6 +38,8 @@
3638

3739
<property name="j2s.core.src" value="${j2s.core.project}/src"/>
3840

41+
<property name="j2s.lib.include.junit" value="false"/>
42+
3943
<!-- - - - - - - - - - - - - - - - - -
4044
target: j2s.pack.core
4145
- - - - - - - - - - - - - - - - - -->
@@ -737,13 +741,13 @@
737741
<exclude name="**/*.swp"/>
738742
<exclude name="**/*.swo"/>
739743
</fileset>
740-
<!--
741-
<fileset dir="${j2s.junit.bin}">
744+
<fileset dir="${j2s.junit.bin}" if:true="${j2s.lib.include.junit}" >
742745
<exclude name="**/*.clazz"/>
743746
<exclude name="**/*.class"/>
744747
<exclude name="**/*.swp"/>
745748
<exclude name="**/*.swo"/>
746749
</fileset>
750+
<!--
747751
<fileset dir="${j2s.jface.project}/bin">
748752
<exclude name="**/*.clazz"/>
749753
<exclude name="**/*.class"/>

0 commit comments

Comments
 (0)