Print

Print


Hi,

I've CC'd to hps-software, because I think others might run into the same issues.

I just plowed ahead and did a fixup to hps-java today.  The problem was that it used to use a fixed, older version of lcsim, but people kept putting in incompatible code referencing the current version.  So I just went ahead and changed it.  (See last message to hps-software.)  This should fix the compilation error you saw today.

Then I think you should do the following to get a new working environment.

-Remove your Maven cache at ~/.m2 by renaming or deleting it.

-Remove your JAS3 cache at ~/.JAS3 by renaming or deleting it.

-Update your JAS3 client to this one.  Older versions are incompatible. 

http://java.freehep.org/maven2/org/freehep/jas-assembly/0.9.5/jas-assembly-0.9.5-distribution.tar.gz

-Update your version of Maven to 3.0.4 (might not be necessary but I recommend it).

http://maven.apache.org/download.html

-Do a 'cvs up' on hps-java and rebuild it.

Then let me know what does or doesn't work.  I think all the jars referenced by hps-java should be deployed to our Maven repository, but it is possible I missed something.

The only major change should be that Track.getTrackStates() should work now, as Tracks in the new version can have multiple states.  There is a possibility that calls to Track.getMomentum() may return (0,0,0) now, depending on what implementation is backing it.  We should thoroughly check the code for this.  Possible this could be fixed up in lcsim if it was broken.  Getting track parameters should now go through getTrackStates() instead of Track.  Those older methods should be deprecated, which I'll do at some point.

--Jeremy

-----Original Message-----
From: Sarah Phillips [mailto:[log in to unmask]] 
Sent: Wednesday, September 05, 2012 8:42 AM
To: McCormick, Jeremy I.
Subject: RE: JAS3 error

Hi Jeremy,

I tried running 'mvn install' on my hps-java, but I still got the same error from jas.  I decided to update my hps-java, so I did a full update of all my various packages (hps-detectors, hpas-java, etc.), but now I get a build failure on hps-java that I cannot seem to resolve (seem below). 
The rest all compiled fine.  Where does HelixParamCalculator come in?

With Regards,

Sarah


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1