JFYI, the sc command is a newer and better command for doing this if you are
targeting windows XP and later.
-Original Message-
From: Burgess, Benjamin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 11:20 AM
To: Ant Users List
Subject: RE: Ant to start and stop Windows servic
Hi all,
I have a file: "input.sql" which contans a line as:
"
...
where keyp_clientid in (7,32,113,33) --Second Wave
..
",
And I need this " (7, 32, 113, 33)" as an input string to excute a java class,
and that is command line I use on my linux box, and it works,
"
java Test `grep "^wher
Like this it works ...
build-common.xml
buildC.xml
--
Regards
AR
On Mon, 7 Jan 2008 18:46:22 -0500
"Nilesh Sharma" <[EMAIL PROTECTED]> wrote:
> Guys,
>
> I am facing a l,ittle problem with the ant build. Here
I want to create the javadoc for a bunch of packages except, say,
foo.*. I've tried various combinations of fileset, packageset,
include, exclude, and excludepackage. I can get foo.* excluded, but
then javadoc gives warnings that it can't find any class under foo.*
when other classes refe
-Original Message-
From: hezjing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 11:07 AM
To: ant-users
Subject: Ant to start and stop Windows service
Hi
In Windows command
Hi
In Windows command window, I used the following command to start and
stop MySQL service
> net start mysql
The MySQL service was started successfully.
> net stop mysql
The MySQL service is stopping.
The MySQL service was stopped successfully.
May I know how to configure Ant to execute a comm
You may be getting the result of the Powershell rather than the ping.
You may want to simply exec ping.
With Powershell you may have to create a script that captures the result of the
command and exits with the error indicator. If Powershell works similar to
Unix/Linux/Solaris etc. shells, yo
Try this using the AntContrib task:
On Jan 8, 2008 7:57 PM, DJ Kingsolver <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need to do a simple string manipulation, but I'm finding it harder than I
> expected.
>
> Say I have a property like this:
>
>
> I'
Luciano Resende wrote:
Thanks Martin, but all the necessary jars are in the CLASSPATH, and as
mentioned on the e-mail, the program runs ok (no issues with
noClassDefFoundError)... the noClassDefFoundError just start after
adding the ... it seems that it loose the ability to read
the classpath or
Z W wrote:
Hi
I have a Powershell script that contains the line "exit 2" when ping fails
From Ant, it's showing
_ping:
[echo] Inside _build_ping_alive module
[exec] Pinging host1 ...
[exec] success
[exec] Pinging host2 ...
[exec] error: 11010 occurred
[exec] LastE
Z W wrote:
Hi Gurus
Is there a jar file out there that provides ping task to verify if a host
connection is working ?
There's no way to do ping in the Java APIs (see java.sun.com bugreps
'ICMP for Java'), so no pure ping command.
the condition does something ping-like on a java 1.5+ runti
[EMAIL PROTECTED] wrote:
Hi,
Can I get the environment that putty gives in a portable way. Such as calling
some commands when logged in to switch.
Am I right in thinking that /etc/profile is not called for sshexec which is the
main problem.
Sshexec gives me a TERM=dumb and Putty TERM=xterm.
I tried using RegExp within javascript within ant and had problems with
the whole forward slash character which would have been more elegant.
Instead I used some simple looping like this
13 matches
Mail list logo