J
Java Trish
I have an Ant script which is sitting on a remote server whose purpose
is to create a tar. The file names to be tarred are listed in a file
that will be uploaded to that server, and the name of that file will be
listed in the "includesfile" parameter of the Ant tar task. There is
an Ant script on my local machine which manages all of this.
Occasionally the file containing the file names will be blank, and I
have learned the hard way, that if this is the case, all files in the
base directory get tarred, and then later un-tarred, which can cause
some problems. When using the Ant tar task, which parameter trumps the
other, "includesfile" or "excludes"? Also, are wildcards permitted for
the "excludes" option? If this is the case, I may try excluding
everything, except what is listed in the "includesfile" file, so when
it is blank, no tar, or an empty tar, will be created. Would this be
possible? Is there a different way to go about this?
Thanks so much for your input!
Java Trish
is to create a tar. The file names to be tarred are listed in a file
that will be uploaded to that server, and the name of that file will be
listed in the "includesfile" parameter of the Ant tar task. There is
an Ant script on my local machine which manages all of this.
Occasionally the file containing the file names will be blank, and I
have learned the hard way, that if this is the case, all files in the
base directory get tarred, and then later un-tarred, which can cause
some problems. When using the Ant tar task, which parameter trumps the
other, "includesfile" or "excludes"? Also, are wildcards permitted for
the "excludes" option? If this is the case, I may try excluding
everything, except what is listed in the "includesfile" file, so when
it is blank, no tar, or an empty tar, will be created. Would this be
possible? Is there a different way to go about this?
Thanks so much for your input!
Java Trish