You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert A. Decker" <de...@robdecker.com> on 2002/11/07 21:48:03 UTC

Manifest.mf empty for lucene-1.2.jar

I've downloaded lucene and have been using it successfully on Win2k. I'm
now attempting to use it on solaris but am unable to load any of the
packages, even though my classpath seems to be set up correctly. 

When I looked inside the jar I see that the manifest file only has a
couple lines:
Manifest-Version: 1.0
Created-By: Ant 1.4.1


I'm not sure if this is my problem, but it's something that should
probably be fixed...


thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Manifest.mf empty for lucene-1.2.jar

Posted by "Robert A. Decker" <de...@robdecker.com>.
Hmm... looked into this further and here's what I see when i unzip the
jar:

unzip /tmp/release/Java/lucene-1.2.jar -d /tmp/release/Java
Archive:  /tmp/release/Java/lucene-1.2.jar
error [/tmp/release/Java/lucene-1.2.jar]:  missing 2 bytes in zipfile
  (attempting to process anyway)
error [/tmp/release/Java/lucene-1.2.jar]:  attempt to seek before
beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  (attempting to re-compensate)
   creating: /tmp/release/Java/META-INF/
   creating: /tmp/release/Java/org/
...(bunch of successfull unzipping going on, then:)

inflating: /tmp/release/Java/org/apache/lucene/analysis/standard/StandardTokenizerTokenManager.class
bad CRC 811881fb  (should be b2305fff)
file #33:  bad zipfile offset (local header sig):  22489
  (attempting to re-compensate)

followed by more successful unzips... It seems to unzip properly, and I'm
able to use the resulting class files. However, it looks like the jar
utility is not able to handle the error.


I'll try downloading a fresh copy of the jar.



thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Manifest.mf empty for lucene-1.2.jar

Posted by Otis Gospodnetic <ot...@yahoo.com>.
This doesn't sound like a manifest issue to me, more like a jar problem
(corrupt jar file or broken `jar').

Otis

--- "Robert A. Decker" <de...@robdecker.com> wrote:
> Thanks. I made these changes to my manifest, then took the old one
> out of
> the jar and added this new one. Unfortunately, I'm still not able to
> build
> on Solaris. I then unzipped the lucene-1.2.jar and added 'org' and
> below
> to a directory in my classpath and I'm now able to build...
> 
> 
> So, it looks like my classpath _is_ set up correctly. However, I
> can't get
> stuff out of the .jar. Is there supposed to be more info in the
> manifest?
> 
> Again, as before, I'm only having this problem on solaris. I can live
> with
> the current situation (having to unzip the jar), but would like to at
> least understand what is wrong...
> 
> thanks,
> rob
> 
> http://www.robdecker.com/
> http://www.planetside.com/
> 
> On Thu, 7 Nov 2002, Otis Gospodnetic wrote:
> 
> > I fixed that in 1.3dev1, the file should now look something like
> this:
> > 
> > Manifest-Version: 1.0
> > Created-By: Apache Jakarta
> > 
> > Name: org/apache/lucene
> > Specification-Title: Lucene Search Engine
> > Specification-Version: ${version}
> > Specification-Vendor: Lucene
> > Implementation-Title: org.apache.lucene
> > Implementation-Version: build ${DSTAMP} ${TSTAMP}
> > Implementation-Vendor: Lucene
> > 
> > 
> > 
> > --- "Robert A. Decker" <de...@robdecker.com> wrote:
> > > I've downloaded lucene and have been using it successfully on
> Win2k.
> > > I'm
> > > now attempting to use it on solaris but am unable to load any of
> the
> > > packages, even though my classpath seems to be set up correctly. 
> > > 
> > > When I looked inside the jar I see that the manifest file only
> has a
> > > couple lines:
> > > Manifest-Version: 1.0
> > > Created-By: Ant 1.4.1
> > > 
> > > 
> > > I'm not sure if this is my problem, but it's something that
> should
> > > probably be fixed...
> > > 
> > > 
> > > thanks,
> > > rob
> > > 
> > > http://www.robdecker.com/
> > > http://www.planetside.com/
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:  
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > U2 on LAUNCH - Exclusive greatest hits videos
> > http://launch.yahoo.com/u2
> > 
> > --
> > To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Manifest.mf empty for lucene-1.2.jar

Posted by "Robert A. Decker" <de...@robdecker.com>.
Thanks. I made these changes to my manifest, then took the old one out of
the jar and added this new one. Unfortunately, I'm still not able to build
on Solaris. I then unzipped the lucene-1.2.jar and added 'org' and below
to a directory in my classpath and I'm now able to build...


So, it looks like my classpath _is_ set up correctly. However, I can't get
stuff out of the .jar. Is there supposed to be more info in the manifest?

Again, as before, I'm only having this problem on solaris. I can live with
the current situation (having to unzip the jar), but would like to at
least understand what is wrong...

thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/

On Thu, 7 Nov 2002, Otis Gospodnetic wrote:

> I fixed that in 1.3dev1, the file should now look something like this:
> 
> Manifest-Version: 1.0
> Created-By: Apache Jakarta
> 
> Name: org/apache/lucene
> Specification-Title: Lucene Search Engine
> Specification-Version: ${version}
> Specification-Vendor: Lucene
> Implementation-Title: org.apache.lucene
> Implementation-Version: build ${DSTAMP} ${TSTAMP}
> Implementation-Vendor: Lucene
> 
> 
> 
> --- "Robert A. Decker" <de...@robdecker.com> wrote:
> > I've downloaded lucene and have been using it successfully on Win2k.
> > I'm
> > now attempting to use it on solaris but am unable to load any of the
> > packages, even though my classpath seems to be set up correctly. 
> > 
> > When I looked inside the jar I see that the manifest file only has a
> > couple lines:
> > Manifest-Version: 1.0
> > Created-By: Ant 1.4.1
> > 
> > 
> > I'm not sure if this is my problem, but it's something that should
> > probably be fixed...
> > 
> > 
> > thanks,
> > rob
> > 
> > http://www.robdecker.com/
> > http://www.planetside.com/
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Manifest.mf empty for lucene-1.2.jar

Posted by Otis Gospodnetic <ot...@yahoo.com>.
I fixed that in 1.3dev1, the file should now look something like this:

Manifest-Version: 1.0
Created-By: Apache Jakarta

Name: org/apache/lucene
Specification-Title: Lucene Search Engine
Specification-Version: ${version}
Specification-Vendor: Lucene
Implementation-Title: org.apache.lucene
Implementation-Version: build ${DSTAMP} ${TSTAMP}
Implementation-Vendor: Lucene



--- "Robert A. Decker" <de...@robdecker.com> wrote:
> I've downloaded lucene and have been using it successfully on Win2k.
> I'm
> now attempting to use it on solaris but am unable to load any of the
> packages, even though my classpath seems to be set up correctly. 
> 
> When I looked inside the jar I see that the manifest file only has a
> couple lines:
> Manifest-Version: 1.0
> Created-By: Ant 1.4.1
> 
> 
> I'm not sure if this is my problem, but it's something that should
> probably be fixed...
> 
> 
> thanks,
> rob
> 
> http://www.robdecker.com/
> http://www.planetside.com/
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>