Thanks, I'll make sure my students know about the changes. - Sarah On Fri, 12 Oct 2012, McCormick, Jeremy I. wrote: > Hi, > > There are a lot of outdated tutorial pages on the confluence unfortunately. At some point they should either be removed or updated. > > Basically, these are the only projects you should ever need to checkout for HPS Java work: > > GeomConverter > lcsim > hps-java > hps-detectors > > Depending on what you're doing, you may only need to build hps-java. > > These instructions should work pretty well (distributing to list). > > https://confluence.slac.stanford.edu/display/hpsg/Installing+HPS+Software#InstallingHPSSoftware-BootstraptheJavaSoftware > > That page shows how to setup hps-java, lcsim, and a working JAS. > > If there are any additional problems, please send to the list. > > --Jeremy > > On Oct 12, 2012, at 9:58 AM, Sarah Phillips wrote: > >> Thanks, Homer! >> >> >> On Fri, 12 Oct 2012, Homer wrote: >> >>> In any case, it is fixed now. >>> >>> [INFO] Installing >>> /a/surrey16/vol/vol1/bbrwork/h/homer/lcsim-contrib/target/lcsim-contrib-2.0-SNAPSHOT.jar >>> to >>> /u/ey/homer/.m2/repository/org/lcsim/lcsim-contrib/2.0-SNAPSHOT/lcsim-contrib-2.0-SNAPSHOT.jar >>> [INFO] [freehep-jas:install {execution: default}] >>> [INFO] Copied 1 jar file to /u/ey/homer/.JAS3/extensions >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] BUILD SUCCESSFUL >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> >>> Cheers, >>> Homer >>> >>> >>> On Fri, 12 Oct 2012, Sho Uemura wrote: >>> >>>> The CVS version of lcsim-contrib is broken right now. You shouldn't need to >>>> build lcsim-contrib, read below: >>>> >>>> >>>> Quickish summary of CVS, Maven and version numbers: >>>> >>>> The source for the lcsim/hps-java projects lives in CVS. You can check code >>>> out, and it will be the most current version of the source. >>>> >>>> The Java code is built using Maven. Each Maven project (hps-java, >>>> hps-detectors, lcsim, lcsim-contrib . . .) has a list of dependencies on >>>> other Maven projects, with version numbers specified. >>>> >>>> When you build a Maven project, Maven looks for dependencies in your ~/.m2 >>>> directory (your "local repository"), which contains every Maven project >>>> you've ever built or downloaded from the Internet. If it can't find all the >>>> packages it needs, it goes to the Internet - there's an lcsim repository, a >>>> FreeHEP repository, etc. - and downloads them. (Projects get deployed to >>>> these repositories by Software Experts.) >>>> >>>> A Maven project you build yourself will get added to your local repository >>>> as a snapshot - e.g. "2.3-SNAPSHOT." >>>> >>>> Most of the hps-java dependencies are release versions (not snapshots). >>>> This means that when you build hps-java, those dependencies are always >>>> pulled from the Internet. There is no reason to checkout and build these >>>> dependencies because Maven won't use them to build hps-java anyway. The one >>>> exception is hps-detectors - hps-java uses the snapshot version because >>>> hps-detectors is just as much in flux as hps-java. >>>> >>>> >>>> >>>> tl;dr: You should only checkout and build a project if: >>>> >>>> (a) you're going to run the .jar of that project - only hps-java >>>> >>>> (b) you know you need the most current version, and you know hps-java uses >>>> the snapshot version - only hps-detectors >>>> >>>> (c) you're going to make changes to the project - you need to change the >>>> dependencies of other projects to use the snapshot version, and when you're >>>> done you should let Software Experts know that you have a change you'd like >>>> to make (hps-java and hps-detectors are our turf, we can break them all we >>>> want, but lcsim etc. are used by other people so there needs to be some >>>> oversight) >>>> >>>> >>>> >>>> >>>> still tl;dr: You should only checkout and build hps-java and hps-detectors >>>> unless we tell you otherwise (to this mailing list). Everything else will >>>> be downloaded magically. >>>> >>>> On Fri, 12 Oct 2012, Sarah Phillips wrote: >>>> >>>>> Hi HPS Software Experts, >>>>> >>>>> I am doing an update of my HPS software, but I cannot get lcsim-contrib to >>>>> compile because of these errors: >>>>> >>>>> [INFO] ------------------------------------------------------------- >>>>> [ERROR] COMPILATION ERROR : >>>>> [INFO] ------------------------------------------------------------- >>>>> [ERROR] >>>>> /data/sarahp/lcsim-contrib/src/main/java/org/lcsim/contrib/homer/vvHratio/sid/java/MyDBDvvHAnalysis.java:[18,7] >>>>> duplicate class: MyDBDvvHAnalysis >>>>> [ERROR] >>>>> /data/sarahp/lcsim-contrib/src/main/java/org/lcsim/contrib/homer/vvHratio/PFOJetFindingDriver.java:[22,7] >>>>> duplicate class: PFOJetFindingDriver >>>>> [ERROR] >>>>> /data/sarahp/lcsim-contrib/src/main/java/org/lcsim/contrib/homer/vvHratio/MyDBDvvH.java:[16,7] >>>>> duplicate class: MyDBDvvH >>>>> [INFO] 3 errors >>>>> [INFO] ------------------------------------------------------------- >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> >>>>> Is there a way I can get it to ignore these for now? Thanks! >>>>> >>>>> >>>>> 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 >>>>> >>>> >>>> ######################################################################## >>>> 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 >>>> >>> >> >> ######################################################################## >> 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 > > > ######################################################################## > 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 > ######################################################################## 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