43 COMPONENT_BUILD_ARGS += -Djavadocdir=${PROTO_DIR} |
43 COMPONENT_BUILD_ARGS += -Djavadocdir=${PROTO_DIR} |
44 COMPONENT_BUILD_ARGS += -Dversion-status="" |
44 COMPONENT_BUILD_ARGS += -Dversion-status="" |
45 COMPONENT_BUILD_ARGS += -Dadditionalparam="-Xdoclint:none" |
45 COMPONENT_BUILD_ARGS += -Dadditionalparam="-Xdoclint:none" |
46 COMPONENT_BUILD_TARGETS = populate-dist |
46 COMPONENT_BUILD_TARGETS = populate-dist |
47 |
47 |
|
48 COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp |
|
49 COMPONENT_BUILD_ENV += "_JAVA_OPTIONS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp" |
|
50 |
48 # We patched in test-build into build.xml which is a copy of |
51 # We patched in test-build into build.xml which is a copy of |
49 # dist but without the depends=populate-dist |
52 # dist but without the depends=populate-dist |
50 # because userland infrasture will handle the build and we |
53 # because userland infrasture will handle the build and we |
51 # need to build tests which are also part of the overall softare build. |
54 # need to build tests which are also part of the overall softare build. |
52 COMPONENT_TEST_ARGS += $(COMPONENT_BUILD_ARGS) |
55 COMPONENT_TEST_ARGS += $(COMPONENT_BUILD_ARGS) |
|
56 COMPONENT_TEST_ENV += "_JAVA_OPTIONS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp" |
53 COMPONENT_TEST_TARGETS = test-build |
57 COMPONENT_TEST_TARGETS = test-build |
54 |
58 |
55 COMPONENT_SYSTEM_TEST_ARGS += -Dsystem-binjar=/usr/share/lib/java/$(COMPONENT_NAME).jar |
59 COMPONENT_SYSTEM_TEST_ARGS += -Dsystem-binjar=/usr/share/lib/java/$(COMPONENT_NAME).jar |
|
60 COMPONENT_SYSTEM_TEST_ENV += "_JAVA_OPTIONS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp" |
56 COMPONENT_SYSTEM_TEST_TARGETS = test |
61 COMPONENT_SYSTEM_TEST_TARGETS = test |
57 |
62 |
58 # Test transforms |
63 # Test transforms |
59 # remove everything upto "test" which is build noise |
64 # remove everything upto "test" which is build noise |
60 # remove time |
65 # remove time |
63 '-e "s/.*[Tt]ime.*$$//"' |
68 '-e "s/.*[Tt]ime.*$$//"' |
64 |
69 |
65 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
70 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
66 |
71 |
67 build: $(BUILD_32) |
72 build: $(BUILD_32) |
68 |
73 |
69 install: build |
74 install: build |
70 |
75 |
71 # Another test is: |
76 # Another test is: |
72 # To test after you have installed the resulting package do: |
77 # To test after you have installed the resulting package do: |
73 # $ java -cp /usr/share/lib/java/junit.jar:/usr/share/doc/junit/samples/org \ |
78 # $ java -cp /usr/share/lib/java/junit.jar:/usr/share/doc/junit/samples/org \ |
74 # junit/samples/money/MoneyTest |
79 # junit/samples/money/MoneyTest |