Here is an excerpt from build.xml. myClient.jar are my classes. Classpath must 
be ok as things work when I place the JNDI variables in system variables!


  |   <path id="client.classpath">
  |     <fileset dir="${build.dir}/jar">
  |       <include name="myClient.jar" />
  |     </fileset>
  |     <pathelement location="c:/Temp" />
  |     <!--<path refid="build.classpath"/>-->
  | 
  |     <fileset dir="${client.lib}">
  |       <include name="jbossall-client.jar" />
  |       <include name="jboss-aop-jdk50-client.jar" />
  |       <include name="jboss-aspect-jdk50-client.jar" />
  |       <include name="jboss-common-client.jar" />
  |       <include name="jbossall-client.jar" />
  |     </fileset>
  | 
  | 
  |   <target name="runClient" depends="package-client">
  |         <echo message="Client lib= ${client.lib}"/>
  |     <property name="clientClasspath" refid="client.classpath"/>
  |         <echo message="Client classpath= ${clientClasspath}"/>
  |       <java classname="com.Client" classpathref="client.classpath" 
fork="true">
  |       </java>
  |   </target>
  | 
  | 
  | 

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994093
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to