[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More help for beast-mcmc needed (Was: Help with java package (beast-mcmc) needed)



I also remark in beast.jar MANIFEST that there is a carriage return:

Class-Path: /usr/share/beast-mcmc/beagle.jar /usr/share/java/jebl.jar
/u   <---- there should not be a carriage return here
 sr/share/java/jam.jar /usr/share/java/treeview.jar

this may cause issue in classpath read.

Olivier

Le 1/11/12 4:37 PM, Andreas Tille a écrit :
> On Wed, Jan 11, 2012 at 04:20:29PM +0100, Olivier Sallou wrote:
>> #!/bin/sh
>>
>> BEAST_LIB="/usr/share/beast-mcmc"
>> java -Xms64m -Xmx2048m -Djava.library.path="$BEAST_LIB:/usr/lib" -cp
>> "/usr/share/java/jebl.jar:$BEAST_LIB
>> /beast.jar:$BEAST_LIB/beast-beagle.jar" dr.app.beast.BeastMain $*
> Damn, that's what I actually did! :-(
> But now it somehow works.
>  
>> As I said, other jar files are missing (complete list needed for build I
>> think)
> Sure.  But don't you think that something is broken if these JARs are
> mentioned in META-INF/MANIFEST.MF which says:
>
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.8.2
> Created-By: 1.6.0_24-b24 (Sun Microsystems Inc.)
> Built-By: pbuilder
> Class-Path: /usr/share/beast-mcmc/beagle.jar /usr/share/java/jebl.jar /usr/share/java/jam.jar /usr/share/java/treeview.jar
> Main-Class: dr.app.beast.BeastMain
>
>
> I confirm I just realised that jdom1 and common-math were missing in
> MANIFEST - but this should have caused a different error.  So WTF is the
> use of this Manifest stuff if it finally does not work at all and just
> has different time to break (some scripts in the beginning, some of them
> later).
>
> I'm really trying to become more comfortable with Java because we have
> several Java packages in our focus - but it seems there is a reason why
> people in the team do not like this language. :-(
>
> Thanks for your help in any case
>
>         Andreas.
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



Reply to: