I'm getting the same failures also.

I believe the dummy-jsp.war and dummy-taglib.war are corrupt.
That is what I've found here.  I'm not sure if they were added
without the -kb since they are binary files or what...

=================================================================
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com


> -----Original Message-----
> From: Tom Copeland [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 20, 2002 8:57 AM
> To: [EMAIL PROTECTED]
> Subject: Is anyone else having trouble running WarFileTest?
> 
> 
> Because for me it keeps failing like this:
> 
> ================
> [tom@ul020-dmz test-reports]$ more
> TEST-org.apache.maven.j2ee.WarFileTest.txt
> Testsuite: org.apache.maven.j2ee.WarFileTest
> Tests run: 10, Failures: 0, Errors: 2, Time elapsed: 1.193 sec
> 
> Testcase: testEmptyWar took 0.015 sec
> Testcase: testManifestOnlyWar took 0.001 sec
> Testcase: testSimpleWar took 1.064 sec
> Testcase: testDummyWarServlets took 0.045 sec
> Testcase: testDummyWarLib took 0.003 sec
> Testcase: testDummyWarExtract took 0.003 sec
> Testcase: testDummyJspWar took 0.006 sec
>         Caused an ERROR
> invalid END header (bad central directory offset)
> java.util.zip.ZipException: invalid END header (bad central directory
> offset)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>         at java.util.jar.JarFile.<init>(JarFile.java:117)
>         at java.util.jar.JarFile.<init>(JarFile.java:55)
>         at org.apache.maven.j2ee.WarFile.<init>(WarFile.java:100)
>         at
> org.apache.maven.j2ee.WarFileTest.testDummyJspWar(WarFileTest.
> java:235)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at junit.framework.TestCase.runTest(TestCase.java:166)
> ================
> 
> All the other tests run fine... 
> 
> Thanks,
> 
> Tom Copeland
> InfoEther
> 703-486-4543 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to