RE: Failed to load Main-Class manifest attribute frompollo.jar

Bruno Dumon <[email protected]> Mon, 08 Nov 2004 13:32:03 +0100
Newsgroups gmane.editors.pollo.devel
Organization Outerthought
Message-ID <[email protected]>
On Mon, 2004-11-08 at 13:09 +0100, Mohamed CHAARI wrote:
> When I runs 'pollo.sh' I have this  : 
> 
> ./pollo.sh:
> CLASSPATH=<my-prefix>/pollo-0.4-bin/lib/pollo.jar:<my-prefix>/pollo-0.4-bin/
> lib/endorsed/dom3-xercesImpl.jar:<my-prefix>/pollo-0.4-bin/lib/endorsed/dom3
> -xmlParserAPIs.jar:<my-prefix>/pollo-0.4-bin/lib/avalon-configuration.jar:<m
> y-prefix>/pollo-0.4-bin/lib/log4j-core.jar:<my-prefix>/pollo-0.4-bin/lib/jax
> en-core.jar:<my-prefix>/pollo-0.4-bin/lib/jaxen-dom.jar:<my-prefix>/pollo-0.
> 4-bin/lib/saxpath.jar:<my-prefix>/pollo-0.4-bin/lib/msv-20031002.jar:<my-pre
> fix>/pollo-0.4-bin/lib/xsdlib.jar:<my-prefix>/pollo-0.4-bin/lib/relaxngDatat
> ype.jar:<my-prefix>/pollo-0.4-bin/lib/isorelax.jar:<my-prefix>/pollo-0.4-bin
> /lib/xpp3-1.1.3.4-RC3_min.jar:<my-prefix>/pollo-0.4-bin/lib/commons-lang-exc
> eption-2.0.jar:<my-prefix>/pollo-0.4-bin/conf:<my-prefix>/pollo-0.4-bin/buil
> d: is not an identifier
> 
> I don't know why the 'pollo.sh' script is trying to include
> '<my-prefix>/pollo-0.4-bin/build' in the CLASSPATH !!! there
> is no 'build' directory under 'pollo-0.4-bin' ...

This shouldn't cause any problem, a non-existing directory will simply
be ignored (the entry is there because during development the classes
are located in the build directory).

I don't know the peculiarities of the shell you're using, but maybe it
helps if you change the pollo.sh file to put the classpath between
quotes: CLASSPATH="..."

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[email protected]                          [email protected]



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click