Обсуждение: ANT and deleting directories

Поиск
Список
Период
Сортировка

ANT and deleting directories

От
Bruce Momjian
Дата:
With my new build.xml changes, 'make clean' removes the files, but the
build directory stays with all its subdirectories.  I tried:

    includeEmptyDirs="true"

but that did not work.  It fails with:

/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/build.xml:86:
 Unable to delete directory
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/build/org/postgresql/core

Does someone have a patch for build.xml that deletes the files and
directories under build/ and jars/?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026