mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
remove fork="true" in javac and fork="yes" in junit tasks (ant/bc+-build.xml) Original report: If java/bouncycastle15 is build on armv6 with openjdk18, the build stops with This command is not for general use and should only be run as the result of a call to ProcessBuilder.start() or Runtime.exec() in a java application PR: 220612 Submitted by: Gerrit Beine <mail+freebsd@gerritbeine.de> (based on) Approved by: az (mentor)
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
--- ant/bc+-build.xml.orig 2017-05-03 05:05:26 UTC
|
|
+++ ant/bc+-build.xml
|
|
@@ -107,7 +107,7 @@
|
|
srcdir="${artifacts.dir}/@{target}/src"
|
|
destdir="${build.dir}/@{target}/classes"
|
|
memoryMaximumSize="512m"
|
|
- debug="${release.debug}" fork="true">
|
|
+ debug="${release.debug}">
|
|
<classpath>
|
|
<path refid="project.classpath" />
|
|
<fileset dir="${artifacts.jars.dir}">
|
|
@@ -282,7 +282,6 @@
|
|
srcdir="${lcrypto.target.src.dir}"
|
|
destdir="${lcrypto.target.classes.dir}"
|
|
memoryMaximumSize="512m"
|
|
- fork="true"
|
|
debug="${release.debug}">
|
|
<classpath>
|
|
<path refid="project.classpath" />
|
|
@@ -762,7 +761,7 @@
|
|
|
|
<target name="test">
|
|
<mkdir dir="${basedir}/${build.dir}/${target.prefix}" />
|
|
- <junit fork="yes" dir="${basedir}/${build.dir}/${target.prefix}" failureProperty="test.failed">
|
|
+ <junit dir="${basedir}/${build.dir}/${target.prefix}" failureProperty="test.failed">
|
|
<classpath>
|
|
<path refid="project.classpath" />
|
|
<fileset dir="${artifacts.jars.dir}">
|
|
@@ -789,7 +788,7 @@
|
|
</target>
|
|
|
|
<target name="test-lw">
|
|
- <junit fork="yes" dir="${basedir}/${build.dir}/${target.prefix}" failureProperty="test.failed">
|
|
+ <junit dir="${basedir}/${build.dir}/${target.prefix}" failureProperty="test.failed">
|
|
<classpath>
|
|
<fileset dir="${artifacts.jars.dir}">
|
|
<include name="**/*.jar" />
|