Hi

I have defined the following paths,

  <path id="compile.class.path">
    <pathelement path="X.jar" />
  </path>

  <path id="runtime.class.path">
    <pathelement path="Y.jar" />
  </path>


Both of the above compile and runtime JARs are bundled in a WAR like this,

    <war destfile="my.war" webxml="web.xml">
      <lib file="X.jar" />
      <lib file="Y.jar" />
    </war>


Do you have any idea of how should I simply this, so that the WAR task is
able to retrieve the files specified by compile.class.path and
runtime.class.path?
Instead of me typing the same JARs in different places?


-- 

Hez

Reply via email to