ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hezjing <>
Subject Creating WAR by referring to pathelement?
Date Fri, 07 Nov 2008 16:14:12 GMT

I have defined the following paths,

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

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

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" />

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
Instead of me typing the same JARs in different places?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message