Would it be possible to have the custom jar inside my basedir. Under my
build.xml I have a folder lib where I need to store *all* custom
libraries.
Is there really no way to tell ant that it schould look for jar there?
Kind Regards,
R.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL
A couple things.
- Use the "location" attribute for the task so it will do path
resolution and path character conversion for you.
- Review the docs for , it drops the last path element, which is
why your "pwd" variable was set one level up. I don't think this is what
you want. For this same re
Great response. You hit every nail directly on the head, including the ones
I didn't mention. Your recommended placement of the build file, and thus
the base directory is dead on. I will move it.
Obviously you are correct that I misunderstood . I will try to
RTFM a bit more closely in the futu
I was running this command on windows from windows, so I was simulating
the command exactly as we execute from start->run ..
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 5:01 PM
To: Ant Users List
Subject: RE: RExec hangs
> Try
>
Q/A:
1. The value of the "basedir" attribute of
was
D:\Local\AntExps\directoryExp\build. The value of
${user.dir} was
D:\Local\AntExps\directoryExp\build. So how can the
value of ${pwd} be
D:\Local\AntExps\directoryExp which is one level up
from the directory
where
I ran ant?
A: You have
> Try
> command="ls" />
It caused a java.lang.NullPointerException.
What's the logic behind prefixing the IP w/ "\\"?
BTW, the rexec server is Linux, the client is WinXP.
Regards,
Nick G.
"Radha Sangal" <[EMAIL PROTECTED]>
12/08/2004 04:50 PM
Please respond to "Ant Users List"
To
Thanks everyone for the help. I was able to do pretty much what I want by
using...
This gave me results that looked like...
foobar\app\images\frame.gif
foobar\app\images\splash.jpg
foobar\app\images\workspace_to
Try
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 4:44 PM
To: [EMAIL PROTECTED]
Subject: RExec hangs
Has anyone had any success w/ the rexec task? I can use sshexec w/out
any
problems. But when I try rexec, the process halts a
Kajsa:
Thanks for the reply. But the property is set properly in this case -
if I add the following
*
insert.token=${insert.token}
*
Right before the replace task, i
Has anyone had any success w/ the rexec task? I can use sshexec w/out any
problems. But when I try rexec, the process halts at the rexec task. By
'halt' or 'hang' I mean it doesn't issue the command--as if it's waiting
for something. I validated rexec works on the server at the command
line
I am having difficulty getting ant 1.5.1 to look in the correct directories
for source and put classes and jars in the right place.
I work in a large IT shop and this is the latest version of ant that we
have, so please don't tell me to upgrade to 1.6.2. I would take months. I
suspect this is
Quoting Matt Benson <[EMAIL PROTECTED]>:
> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>
This is not mentioned in the FAQ, but this can also be done in a properties file
as follows...
my.auto-deploy=$${${my.server}.auto-deploy}
Maybe one of the committers can add it to th
Or ${line.separator}.
-Matt
--- Daniel Blaukopf <[EMAIL PROTECTED]> wrote:
> probably with
>
> pathsep="
"
>
> if you want each file on its own line.
>
> Daniel
>
> Matt Benson wrote:
>
> > is your friend.
> >
> >-Matt
> >
> >--- [EMAIL PROTECTED] wrote:
> >
> >
> >
> >>I have a need to c
probably with
pathsep="
"
if you want each file on its own line.
Daniel
Matt Benson wrote:
is your friend.
-Matt
--- [EMAIL PROTECTED] wrote:
I have a need to create a text file that lists all
.gif, .jpg, etc. files.
It's simple to create a fileset that contains the
files I need but what's
the
Generally when you see ${some.property.name}, it's because the property isn't
actually being set... You might try adding an just after the spot where
you think you're setting it, and see what you get.
Kajsa Anderson
-Original Message-
From: Daisy Guo [mailto:[EMAIL PROTECTED]
Sent:
is your friend.
-Matt
--- [EMAIL PROTECTED] wrote:
> I have a need to create a text file that lists all
> .gif, .jpg, etc. files.
> It's simple to create a fileset that contains the
> files I need but what's
> the best way to output this list into a text file?
>
> I could use from ant-contrib
I have a need to create a text file that lists all .gif, .jpg, etc. files.
It's simple to create a fileset that contains the files I need but what's
the best way to output this list into a text file?
I could use from ant-contrib but that requires an for
each file which is slow and tedious. I un
Don't worry about this. It's just IntelliJ which can't deal with it, and it's
perfectly valid Ant code. doesn't assign any 'types' to its
attributes, it's the tasks used within that convert the string used to whatever
type they need. The same attribute can even be interpreted differently by
se
So what's wrong with this? Intellij tells me that the @{root} in
file="@{root}" on line 4 is not allowed.
Does the string value of the param not properly get interpreted as a file?
--
Laran Evans - Cornell University
p: (607) 255-6864 f: (607) 255-0327
--
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
-Matt
--- Laran Evans <[EMAIL PROTECTED]> wrote:
> Is it possible to escape ant property values?
>
> I'd like to do something like this:
>
> ---
>
>
> value="C:/bea/applications"/>
> value="C:/tomcat/work"/>
>
> value="${${
Is it possible to escape ant property values?
I'd like to do something like this:
---
---
Any suggestions?
--
Laran Evans - Cornell University
p: (607) 255-6864 f: (607) 255-0327
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thanks :-)that solved the problem!
Regards,
Peter
Anderson, Rob (Global Trade) schrieb:
There should be a line in your sshd_config that says...
#PasswordAuthentication yes
If it is commented out, the comment should reflect the default. Uncomment and
set it to yes. Restart sshd and try again.
There should be a line in your sshd_config that says...
#PasswordAuthentication yes
If it is commented out, the comment should reflect the default. Uncomment and
set it to yes. Restart sshd and try again.
-Rob Anderson
> -Original Message-
> From: Atsuhiko Yamanaka [mailto:[EMAIL PROTE
I'm not familiar with the configuration of OpenSSH 3.8,
but I guess you can enable 'passwd' authentication and disable
'keyborad-interactive' authentication by modifying
/etc/ssh/sshd_config.
On Wed, 08 Dec 2004 18:40:36 +0100, Peter Neu <[EMAIL PROTECTED]> wrote:
> If I got you right, then the ss
If I got you right, then the sshd has to compiled with the
feature 'publickey,keyboard-interactive' disabled. Elsewhise
it won't work, right ?
Atsuhiko Yamanaka schrieb:
Hi,
According to a log from 'ssh -v -v -v localhost', which was sent to me
directly, his sshd supports 'publickey,keyboard-inter
Well, I tried it with all user.
Anderson, Rob (Global Trade) schrieb:
Are you logging in as root?
-Rob A
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:12 AM
To: Ant Users List
Subject: Re: sshexec Authentication Problem with SuSE 9.1
He
Hi,
According to a log from 'ssh -v -v -v localhost', which was sent to me
directly, his sshd supports 'publickey,keyboard-interactive'.
I think that is the reason; sshexec in Ant has not supported
'keyborad-interactive' yet. It is easy to add KbdInt support, but it
is for the interactive session
Are you logging in as root?
-Rob A
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 6:12 AM
> To: Ant Users List
> Subject: Re: sshexec Authentication Problem with SuSE 9.1
>
>
> Hello Rob,
>
> the error output is at the end of the m
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> Thanks,
>
> Could anybody give me an example how to use this user_home/.ant/lib
> solution.
> Would I really need to remove the xslt task front ant/lib or could I
> just include the external saxon jar to the classpath?
>
Just create the directory, d
I've created a Ant script for Oracle forms developper that automates the
compilation and deployment of forms into ther development environment. It
is working for all of them except one guy. To my knowledge he has the same
security rights as everyone else.
Does anyone know what could be the cause o
>From Ant manual [1]
excludesfile: each line of this file is taken to be an
exclude pattern.
[1]http://ant.apache.org/manual/CoreTypes/filterset.html
--- JEFF EMMINGER <[EMAIL PROTECTED]> wrote:
> hi list,
>
> newbie here:
>
> I have this copy task:
>
> value="C:/jetty-4.2.20/webapps/oasis"/
>From the manual page for Fileset:
excludesfilethe name of a file; each line of this file is taken to be an
exclude pattern.
So you want , not .
Kajsa Anderson
-Original Message-
From: JEFF EMMINGER [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 9:38 AM
To: '[EMAIL PRO
hi list,
newbie here:
I have this copy task:
the two "exclude" nodes work fine without prepending the appRoot to them.
the script fails to run if I do not prepend appRoot to "excludesfile",
complaining that it cannot find
Hi,
On Wed, 08 Dec 2004 15:11:50 +0100, Peter Neu <[EMAIL PROTECTED]> wrote:
> Hello Rob,
>
> Atsuhiko suggested to enable "PAMAuthenticationViaKbdInt" which is
> decaprecated
> in OpenSSH.3.8.
No, I have not suggested you that.
That is just a question. Have you enabled PAM authentication via
Hello Ivan,
As far as i know it is not possible to attach files to a mail sent by
the MailLogger. Have you looked into using the task inside your
build script instead?
Regs,
/t
>-Original Message-
>From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 08, 2004 2:36 PM
Hello Rob,
the error output is at the end of the message. The way I read it
JSCH is not supported by sshd.
The debug information from sshexec task is the same.
Atsuhiko suggested to enable "PAMAuthenticationViaKbdInt" which is
decaprecated
in OpenSSH.3.8.
Regards,
Peter
-- Debug--Output
Since you already have the , in the line, you do not want to replace the
line.separator with a new comma. Change the replace to replace="" and you
will not be adding the extra comma.
To get rid of the last comma, I would try something like another pass
through the file replacing the comma at the
Sorry, havent seen the comma after each line. Simply use replace="".
Jan
> -Ursprüngliche Nachricht-
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 8. Dezember 2004 14:47
> An: Ant Users List
> Betreff: RE: Extract property out of multiline file
>
>
> Hi, than
Hi, thanks for the tip, nearly perfect.
With
Env1,
Env2,
and
it gives me -> Env1,,Env2,,
without flags="g"
it gives me -> Env1,,Env2,
The second ',' between the Env's and the last ',' after Env2 shouldn't appear.
then it would be perfect.
Any hints ?
Regards, Gilbert
-Original M
Barnes, thank you for your reply. Of cource
cruisecontrol is a good tool for such a task, but my
requirements are to do it via Ant without introducing
many new tools, as they require more training. We
might start use CruiseControl in the future.
So any other advice is wellcome.
--- "Barnes, Micha
Just a thought ...
Jan
> -Ursprüngliche Nachricht-
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 8. Dezember 2004 14:21
> An: ant_user (E-Mail)
> Betreff: Extract property out of multiline file
>
>
> Hi, i have a txtfile gene
Hi, i have a txtfile generated by a script.
The file looks like that :
Env1,
Env2,
Env3,
sometimes there's only one value in that file, sometimes
more, like above.
I want to stript the ',' and get that Env's into one property :
myproperty = "Env1,Env2,Env3"
How to do that without scripting ?
Why are you not using one of the various Continues Integration tools such as
CruiseControl? These tools will do exactly what you are looking for without
you having to do any programming.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 7:29
Hi,
Do you have a line,
PAMAuthenticationViaKbdInt yes
on your /etc/ssh/sshd_config ?
On Tue, 07 Dec 2004 20:48:16 +0100, Peter Neu <[EMAIL PROTECTED]> wrote:
> Hello Rob,
>
> I only got SuSE 9.1 client/servers in my network. I works on neither of
> them.
> I got Jsch 0.1.18. I tried wrong
Dear Black:
I just love the easy ones
Your test target creates XML output by default unless you tell the formatter
to output to txt
take a look at
http://ant.apache.org/manual/OptionalTasks/junit.html
the output should be
com.mytests.test.*.xml
the output Doesnt really do much good unless you use a
Dear Collegues,
I have the following question regarding MailLogger. I
currently implemented our night build scrips whose aim
is to checkout, build, unit test, checkstyle our
projects and finally to send an email. I am using
MailLogger for email sending and my question is how I
can make MailLogger
Thanks,
Could anybody give me an example how to use this user_home/.ant/lib
solution.
Would I really need to remove the xslt task front ant/lib or could I
just include the external saxon jar to the classpath?
Regards,
Robert
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> I have my Ant pipelin
Jan
> -Ursprüngliche Nachricht-
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 8. Dezember 2004 12:58
> An: ant_user (E-Mail)
> Betreff: mail - message with more than 1 line ?
>
>
> Hi, how to send a message with more than one line ?
>
> Didn't find an e
Hi, how to send a message with more than one line ?
Didn't find an example for that in Ant 1.6.2 Manual
Ok it would be possible to write the message in a file and use messagefile, but
i
don't want to write another file for that purpose.
Any ideas ?
regards, Gilbert
49 matches
Mail list logo