I have an issue where I want to include images into a war file, but
overwrite some of the existing images in a second pass.
I've tried copying the baseline images into the war in one war task and then
overwrite the images in a second war task. If I choose duplicate="add" it
does not replace the i
Now that I have a list of directories, I would like to get the directory
NAME rather than the full path - I am trying to use the name to create
directories elsewhere and copy files from a few different places.
Basically I want something that returns me the name after the last slash -
but it looks
I thought I would give some feedback, it seems that I made two mistakes...
1) I typed the incorrect version number, so this was why it could not find
the explicitly named jar file.
2) even after fixing the jar name this syntax did not work...
(yes I did correct the jar name by this
Thanks for the information, I believe I need ant-contribs foreach such that
I can do some processing for each subdirectory. I've downloaded the jar
file and would prefer not to copy it directly into Ant libs folder, such
that the next person to do a svn update can run with it without having to
thi
Hi,
I have not done too much with Ant, but I would like to find all
sub-directories below a given directory and then for each directory repeat a
task in the context of that directory, so for example
topdir
subdir1
subdir2
I would like to get ant to repeat a task for subdir1 and subdir2 and
I might be wrong, but I think there is a URLFixer task - or something
similarly named, would that be useful?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ge the war file into my EAR. The
> WAR's build.xml puts the WAR file into a subdirectory called "dist.
>
> EAR
> + -- WAR
> +--dist
>+-- x.war
>
> Is there a way to use this dirset to say copy the contents of the
> director
I have two separate projects and currently Project B uses files from
project A using relative paths, but if I update project A and forget
to build it, project B could fail. The question is, can Ant have a
dependency on another ant script? (I.e. not 'import'ing, but some
form of project dependenc
I can check whether a file exists and set a property, but can I check
whether a property exists and set a property based on whether it
exists?
I don't mind how this is checked, I just need to make sure that my
JUnit test stops if the property isn't set.
Cheers,
Rob.
-
Is it possible to fail ant if a file does not contain a string?
Cheers,
Rob.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Say I have a file with a few files, and would like to inject some
values via ant properties, i.e. company.txt contains
"Thank you for trying the product from ${companyName}."
Is there an Ant task that given a property entry of
Will result in company.txt containing
"Thank you for trying the pr
Hi Steve,
Thanks for the suggestions, as it turns out I should have mentioned that I
am running Vista - it turned out to be permission problems in the webapps
directory (doh!), one for the book?! ;-)
Incidentally, tell me more about your book - I often find that this Ant 'the
definitive guide' do
]> wrote:
>
> Rob Wilson wrote:
> > Hi All,
> >
> > I have written my first Ant script from scratch, using google and the
> > O'reilly definitive guide. I'm mostly happy with what I have ended up
> with,
> > however when I try to use the Tomcat DeployTas
Hi All,
I have written my first Ant script from scratch, using google and the
O'reilly definitive guide. I'm mostly happy with what I have ended up with,
however when I try to use the Tomcat DeployTask my application is not
deployed as expected.
If I manually copy my war file to the webapps dire
That's a very useful tip!
On 10/25/07, Peter Reilly <[EMAIL PROTECTED]> wrote:
>
> or use
>