Re: [MacPorts] #1878: UPDATE:junit-3.8.1
#1878: UPDATE:junit-3.8.1 --------------------------+-------------------- Reporter: sean@… | Owner: mww@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.0 Resolution: fixed | Keywords: Port: junit | --------------------------+-------------------- Changes (by ryandesign@…): * port: => junit Old description:
This patch to junit creates a symlink to junit.jar in java/apache-ant/lib This allows ant builds that use the JUnit task (for unit testing) to run properly. (e.g. Maven) Here's the diff: -------------- Index: Portfile =============================================================== ==== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/java/junit/Portfile,v retrieving revision 1.1 diff -u -u -r1.1 Portfile --- Portfile 18 Apr 2004 15:08:34 -0000 1.1 +++ Portfile 27 May 2004 04:34:57 -0000 @@ -32,8 +32,10 @@
destroot { xinstall -d -m 755 ${destroot}${prefix}/share/java \ - ${destroot}${prefix}/share/doc + ${destroot}${prefix}/share/doc \ + ${destroot}${prefix}/java/apache-ant/lib/ xinstall -m 644 ${worksrcpath}/${name}${version}/junit.jar \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/javadoc ${destroot}${prefix}/share/doc/${name} + system "ln -fs ${prefix}/share/java/junit.jar ${destroot}${prefix}/java/apache-ant/lib/" }
New description: This patch to junit creates a symlink to junit.jar in java/apache-ant/lib This allows ant builds that use the JUnit task (for unit testing) to run properly. (e.g. Maven) Here's the diff: {{{ Index: Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/java/junit/Portfile,v retrieving revision 1.1 diff -u -u -r1.1 Portfile --- Portfile 18 Apr 2004 15:08:34 -0000 1.1 +++ Portfile 27 May 2004 04:34:57 -0000 @@ -32,8 +32,10 @@ destroot { xinstall -d -m 755 ${destroot}${prefix}/share/java \ - ${destroot}${prefix}/share/doc + ${destroot}${prefix}/share/doc \ + ${destroot}${prefix}/java/apache-ant/lib/ xinstall -m 644 ${worksrcpath}/${name}${version}/junit.jar \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/javadoc ${destroot}${prefix}/share/doc/${name} + system "ln -fs ${prefix}/share/java/junit.jar ${destroot}${prefix}/java/apache-ant/lib/" } }}} -- -- Ticket URL: <https://trac.macports.org/ticket/1878#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts