NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) In the property declarations towards the top of the file, you will see the following line of code which declares the property 'client.libs':

   <property name="client.libs" value="*/lib/java/.jar"/>

Add the following line of code beneath it to declare another property called 'client.libs.grid':

   <property name="client.libs.grid" value="*/lib/grid/.jar"/>

2) Then add the new property to this section, locate the following snippet of code further down in the build.xml file...

<path id="example.classpath">
      <pathelement location="${example.classes.dir}"/>
      <pathelement location="${updated.client.jar}"/>
      <fileset dir="${client.dist.dir}">
         <include name="${client.libs}"/>
      </fileset>
   </path>

...and add the newly declared 'client.libs.grid' property by inserting the following line of code after '<include name="${client.libs}"/>'...

<include name="${client.libs.grid}"/>

...so that the modified code snippet will appear as follows (inserted line of code highlighted in bold):

<path id="example.classpath">
      <pathelement location="${example.classes.dir}"/>
      <pathelement location="${updated.client.jar}"/>
      <fileset dir="${client.dist.dir}">
         <include name="${client.libs}"/>
         <include name="${client.libs.grid}"/>
      </fileset>
   </path>

...