Print

Print


Hi, Kyle.

For some reason, your build isn't getting the latest version of GeomConverter which is 2.9-SNAPSHOT.  You need
to install this locally yourself for development by building that package from the CVS head.

You should cvs up your local copies of GeomConverter, lcsim, and hps-java to make sure they are up to date 
and then build them in that order e.g.

cd GeomConverter
cvs up -dP
mvn clean install -DskipTests=true

Also do this for lcsim and hps-java.

I bet that will fix the problem, and if it doesn't please let me know what goes wrong.

--Jeremy

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Kyle McCarty
Sent: Thursday, October 10, 2013 6:43 PM
To: hps-software
Subject: hps-java and lcsim Compilation Problems

Hello hps-software,


I was updating to the new version of the HPS software, and I have run into some compilation errors. The modules GeomConverter, hps-detectors, hps-et-java, jevio-base, lcsim-conditions, and lcsim-parent all built correctly without problems. However, hps-java and lcsim both ran into compilation problems. With hps-java, I got the error:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /net/home/mccaky/hps/hps-java/src/main/java/org/lcsim/hps/conditions/svt/SvtConditionsLoader.java:[7,42] cannot find symbol
  symbol:   class HpsSiSensor
  location: package org.lcsim.detector.tracker.silicon
[ERROR] /net/home/mccaky/hps/hps-java/src/main/java/org/lcsim/hps/conditions/svt/SvtConditionsLoader.java:[93,44] cannot find symbol
  symbol:   class HpsSiSensor
  location: class org.lcsim.hps.conditions.svt.SvtConditionsLoader
[ERROR] /net/home/mccaky/hps/hps-java/src/main/java/org/lcsim/hps/conditions/svt/SvtConditionsLoader.java:[26,14] cannot find symbol
  symbol:   class HpsSiSensor
  location: class org.lcsim.hps.conditions.svt.SvtConditionsLoader
[ERROR] /net/home/mccaky/hps/hps-java/src/main/java/org/lcsim/hps/conditions/svt/SvtConditionsLoader.java:[26,83] cannot find symbol
  symbol:   class HpsSiSensor
  location: class org.lcsim.hps.conditions.svt.SvtConditionsLoader
[ERROR] /net/home/mccaky/hps/hps-java/src/main/java/org/lcsim/hps/conditions/svt/SvtConditionsLoader.java:[30,14] cannot find symbol
  symbol:   class HpsSiSensor
  location: class org.lcsim.hps.conditions.svt.SvtConditionsLoader


It seems something is not working with the SVT conditions classes. Is this a known problem? 


For lcsim, the error was

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.191s
[INFO] Finished at: Thu Oct 10 21:28:27 EDT 2013 [INFO] Final Memory: 10M/455M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project lcsim: Could not resolve dependencies for project org.lcsim:lcsim:jar:2.12-SNAPSHOT: Could not find artifact org.lcsim:GeomConverter:jar:2.9-SNAPSHOT in lcsim-maven (http://lcsim.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


It seems that it is having trouble getting the newest version of GeomConverter. Note that lcsim does build if GeomConverter is built first. I'm not sure if this is intentional, but previously I was able to build it successfully without having to build GeomConverter as well. hps-java still gives errors pertaining to SVTConditionLoader even if I compile all the aforementioned modules before it. I can include log files detailing the full output if necessary and this was compiled on "Red Hat Enterprise Linux Server release 5.7 (Tikanga)," if it useful to know.

Thanks,

Kyle


________________________________


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