Things obviously work ok here :(

Can you try unzipping the offending war file, and see if it's ok? If not,
checkout a new copy from CVS and see how that goes.
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                       
                            
                    "Tom Copeland"                                                     
                            
                    <tom@infoether       To:     
<[EMAIL PROTECTED]>                            
                    .com>                cc:                                           
                            
                                         Subject:     Is anyone else having trouble 
running WarFileTest?           
                    05/20/02 11:56                                                     
                            
                    PM                                                                 
                            
                    Please respond                                                     
                            
                    to "Turbine                                                        
                            
                    Maven                                                              
                            
                    Developers                                                         
                            
                    List"                                                              
                            
                                                                                       
                            
                                                                                       
                            




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(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
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