Hi guys,
I just run into a problem and noticed JUnit package in fedora seems to use a snapshot version. It breaks powermock compatibility check. It's a issue in powermock itself and I've reported it http://code.google.com/p/powermock/issues/detail?id=453 But meanwhile, just wondering what's the reason behind packaging a snapshot version?
Regards,
Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com
What make you believe it's snapshot version ? It's using http://pkgs.fedoraproject.org/cgit/junit.git/tree/create-tarball.sh which fetches https://github.com/junit-team/junit/archive/r4.11.tar.gz (aka 4.11 release) and cleans it.
Alexander Kurtakov Red Hat Eclipse team
----- Original Message -----
From: "Patrick Huang" pahuang@redhat.com To: java-devel@lists.fedoraproject.org Sent: Friday, August 23, 2013 4:47:03 AM Subject: [fedora-java] JUnit snapshot version is packaged in fedora
Hi guys,
I just run into a problem and noticed JUnit package in fedora seems to use a snapshot version. It breaks powermock compatibility check. It's a issue in powermock itself and I've reported it http://code.google.com/p/powermock/issues/detail?id=453 But meanwhile, just wondering what's the reason behind packaging a snapshot version?
Regards,
Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
Hi,
I think VERSION in that http://pkgs.fedoraproject.org/cgit/junit.git/tree/create-tarball.sh is coming as command line argument which could be anything.
Check the spec file at http://pkgs.fedoraproject.org/cgit/junit.git/tree/junit.spec line 119 or search for SNAPSHOT it will show up several times.
Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat
----- Original Message -----
From: "Aleksandar Kurtakov" akurtako@redhat.com To: "Patrick Huang" pahuang@redhat.com Cc: java-devel@lists.fedoraproject.org Sent: Friday, August 23, 2013 3:19:03 PM Subject: Re: [fedora-java] JUnit snapshot version is packaged in fedora
What make you believe it's snapshot version ? It's using http://pkgs.fedoraproject.org/cgit/junit.git/tree/create-tarball.sh which fetches https://github.com/junit-team/junit/archive/r4.11.tar.gz (aka 4.11 release) and cleans it.
Alexander Kurtakov Red Hat Eclipse team
----- Original Message -----
From: "Patrick Huang" pahuang@redhat.com To: java-devel@lists.fedoraproject.org Sent: Friday, August 23, 2013 4:47:03 AM Subject: [fedora-java] JUnit snapshot version is packaged in fedora
Hi guys,
I just run into a problem and noticed JUnit package in fedora seems to use a snapshot version. It breaks powermock compatibility check. It's a issue in powermock itself and I've reported it http://code.google.com/p/powermock/issues/detail?id=453 But meanwhile, just wondering what's the reason behind packaging a snapshot version?
Regards,
Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
On 08/23/2013 07:19 AM, Aleksandar Kurtakov wrote:
What make you believe it's snapshot version ? It's using http://pkgs.fedoraproject.org/cgit/junit.git/tree/create-tarball.sh which fetches https://github.com/junit-team/junit/archive/r4.11.tar.gz (aka 4.11 release) and cleans it.
You're right, Fedora doesn't use snapshot version. However, our junit indeed identifies itself as a snapshot version. Apparently building junit with "ant dist" is not enough. This will produce junit-4.11-SNAPSHOT.jar and junit.runner.Version class will return hardcoded string "4.11-SNAPSHOT". I think it's a bug in our junit package, building with "ant dist -Dversion-status=" should fix the problem. I will take care of it.
Michal
Alexander Kurtakov Red Hat Eclipse team
----- Original Message -----
From: "Patrick Huang" pahuang@redhat.com To: java-devel@lists.fedoraproject.org Sent: Friday, August 23, 2013 4:47:03 AM Subject: [fedora-java] JUnit snapshot version is packaged in fedora
Hi guys,
I just run into a problem and noticed JUnit package in fedora seems to use a snapshot version. It breaks powermock compatibility check. It's a issue in powermock itself and I've reported it http://code.google.com/p/powermock/issues/detail?id=453 But meanwhile, just wondering what's the reason behind packaging a snapshot version?
Regards,
Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
java-devel@lists.fedoraproject.org