Linear Collider Forum



Home » Software Tools » org.lcsim » Failing to run tutorial: Processing Data in Batch Mode using LCSim XML
Re: Now how do I run a driver that I created in the contrib area? [message #1843 is a reply to message #1842] Fri, 21 August 2009 16:25 Go to previous messageGo to previous message
jeremy
Messages: 46
Registered: March 2004
Location: SLAC
Hi, Hans.

By including a classpath section in your XML file, you can reference any external jar that lcsim doesn't know about.

<classpath>
<jar>/path/to/my/lcsim-contrib.jar</jar>
</classpath>

Or you can reference one on the web.

<classpath>
<jarUrl>http://www.example.org/lcsim-contrib.jar</jar>
</classpath>

Try it and post if it works or not.

Sorry, this format is not well documented.

There is an example you can work off of in lcsim/sandbox/steeringTest.xml

Also, I noticed that if you're depending on a snapshot in the lcsim POM, the assembly plugin does something silly and instead of, for instance, GeomConverter-1.9-SNAPSHOT.jar, it uses some crazy name for the jar including the date. So you have to copy the wrongly named jar to GeomConverter-[ver]-SNAPSHOT.jar instead or it will complain about not finding GeomConverter classes.

--Jeremy


Jeremy McCormick, SLAC <jeremym@slac.stanford.edu>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:lcsim release
Next Topic:How can I access the current input file from within the lcsim
Goto Forum:
  


Current Time: Fri Jan 19 15:09:05 Pacific Standard Time 2018
.:: Contact :: Home ::.

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