Thank you for your comment - I actually ended up doing something similar to what you 
have here, but rather than include a classpath attribute in the manifest, I put the 
driver jar in the root of the sar itself. 

This indeed works so it seems that I do not have to explicitly set a classpath to 
point to the driver jar, just having it in the root of the sar is enough.

In ANTspeak:

  | <target name="project-ds.sar">
  |     <jar jarfile="${build.dir}/${proj.name}-ds.sar">
  |             <metainf dir="${etc.dir}" includes="jboss-service.xml"/>
  |             <fileset dir="${lib.dir}/jdbc-drivers" includes="mysql*.jar"/>
  |     </jar>
  | </target>

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844445#3844445

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844445


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to