You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2004/11/05 14:44:44 UTC

Jetty jars corrupted - warning: last-modified not specified

Hi,

I wonder if it's only me who experience the issue with building Jetty 
module? It happens on two machines, and I don't really know the 
solution. It simply doesn't allow me to build Geronimo online :(

The environment

$ maven --version
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

$ ver
Microsoft Windows XP [Version 5.1.2600]

$ uname -a
CYGWIN_NT-5.1 JLASKOWSKI 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown 
unknown Cygwin

The error message says:

Próbuję ściągnąć org.mortbay.jetty-5.1-SNAPSHOT.jar.
warning: last-modified not specified
0K downloaded
warning: last-modified not specified

Unfortunatelly, the build fails due to missing Jetty's classes.

     [javac] Compiling 52 source files to 
C:\projects\geronimo\trunk\modules\jetty\target\classes
error: error reading C:\Documents and 
Settings\jl540585\.maven\repository\jetty\jars\org.mortbay.jetty-5.1-SNAPSHOT.jar;
  java.util.zip.ZipException: error in opening zip file
C:\projects\geronimo\trunk\modules\jetty\src\java\org\apache\geronimo\jetty\connector\AJP13Connector.java:23: 
package or
g.mortbay.http.ajp does not exist
import org.mortbay.http.ajp.AJP13Listener;
                             ^
I can't believe it's only me. Hopefully, Greg will be reading it so I'm 
quite confident it's going to be sorted out soon ;)

Jacek


Re: Jetty jars corrupted - warning: last-modified not specified

Posted by Ralf Barkow <rg...@tiscali.de>.
    Cf. http://nagoya.apache.org/jira/browse/GERONIMO-389

Maybe this workaround suits your need :

    $ cd ~/.maven/repository/jetty/jars/

and delete the following two files

    org.mortbay.jetty-5.1-SNAPSHOT.jar
    org.mortbay.jetty-5.1-SNAPSHOT.jar.md5

before an online build in  ~/geronimo/modules/jetty/. 
These will be downloaded, if they doesn't exist,
otherwise 'overwritten'/left with 0 bytes size.

Alan Cabrera commented on http://nagoya.apache.org/jira/browse/GERONIMO-394:
"This jar comes from the mort bay repo. You should bring this up with 
the Jetty group."
http://www.mortbay.org/maven/jetty/jars/

Jacek, as I'm quite busy with other things, could you bring this up with 
the Jetty guys?

Thanks,
--  Ralf