Linear Collider Forum

Home » Software Tools » org.lcsim » Problem finding new class after adding it to org.lcsim
Problem finding new class after adding it to org.lcsim [message #1692] Fri, 30 January 2009 20:43 Go to previous message
Messages: 13
Registered: July 2007
Location: SLAC

I have created a new class in org.lcsim.recon.cheater. The new class, QuickCalibrationFromDataScint, is similar in function to QCalibrationFromData which already exists. After I re-build lcsim using maven2, I find the new class is not found when I run java from the command line using an xml driver file.

I found a work-around by changing the "type" value on the <driver> tag from

<driver name="QuickCalibrationFromDataScint"
type="org.lcsim.recon.cheater.QuickCalibrationFromDataScint ">


<driver name="QuickCalibrationFromDataScint"

Why didn't the original specification stating that the class would be found in org.lcsim.recon.cheater work? How do I correctly ensure that the class will be found parallel to its source code location?

I searched confluence but couldn't find any information about this.

Thanks. --Ray
Read Message
Read Message
Read Message
Previous Topic:Contrib packages?
Next Topic:xml with driver
Goto Forum:

Current Time: Sat Feb 22 19:29:03 Pacific Standard Time 2020
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software