On Thu, 21 Oct 2004, Jeff Davidson <[EMAIL PROTECTED]>
wrote:
> Aside from the difference that requires the dir=
> attribute to be set, whereas would simply fail
> (assuming "${basedir}/NOT SET" doesn't exist!), are there other
> vagaries, differences, or gotchas that are good to know?
Your mac
On Thu, Oct 21, 2004 at 14:57:12 -0400, Peter Wilkes wrote:
> right now we have a general properties file called "program.properties"
> and we have an install proceedure to change certain lines.
>
> we would like to set up ant persay to read in another file called
> "site1.properties" read in all
The immutability of properties is not done by the tasks - its coded
deep in the core (Project.java). It´s a common way to use a special
prop-file and load a default after that.
E.g. Ant´s own buildfile:
mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 22. Oktober 2004 00:35
> An: Ant
A non usual way is checking for the existing of special classes.
So you 'only' have to check which classes were added in a release and
you could check for them.
Alternativly I can send two scriptdef´s I wrote in that area.
"checkAnt" parses the ${ant.version} string and stores additional
informati
P.S. - I get no warnings when running the raw command.
-Original Message-
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 8:57 PM
To: Ant Users List
Subject: RE: sshexec errors
The raw ssh command will usually accept new/changed host keys with a
warning (in
So what's the solution? I'm a bit baffled by this whole thing.
-Original Message-
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 8:57 PM
To: Ant Users List
Subject: RE: sshexec errors
The raw ssh command will usually accept new/changed host keys with a
wa
The raw ssh command will usually accept new/changed host keys with a
warning (in my experience). The Jsch implementation doesn't do this, it
uses 'StrictHostKeyChecking' by default (as per the below email), at
least in the Ant task. It looks like you can run Jsch with strict host
checking disabled
the same thing I'm trying to do works when executed from the command line:
ssh -t "sudo /usr/local/apache/bin/apachectl stop"
so my exec task looks like:
And I get this weird error. What gives?
-Original Message-
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Thursday, Oc
"The man-in-the-middle attack has also become inpossible, because the
client does of course check the identity of the remote host using his
host key, too. To archieve maximum security here, the client should be
configured to use ``StrictHostKeyChecking''. Setting this option to
``yes'' tells the cl
Hello all - I'm getting a strange error with my script when I'm trying to restart
apache remotely:
com.jcraft.jsch.JSchException: HostKey has been changed
Could anyone shed some light on this?
-
To unsubscribe, e-mail: [EMAIL P
Antelope has a few icons, but they're generic. There's a target icon and
a task icon (a little wrench) that is used for all tasks, but that doesn't
sound like what you're looking for. If you find some, or make some, maybe
they can be added to both Antelope and Antidote.
Dale
> Antidote has som
Sebastian,
For what it's worth, I added a '-url' argument to both the Firefox and Opera
tasks and all three tasks now work. (I also noticed that if I
added the '-url' argument to the IE task, it DIDN'T work.)
I've never heard of the '-url' flag before and it doesn't seem to be
necessary when ex
Can you provide a repeatable example showing your code, a simple version of
the file that you want to edit, and the result you want?
It would be a lot easier to help you then.
Also, please state what version of Ant you are using. Backlevel versions of
Ant may not be able to do what you want as ea
Sorry? I'm not sure that I understand your point about the file:// protocol.
You are right that the paths for Opera and Firefox are different than IE; I
installed IE in C:\Program Files but I deliberately put Opera and Firefox in
D:\Program Files because the C: drive was getting full.
Rhino
- Original Message -
From: "Sebastian Redl" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 21, 2004 5:09 PM
Subject: Re: Problem with
> Rhino wrote:
>
> >
> > I'm having problems with and would appreciate some guidance.
> >
> > My project involves
At 06:29 PM 10/21/2004, you wrote:
Your right that would work.
I don't know if the build would fail if you try to overwrite a property.
It will not. I use this "trick" all the time: loading the properties
that should take highest precedence first and those that are basically
fallbacks or defaults a
Your right that would work.
I don't know if the build would fail if you try to overwrite a property.
I am pretty sure that if foo.dist already exists the build will fail on
this next statement.
That might not be the case when reading a properties file.
Pascal
Would it not be possible to load the customized properties for a site, and
then load the default properties after? That would allow you to take
advantage of the immutability of properties instead of it being a hindrance.
Here's a sample:
build.xml
=
Properties in ant are immutable.
If you need to change a property (which is sometimes unavoidable) you will
to include the 3rd party open source antcontrib library and use the
variable task.
I every site needs to replace a certain set of variables maybe they don't
need to be present in global pr
Perhaps your URL is not resolving across the drive volume if it is using the file://
protocol instead of http://
protocol.
Recommned an examination of the resulting ${server.webpage.URL}.
Noted that the ie6.path differs in drive volume from firefox.path and opera.path.
-Original Message
hello!
i just convinced my project to user ant. they think it is a great tool and
we are currently trying to move all our build scripts over.
i have a question however.
our application only gets delivered to currently 5 locations. (it's a
specialized program) and we would like to make a configu
It looks like I can use , but it does not seem to expand properties. What am I
doing wrong?
- Alexey.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rhino wrote:
I'm having problems with and would appreciate some guidance.
My project involves compiling, jarring, and uploading a revised Java
applet to a webpage. All of that works fine.
I decided I would like to try to improve the script by adding a target
that displayed the web page con
I'm having problems with and would appreciate some
guidance.
My project involves compiling, jarring, and uploading a revised Java applet
to a webpage. All of that works fine.
I decided I would like to try to improve the script by adding a target that
displayed the web page containing t
Ant-users,
I've started using and and before I get too far
down one path or another, I wanted to see what sort of wisdom you might
impart upon me.
Take, for example, the following two *def's:
> From: Marcel Stör [mailto:[EMAIL PROTECTED]
>
> [EMAIL PROTECTED] wrote:
> > not tried:
>
> I did. Works fine. Thanks a lot.
>
> > match: (.*)\.(.*)\.(.*)\.(.*)
> > select: \1 my
> > \2 property
> > \3 56238912
> > \4 1285
> > but without check for digits or length.
Not tried either, but this
Hello Vijay,
this sounds like a bug.
Have a look at http://issues.apache.org/bugzilla to see whether someone
has reported it already.
Cheers,
Antoine
Vijay Balakrishnan wrote:
Hi,
I was trying to run the
How can I handle spaces in the package name while using the cvs ant
taks ? I have defined a
I'm at a loss for implementing something I'd like, so maybe someone else
knows of a straightforward way of accomplishing it...
Where I work, we have lots of developers using shared Ant buildfiles and
(for details not worth getting into here) builds will only work if users
run "ant" over those b
A good of usage of presetdefs that I saw (where?) defined a task
differently depending on platform (windows vs. unix). Then all
references to the preset task were platform independent.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 2:
"Jeff Davidson" <[EMAIL PROTECTED]> wrote ..
> Ant-users,
>
> I have just gotten around to investigating . Oh, happy days
> are here again! If only I had looked at this sooner.
yes macrodefs are usually quicker as well! I love em...if such a thing can occur
between man and a computer scripting
Ant-users,
I have just gotten around to investigating . Oh, happy days
are here again! If only I had looked at this sooner.
Now to get back to wrapping up all my blocks of repeated code...
Cheers,
~Jeff D.
This electronic message transmission, including attachments, is for the exclusive
Hi,
I was trying to run the at the top of the build file and I use
this in the ant task as package="${cvs.package}"
I have tried the following to no avail:" \'TCWeb Test\'"
I am able to run it from the command line by using "TCWeb Test"
for the package when doing a cvs checkout command.
Th
Oh, yeah... :)
--- Jeff Davidson <[EMAIL PROTECTED]> wrote:
> Argh! Thanks Matt. The resolveexecutable="true"
> attribute was all I
> needed.
>
> Humbly,
> ~Jeff
>
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: October 21, 2004 09:30
> To: Ant Users List
Argh! Thanks Matt. The resolveexecutable="true" attribute was all I
needed.
Humbly,
~Jeff
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: October 21, 2004 09:30
To: Ant Users List
Subject: Re: troubles
--- Jeff Davidson <[EMAIL PROTECTED]> wrote:
> I'm having a
--- Jeff Davidson <[EMAIL PROTECTED]> wrote:
> I'm having a most puzzling problem with the
> task. What I am
> failing to understand is: What directory is used as
> the base for
> executing a command if the executable is specified
> relatively instead of
> absolutely?
Without rehashing your enti
Ant-users,
I'm having a most puzzling problem with the task. What I am
failing to understand is: What directory is used as the base for
executing a command if the executable is specified relatively instead of
absolutely?
Take, for example, this very simple .. example:
Antidote has some icons on [1], but it doesnt seem to be what you want ...
Dont know if Antelepe has some icons.
But if you want to provide a set, we can point to that :)
Jan
[1]
http://cvs.apache.org/viewcvs.cgi/ant-antidote/src/java/org/apache/tools/ant
/gui/resources/
> -Ursprüngliche
Does anyone know of a collection of icons corresponding to the standard ant
tasks? I thought maybe antelope or antidote might have them but it appears not.
Thanks,
Patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
38 matches
Mail list logo