Right, it didn't solve my issue as even if I am giving
escape characher '^' before '!' it is still not
finding the path.
Thanks,
Madhu.
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> The escape char for bat (cmd) is ^ but it's far from
> certain it will
> solve your issue. --DD
>
> On 7/1
Please use a new subject for a new thread.
Have a look at the manual and its tutorials. These should give a good starting
point.
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 11. Juli 2006 19:15
>An: Ant Users List
>Betreff: Re:
>Unable to find a javac compiler;
>com.sun.tools.javac.Main is not on the classpath.
>Perhaps JAVA_HOME does not point to the JDK
>
>JAVA_HOME and property java.home both point to the base dir of the jdk.
really a jDk?
Is there a ${java.home}/bin/javac ?
Jan
Hi Form
Please some body spare me a Task which can compile a single jsp file.
So that i can understand the way jsp compiler works.
I looked at tomcat ant's task at tomcat web site,and was confused.
with regards
Karthik
Ok, that was definitely it. I thank you for being patient with me and
walking me through this. I feel dumb now. Thanks again.
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task d
Yes. This could be the problem. If you specify the password in a
properties file you do not need to use the xml equivalent of the @
character, and no quotes. In other words, just put the unaltered
password in the properties file. This should work.
-Rob A
> -Original Message-
> From: Res
Also, I jut thought of this. I pass my password from the loaded property
file, however, my password has an embedded @ sign it. I have it it quotes
as "word@word" could this be the cause?
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant U
The box I'm ssh'ing to, is running CentOS 4.
[EMAIL PROTECTED] ~]$ ssh -v
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
Other ssh clients and window's pscp.exe, all allowed me to transfer files
successfully.
Only Ant's scp is not working for me. I appreciate your help on this.
Thanks.
O
Could you be more specific? What vendor and version of their package are
you using? Can you scp files from the command line or with another scp
client?
-Rob A
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 2:43 PM
> To: user@ant.apache.org
ssh2
Original Message Follows
From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: The SCP task don't scp?! Help Please.
Date: Tue, 11 Jul 2006 13:40:51 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.
Ivan "Rambius" Ivanov wrote:
Steve,
Is it possible to publish the chapters that are in the
first edition but will be excluded from the second
edition on the book's site?
Regards
Ivan
Unless the publishers stop me, this is my exact plan.
http://antbook.org/ incidentally.
Peter Reilly wrote:
On 6/29/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
I should point out that the first edition of Java Development with Ant
has a chapter on building C/C++ under ant. It also covers how to set up
a build environment and taskdef/typedef matters. The C++ coverage will
*not
What ssh server version are you using on the target host?
-Rob A
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 1:06 PM
> To: user@ant.apache.org
> Subject: RE: The SCP task don't scp?! Help Please.
>
> I even simplified my build2.xml and
I even simplified my build2.xml and stripped off my build.properties to
minimum bare values but still...
todir="${sw.usr}:[EMAIL PROTECTED]:${sw.home}" trust="yes" />
-
Here's the debug log:
Apache Ant version 1.6.5 compiled on
Hi,
I've developed an open source project called GAQ (
http://sourceforge.net/projects/gaq/ ) to make it easy to schedule Ant
tasks. Since GAQ is written in Java it should run anyplace Java runs.
I've tested it on Windows XP and Linux. I'd be interested in any feedback.
Thanks,
Jeff
Here's my build.xml
message=""
/>
file="${deploy.zip.dir}/build${full.build.number}/build${full.build.number}.zip"
todir="${sw.usr
Not sure why it is not working for you. Please run:
ant -debug -f build2.xml -Dfull.build.number=712 buildnum
... and send the output.
-Rob A
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 11:06 AM
> To: user@ant.apache.org
> Subject: RE
--- Aaron Davies <[EMAIL PROTECTED]> wrote:
> On 7/11/06, Matt Benson <[EMAIL PROTECTED]>
> wrote:
[SNIP]
> > I would rather write a single "unmodified"
> > FilterReader that nests another FilterReader than
> add
> > negation logic to all Ant's existing built-in
> > FilterReaders, plus place the b
Sure it does, in a way. Lines that don't contain a given substring or
pattern are omitted, so 'modified' into 'null' strings.
I do agree though that from a user stand-point, a negate attribute to
and makes more sense.
Matt, are a special kind of 'conditional' filters,
saying yea or nay given
Basically I use either jsch-0.1.25.jar or jsch-0.1.28.jar in my ant/lib but
neither works. Ant's website mentions, "This task has been tested with
jsch-0.1.2 to jsch-0.1.14."
Here's a copy of my scp task:
file="${deploy.zip.dir}/build${full.build.number}/build${full.build.number}.zip"
todir=
Burgess, Benjamin wrote:
If you know there will be only one directory that matches the wildcard,
but you don't know the exact name of the directory ahead of time (I
can't imagine a use case) then you could do something like a direst
followed by a pathconvert to get the actual dirname.
Ben
On 7/11/06, Matt Benson <[EMAIL PROTECTED]> wrote:
--- Aaron Davies <[EMAIL PROTECTED]> wrote:
> On 7/11/06, Dominique Devienne <[EMAIL PROTECTED]>
> wrote:
> So which approach are you going to be taking? Adding
> a "not" attribute
> to the relevant filters sounds like the simplest to
> me.
I
Steve,
Is it possible to publish the chapters that are in the
first edition but will be excluded from the second
edition on the book's site?
Regards
Ivan
--- Peter Reilly <[EMAIL PROTECTED]> wrote:
> On 6/29/06, Steve Loughran <[EMAIL PROTECTED]>
> wrote:
> >
> >
> >
> > I should point out that
--- Aaron Davies <[EMAIL PROTECTED]> wrote:
> On 7/11/06, Dominique Devienne <[EMAIL PROTECTED]>
> wrote:
> So which approach are you going to be taking? Adding
> a "not" attribute
> to the relevant filters sounds like the simplest to
> me.
I understand your position, but from my own viewpoint
I
What are the contents of the jsch-0.1.28.zip file? Please send the
portion of your build.xml that shows your usage of the scp task.
-Rob Anderson
> -Original Message-
> From: Res Pons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 9:52 AM
> To: user@ant.apache.org
> Subject: T
anybody, any clue on this problem ?
> Hi All,
>
> I have a problem with class casting. Here is the scenario -
>
> I have an ant custom task say "mycustomA". Inside the execute method, I
> create a custom obj say "customobj" of a user-defined type. I store the
> "customobj" in the project reference
Please don't hijack other threads. You should create a new email with a new
subject heading.
Check out the ANT Manual (http://ant.apache.org/manual/index.html) and read the
Developing with Ant section.
HTH,
Joe [EMAIL PROTECTED]
- Original Message
From: [EMAIL PROTECTED]
To: Ant Use
That's OK, Steve can just "donate" it to the community and put it up
somewhere online, or check it in to Ant's docs dir ;-) --DD
On 7/11/06, Peter Reilly <[EMAIL PROTECTED]> wrote:
On 6/29/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
>
>
> I should point out that the first edition of Java Dev
On 6/29/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
Hello,
please look at the project ant-contrib. The whereabouts of ant-contrib are
listed on Ant's web site under related projects or external tasks.
Regards,
Antoine
Just be aware that there are two sub-projects in the ant-contrib
On 6/29/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
I should point out that the first edition of Java Development with Ant
has a chapter on building C/C++ under ant. It also covers how to set up
a build environment and taskdef/typedef matters. The C++ coverage will
*not* be in the second edi
Hii dear friends;
i want to learn ANT actions. İ am not computer engineering. i just have
java programming. what shall i do? which are you advise me resource?
Selami ORUÇ
EAE Elektroteknik A.Ş.
İkitelli Org.San.Bölg.Turgut Özal Cd.No:112 İkitelli/İst.
34306 İstanbul-Türkiye
Tel :+9
On 7/11/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
So which approach are you going to be taking? Adding a "not" attribute
to the relevant filters sounds like the simplest to me.
By all means, be my guest Matt ;-) --DD
On 7/11/06, Matt Benson <[EMAIL PROTECTED]> wrote:
> --- Dominique De
Hi all
I downloaded the latest version of jsch-0.1.28.zip from jcraft last night
for the scp task. Two questions:
1. Do I have to rename the jar file from jsch-0.1.28.zip to jsch.jar or
would ANT understand it with the version number embedded in it?
2. My SCP tasks have not run successfull
IMHO using a funky character, like !, in a path is a bad idea.
-Rob Anderson
> -Original Message-
> From: madhuvanti joshi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 11, 2006 1:39 AM
> To: Ant Users List
> Subject: RE: ANT script fails to run when path contains '!'
>
> Keith,
>
>
By all means, be my guest Matt ;-) --DD
On 7/11/06, Matt Benson <[EMAIL PROTECTED]> wrote:
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> this are not conditions, but filters. There's no
> .
>
> I guess a negate attribute on
> would be
> required, or a weird pseudo filter that
> accept a
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> this are not conditions, but filters. There's no
> .
>
> I guess a negate attribute on
> would be
> required, or a weird pseudo filter that
> accept a nested
> filter, and 'reverses' the nested filter's job, by
> accepting only
> lines unchang
The todir attribute is to set the single directory where the files will
be copied to. You can not use it to copy to multiple directories, and
therefore wildcards are not allowed.
If you know there will be only one directory that matches the wildcard,
but you don't know the exact name of the direc
this are not conditions, but filters. There's no .
I guess a negate attribute on would be
required, or a weird pseudo filter that accept a nested
filter, and 'reverses' the nested filter's job, by accepting only
lines unchanged by the nested filter.
Or some regexp wizardry of course. --DD
On
No, FilterReader negation is not something that can be
generically accomplished. Obviously things like grep
-v are not that difficult, but a FilterReader may
perform transformations for which negation would be a
subjective or inapplicable concept (I know these
things because I asked the same quest
I'm sure I read an example in the ant manual using the element.
(having inet access issues so no direct linke - sorry)
-Original Message-
From: Aaron Davies [mailto:[EMAIL PROTECTED]
Sent: 11 July 2006 16:20
To: Ant Users
Subject: Line *Doesn't* Contain?
How can I do a negative filt
Please do not use the Ant user mailing
list for personal correspondence.
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
Server Development
WAS Pyxis Lead
Release Engineer
hi all,
i need to copy some files to location whose name is only partially known
to me.
i tried
'*' represents part of the path that changes, but complete path name is
basically always the same.
anyway, ant complains about destination path. i thought that wildcards
could help,
How can I do a negative filter in a filterchain? I've tried to use a
negative lookahead regexp /.*(?!foo).*/, but so far no luck.
--
Aaron Davies
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Hi Venkatesh
I have a friend called Venkatesh babu and he is from bangalore. Just wondering
if you were the person I know
Venkatesh Babu <[EMAIL PROTECTED]> wrote: Hello All,
I'm calling an ant target from within my batch script
as follows:
cmd/C ant -f mailer.xml sendmail
My problem is that i
Had the same issue at a previous job, and we had to define a new
compiler ourselves in the CppTasks code, and compile our own version.
--DD
On 7/11/06, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote:
Hi All,
Using cpptask to compile c++ code base we have set the compiler as
follows
...
bu
Hi All,
Using cpptask to compile c++ code base we have set the compiler as
follows
...
but it has been observerd that this is equivalant of CC sun studio c++
compiler . we are looking for an equivalant option sun stodio c compiler
please let us know what name we should set for this .
R
Hi,
I'm executing an ant script from a web application. All tasks I'm using
are working fine, except the javac task. On calling it gives the error
message:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
JAVA_HOME and
Hello All,
I'm calling an ant target from within my batch script
as follows:
cmd/C ant -f mailer.xml sendmail
My problem is that if the sendmail target fails, I
have to stop execution of my batch script. For that I
tried adding the following statement after the ant
call:
if %ERRORLEVEL% != 0 go
The escape char for bat (cmd) is ^ but it's far from certain it will
solve your issue. --DD
On 7/11/06, madhuvanti joshi <[EMAIL PROTECTED]> wrote:
Keith,
I checked this, but it might not be the case as ! is
not followed by \ as specified in the link you have
given below and it is not used in j
I have searched extensively for an answer to why my Ant task keeps
failing with this error. The only clue I could find was that this message
usually means that mail.jar and/or activation.jar are missing from
ANT_HOME/lib. I downloaded JAF 1.1 and Javamail 1.4 and installed all the
jars to ANT_HOM
Started a vote end of June on [1] of dropping win98 support has ended
with the result [2], that there wont be any Win98 support anymore with
Ant 1.7.
Jan
[1] http://marc.theaimsgroup.com/?l=ant-dev&m=115141884812670&w=2
[2] http://marc.theaimsgroup.com/?l=ant-dev&m=115261794927251&w=2
-
Environment: Solaris 9, Ant 1.6.5
ANT_HOME set.
JDK: 1.4.2_04-b05
junit.jar and other external libraries in ~/.ant/lib/
When I run my test target, I get:
test:
Override ignored for property reports.junit.dir
[junit] Found /export/home/myuser/.ant/lib/junit.jar
[junit] Found /opt/ant/lib
>I have an ant custom task say "mycustomA". Inside the execute
>method, I create a custom obj say "customobj" of a
>user-defined type. I store the "customobj" in the project
>reference using getProject().addReference("key",customobj).
>
>I using mycustomA in a "build.xml". After invoking the tas
Hi All,
I have a problem with class casting. Here is the scenario -
I have an ant custom task say "mycustomA". Inside the execute method, I
create a custom obj say "customobj" of a user-defined type. I store the
"customobj" in the project reference using
getProject().addReference("key",custom
Keith,
I checked this, but it might not be the case as ! is
not followed by \ as specified in the link you have
given below and it is not used in java prog, it is
used in batch file which calls ANT script.
Could anybody pls tell me which escape characher could
be used for ! in command below:(I'v
55 matches
Mail list logo