Linear Collider Forum



Home » Software Tools » org.lcsim » Can't create lcsim driver class via xml in batch; runs ok in JAS3
Re: Can't create lcsim driver class via xml in batch; runs ok in JAS3 [message #1835 is a reply to message #1806] Wed, 12 August 2009 20:03 Go to previous message
rcowan
Messages: 13
Registered: July 2007
Location: SLAC
I asked Jeremy about this. It turns out that you can access drivers defined in lcsim-contrib in a job using an xml steering file. The technique is to add a classpath specification in the xml file. An example can be found in lcsim/sandbox/steeringTest.xml:

    <!-- additional jars -->
    <classpath>
        <!-- jar on the web -->
        <jarUrl>http://www.lcsim.org/test/jars/lcsim-ipr-1.0-SNAPSHOT.jar</jarUrl>
        <!-- local jar -->
        <jar>/u/ey/jeremym/work/cvs/lcsim-ipr/lcsim-ipr/target/lcsim-ipr-1.0-SNAPSHOT.jar</jar>
    </classpath>


I haven't tried this, but it should work.

Thanks. --Ray
 
Read Message
Read Message
Read Message
Previous Topic:Jet Analysis Driver with LCIO Output Driver
Next Topic:lcsim release
Goto Forum:
  


Current Time: Fri Jan 19 14:54:12 Pacific Standard Time 2018
.:: Contact :: Home ::.

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