Print

Print


Done. The current lcsim snapshot still needs to be deployed to the Maven 
repository; we'll let you know when that's done and then hps-java will 
build again.

On Wed, 28 Nov 2012, McCormick, Jeremy I. wrote:

> Hi, Chad.
>
> I was discussing this today with Sho and Pelle.  Apparently the hps-java dependency needs to be changed from lcsim 2.6 to 2.6-SNAPSHOT within its pom.xml file.  This is why the error is occurring.  I think one of them will do it by the end of the day today...?
>
> --Jeremy
>
> -----Original Message-----
> From: Chad N Civello [mailto:[log in to unmask]]
> Sent: Wednesday, November 28, 2012 11:16 AM
> To: McCormick, Jeremy I.
> Cc: [log in to unmask]
> Subject: RE: Build Error
>
> Jeremy,
>
> I have updated all of my directories using cvs (lcsim, GeomConverter, hps-detectors), and I was able successfully build all of them. However I am still getting the same error message for hps-java when I try to build it. If the build is working for you then it must be something to do on my end. I have had build errors in the past that seem to work themselves out after a few days. If you have any other suggestions it would be much appreciated though. I will continue to play around with it to see if I can fix the problem. Thanks for your help.
>
> Regards,
> Chad
> ________________________________________
> From: McCormick, Jeremy I. [[log in to unmask]]
> Sent: Tuesday, November 27, 2012 11:52 AM
> To: Chad N Civello
> Cc: [log in to unmask]
> Subject: RE: Build Error
>
> Hi, Chad.
>
> Typically this can happen when the head of hps-java depends on updates in a version of lcsim that has not been deployed, like a recent snapshot.
>
> You can usually fix these types of errors by checking out lcsim yourself and building it.
>
> This can be done as follows from the command-line, assuming you have a typical Linux installation:
>
> cvs co lcsim
> cd lcsim
> mvn clean install -DskipTests=true
>
> Then you can rebuild hps-java, and it should work.  Let me know if that fixes things for you.
>
> --Jeremy
>
> -----Original Message-----
> From: Chad N Civello [mailto:[log in to unmask]]
> Sent: Monday, November 26, 2012 2:32 PM
> To: McCormick, Jeremy I.
> Cc: [log in to unmask]
> Subject: Build Error
>
> Hi Jeremy,
>
> I am one of Sarah's students at UNH working through some of the reconstruction code. I tried to do a CVS update so I can use the new HPS-Proposal2014-v3 detector, but I am running into a build error. Sarah said you may be able to help.
>
> After successfully using cvs to update hps-java, I changed directories to hps-java and ran into the problem when using maven to build. As soon as this problem is reached, the build stops. It seems that the error has to do with a private variable in HelicalTrackHitDriver that was extracted from TrackReconDriver recently.  There is a copy of the error message below. If this is just an error in the code like I think it is, and not a compilation error, is there a way to continue the build even after the error? Thank you for your help.
>
> Regards,
> Chad Civello
>
>
>
>
>
> [ccivello@pumpkin hps-java]$ mvn -DskipTests=true clean install
> Warning: JAVA_HOME environment variable is not set.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Heavy Photon Search Java Project
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting directory /net/home/ccivello/SLAC/hps-java/target
> [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 84 resources
> [INFO] snapshot org.lcsim:lcsim:2.3-SNAPSHOT: checking for updates from lcsim-maven [INFO] snapshot org.lcsim:lcsim-parent:2.3-SNAPSHOT: checking for updates from lcsim-maven [INFO] snapshot org.lcsim:lcsim-conditions:1.7-SNAPSHOT: checking for updates from lcsim-maven [INFO] snapshot org.lcsim:hps-et-java:12.2-SNAPSHOT: checking for updates from lcsim-maven [INFO] snapshot org.lcsim:jevio-base:4.2-SNAPSHOT: checking for updates from lcsim-maven [INFO] snapshot org.lcsim:hps-detectors:1.3-SNAPSHOT: checking for updates from lcsim-maven [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 336 source files to /net/home/ccivello/SLAC/hps-java/target/classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[127,44] _ID has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[127,61] _ID has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[155,48] cannot find symbol symbol  : method makeDigi3DHit(org.lcsim.recon.tracking.digitization.sisim.SiTrackerHit)
> location: class org.lcsim.hps.recon.tracking.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[188,54] _crosser has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[217,18] _outname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[218,18] _hitrelname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[219,18] _mcrelname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[294,43] _orgloc has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[308,21] _ID has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[309,18] _ID has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[310,30] _ID has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[374,28] _outname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[375,28] _hitrelname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
> /net/home/ccivello/SLAC/hps-java/src/main/java/org/lcsim/hps/recon/tracking/HelicalTrackHitDriver.java:[376,28] _mcrelname has private access in org.lcsim.fit.helicaltrack.HelicalTrackHitDriver
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 14 seconds
> [INFO] Finished at: Mon Nov 26 17:06:06 EST 2012 [INFO] Final Memory: 60M/861M [INFO] ------------------------------------------------------------------------
>
>
>
>
>
> ########################################################################
> 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