You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/04/20 22:19:01 UTC

DO NOT REPLY [Bug 47058] New: junit4 tests fails with ant 1.7.1

https://issues.apache.org/bugzilla/show_bug.cgi?id=47058

           Summary: junit4 tests fails with ant 1.7.1
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: serkan@gentoo.org


I'm getting ZipException's while running junit4 tests in 1.7.1 but 1.7.0 works
just fine.

I'll give links to build outputs generated by ant 1.7.0 and 1.7.1 for
investigation.

1.7.0: http://dev.gentoo.org/~serkan/test-1.7.0.txt
1.7.1:http://dev.gentoo.org/~serkan/test-1.7.1.txt

Thanks in advance,

Serkan Kaba

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47058] junit4 tests fails with ant 1.7.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47058


Serkan Kaba <se...@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://zemberek.googlecode.
                   |                            |com/svn/trunk/zemberek2/




--- Comment #1 from Serkan Kaba <se...@gentoo.org>  2009-04-23 12:11:40 PST ---
Added zemberek2 SVN URL.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47058] junit4 tests fails with ant 1.7.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47058


Serkan Kaba <se...@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://zemberek.googlecode. |http://code.google.com/p/ze
                   |com/svn/trunk/zemberek2/    |mberek/source/detail?r=415




--- Comment #2 from Serkan Kaba <se...@gentoo.org>  2009-04-23 13:29:44 PST ---
build.xml was referring to classfiles by fileset instead of pathelement hence
causing ant classloader to treat them as jar files and failing to load. I don't
know how this worked with previous releases though (successfully treated as
class files, warning silenly suppressed) Any way, I'm setting the url to commit
that fixed the issue. I'm leaving the resolution to you.

Thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47058] junit4 tests fails with ant 1.7.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47058


Vlastimil Babka (Caster) <ca...@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caster@gentoo.org




--- Comment #3 from Vlastimil Babka (Caster) <ca...@gentoo.org>  2009-04-24 10:13:44 PST ---
I think the change between and 1.7.0 and 1.7.1 was due to this:
https://issues.apache.org/bugzilla/show_bug.cgi?id=42259

And the SVN already has an improved error message, which is IMHO enough to make
people realize and fix their build.xml problems 
http://svn.apache.org/viewvc?view=rev&revision=683997

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47058] junit4 tests fails with ant 1.7.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47058


Petteri Räty <be...@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |betelgeuse@gentoo.org




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 47058] junit4 tests fails with ant 1.7.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47058


J.M. (Martijn) Kruithof <jk...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #4 from J.M. (Martijn) Kruithof <jk...@apache.org>  2009-04-24 22:44:34 PST ---
The exception indicates that there is an error opening a zip file. This
includes jar files. 
Thanks for pointing out that the reporting on at least which file did not open
has already been added.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.