Is it possible to view the output of an SQL task? In this example I would
like to see the count result as the script runs.
Thanks.
Example task :
target name=sql_test
sql
driver=sun.jdbc.odbc.JdbcOdbcDriver
url=jdbc:odbc:oracle_db2
userid=user
password=password
select
Ainsi parlait Stefan Bodewig :
On Wed, 13 Mar 2002, Guillaume Rousse [EMAIL PROTECTED] wrote:
Anyway, and before this is fixed in a next jdk release, any
workaround idea ?
You said it worked from the command line (just using a different
command than Ant did). Which command did you use?
From: [EMAIL PROTECTED]
hi all,
i have been trying twice to unsubscribe from this list.
i send twice message to [EMAIL PROTECTED] but
i am still receiving emails.
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
--
Nicola Ken Barozzi [EMAIL PROTECTED]
-
Did you receive and reply to the unsubscribe confirmation email?
-Original Message-
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 5:55 AM
To: Ant Users List
Subject: Re: unsubscribing from ant users list
From: [EMAIL PROTECTED]
hi all,
i have been
Hi
I have some problems using Ant. When I build my project using Idea 2.5
(from IntelliJ) it works, but when I try from command line I get the
following:
C:\Dev\V3\build.xml:64: Could not create task of type: ejbjar. Common
solutions
are to use taskdef to declare your task, or, if this is an
On Thu, 14 Mar 2002, Guillaume Rousse [EMAIL PROTECTED] wrote:
-subpackages options, which is javadoc 1.4 specific :-(
I don't have the tool docs for 1.4 with me right now, maybe we can
adapt javadoc to use that option if it detects JDK 1.4?
So i need to test jdk version first,
available is
I installed ant1.3 on my Redhat Linux 7.0 with jdk1.3.1_02. The default jar
files for xml parser under ANT_HOME/lib are jaxp.jar and parser.jar. I
removed these two files and used xerces.jar and xalan.jar instead. Then the
error came up:
Buildfile: build.xml
/root/jakarta-ant-1.3/bin/ant: line
what is the version of the xalan ?
new version xalan does not have the XSLTInputSource.
I think upgrading your ant should solv the problem.
Geng, Bo (Bob) wrote:
I installed ant1.3 on my Redhat Linux 7.0 with jdk1.3.1_02. The default jar
files for xml parser under ANT_HOME/lib are jaxp.jar
Title: Any way to shutdown a build externally?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've got an automated build system that fires of an Ant build via
Java code (using the Main class). Assuming that something goes wrong
during the build, and it hangs, is there any way to stop the
Kill the java process that's running it?
-Original Message-
From: Michael Laccetti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:24 AM
To: Ant List
Subject: Any way to shutdown a build externally?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've got an automated build
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I was looking for a more elegant solution, but if that's the only
way...
- -Original Message-
From: Steve Cohen [mailto:[EMAIL PROTECTED]]
Sent: March 14, 2002 9:33 AM
To: Ant Users List
Subject: RE: Any way to shutdown a build
The xalan.jar I used is include din Xerces-J-tools.2.0.1.tar.gz which marked
as latest build tools at http://xml.apache.org/dist/xerces-j/ .
The reason I used v1.3 instead of v1.4 is that when junitreport task issued
the error comes up:
helloWorld\build.xml:93: Could not create task of type:
Hello again, Anters
For any of you who happen to work on the Ant docs, i have a small suggestion:
how about an available since field for each task, a-la the Java API docs?
What brought this up was my trying to use the record tag yesterday, only to
find it wasn't in my version of Ant (i
For any of you who happen to work on the Ant docs, i have a
small suggestion:
how about an available since field for each task, a-la the
Java API docs?
What brought this up was my trying to use the record tag
yesterday, only to
find it wasn't in my version of Ant (i use the
Hi all,
I am new to this particular tool and have been playing with different versions for
about a week now.
The problem I have is as follows:
When I call ant make_jar (using v1.4.1) it fails stating a zip file cannot contain
itself yet there are no other zip files in the directory
Stefan
Unified diff is the -u on the command line, it creates a slightly
different, more compact and for some people more readable output.
The main difference is that you have a good chance that a unified diff
can be applied to a given file by patch even if that file is not of
the same
On Thu, 14 Mar 2002, Richard OShea [EMAIL PROTECTED]
wrote:
When I call ant make_jar (using v1.4.1) it fails stating a zip file
cannot contain itself yet there are no other zip files in the
directory structure.
You are trying to zip up a directory and put the resulting archive in
that
Thanks for the responce Stephan.
I modified the file but get the same error? Here is the source if you don't mind
looking at it ;P
!-- simple xml buildfile --
!-- generated by Together --
project name=EUCLID default=compile
!-- set global properties for this build --
http://www.onjava.com/pub/a/onjava/2002/03/13/jaxbant2.html
this actually covers some recent discussion topics, and in the details
of making Ant tasks. Its basically in two parts. First is a task that
will generate a packagelist file for javadoc to use (although I acknowledge
its really
Hi Diane,
I noticed taskdef resource=net/sf/antcontrib/antcontrib.properties/ in
your example below, and tried to have a look at this resource, but it's not
part of the ant-contrib CVS rep. There's no ant-contrib JAR to download, so
is this file created by the ant-contrib build, or did you
On Wed, Mar 13, 2002 at 03:33:12PM -0800, Steve Loughran wrote:
This is what you get in a nightly build
Ah! Excellent. My only complaint is that it doesn't say *WHICH* class
it couldn't find. That one piece of information is more useful than
all those other words.
Then at least we'd
On Thu, 14 Mar 2002, Richard OShea [EMAIL PROTECTED]
wrote:
property name=dest value=R:\P7064\oshea\Repository Software\out\/
property name=dist value=R:\P7064\oshea\Repository Software\out\_dist/
jar jarfile=${dist}/EUCLID.jar basedir=${dest} excludes=EUCLID.jar/
excludes expects a pattern
Also, the error message should reference that excellent bugzilla entry
by Stefan. Just putting See
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6606 for details.
under the entry talking about ANT_HOME/lib would suffice.
- A
--
Alex Chaffee mailto:[EMAIL PROTECTED]
On Thu, 14 Mar 2002, [EMAIL PROTECTED] wrote:
Also, the error message should reference that excellent bugzilla
entry by Stefan.
Thanks, *blush*
Actually, the real goal was to make an entry for the FAQ from this, I
was just awaiting feedback (and time). And didn't get too much, which
may
Hello, anters,
i have a very strange problem. i've spent the past couple of days porting our
build tree from make to ant, and it seems to run great, but after it's run i
have no class files. Ant 1.4.1, JDK 1.3.1, Linux. My compile target looks
like this:
target name=compile
Thanks Stephan :)
All is well.
Ant looks like a good tool to me (extensible task driven etc etc) it's the little
things that can put you off from using something like this though. Especially if like
me you thought command line was a shipping company :)
Cheers for the help
Ric
-Original
--- Dominique Devienne [EMAIL PROTECTED] wrote:
I noticed taskdef resource=net/sf/antcontrib/antcontrib.properties/
in your example below, [...] did you create it yourself?
Yep -- I just picked up all the ant-contrib source files, compiled them,
created a taskdefs file, then jar'd it all up
I kind of picked up a project from someone else, and they'd set up the following
for the makefile, saying that there is no way to check if Ant failed or not.
Can I change the makefile so a return code is picked up *without* having to use
the listener?
--- makefile.mak
I think you can define property name in the command line , -Dname=value
http://www.brightspark.com/signature_file/brightspark_logomark_small.gif
Barry Jia
Brightspark Labs.
Tel:416-488-1999 ext. 306
Fax:416-488-1888
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Or
[EMAIL PROTECTED]
--- stephan beal [EMAIL PROTECTED] wrote:
i have a very strange problem. i've spent the past couple of days
porting our build tree from make to ant, and it seems to run great,
but after it's run i have no class files.
Try running 'ant -verbose' and look for the Compilation args: line --
it'll
Hello, excuse me for my English:
I`am in troubles. I need that Somebody tell me how write script for
create ftp task, dynamic.
My idea:
project name=squares default=main basedir=.
!--THIS FILE FILE CONTAINS VARIABLES FOR CREATE TASK FTP --
- Original Message -
From: stephan beal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 07:23
Subject: documentation suggestion for ant team...
Hello again, Anters
For any of you who happen to work on the Ant docs, i have a small
suggestion:
how about an
Ainsi parlait Stefan Bodewig :
On Thu, 14 Mar 2002, [EMAIL PROTECTED] wrote:
Also, the error message should reference that excellent bugzilla
entry by Stefan.
Thanks, *blush*
Actually, the real goal was to make an entry for the FAQ from this, I
was just awaiting feedback (and time).
- Original Message -
From: [EMAIL PROTECTED]
To: Steve Loughran [EMAIL PROTECTED]
Cc: Ant Users List [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 08:15
Subject: Re: Basic setup of Junit in Ant?
Also, the error message should reference that excellent bugzilla
--- Ortiz Garrudo, Alvaro [EMAIL PROTECTED] wrote:
Hello, excuse me for my English:
You did fine :)
I`am in troubles. I need that Somebody tell me how write script for
create ftp task, dynamic.
!--THIS FILE FILE CONTAINS VARIABLES FOR CREATE TASK FTP --
property file =
Title: gnoob question: if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there any sort of 'if' functionality available within Ant? E.g.,
I've set a condition, how can I do some sort of evaluation based on
the condition.
Thanks,
Michael
- -
Michael
--- Michael Laccetti [EMAIL PROTECTED] wrote:
Is there any sort of 'if' functionality available within Ant? E.g.,
I've set a condition, how can I do some sort of evaluation based on
the condition.
From the user's manual, section Using Ant, subsection Targets:
A target also has the ability
Thanks, I'll give it a shot.
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 8:58 AM
To: Ant Users List
Subject: RE: Preserving URL paths in apply tasks
--- Dominique Devienne [EMAIL PROTECTED] wrote:
I noticed taskdef
Excellent, that was what I needed. Works like a dream :)
--On Thursday, 7 March 2002 10:31 a.m. +0100 Stefan Bodewig
[EMAIL PROTECTED] wrote:
If the later is true, make the setter method for the attribute in your
custom task take a File argument, not a String. Ant will
automatically
Hello,
I am trying to get a jar command to work via ant but I'm getting an
empty jar file. Hopefully someone can tell me what I'm doing wrong.
I have the following jar target section in my build.xml:
target name=jar
depends=init,prepare,compile
jar
Try includes=**/src/**,**/pages/**,**/WEB-INF/**
-Original Message-
From: James Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 1:24 PM
To: [EMAIL PROTECTED]
Subject: Problem creating a jar file
Hello,
I am trying to get a jar command to work via ant but I'm getting an
All,
I want to exclude few directories from compiling. For ex, in
com/alltel/ebusiness/javachart/document_root,
I want to exclude the whole ebusiness directory and any directories under
that directory. I need to do this for some 3 directories. Can somebody help
?
I appreciate any help.
Thanks for your help, this did the trick.
-James
Try includes=**/src/**,**/pages/**,**/WEB-INF/**
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
use the the exclude tag...
Ex:
javac srcdir=.
exclude name=**/ebusiness/** /
/javac
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 4:26 AM
To: Ant Users List
Subject: Newbie question
All,
I want to exclude few directories from
Try excludes=**/alltel/ebusiness/** in your compilation task.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 2:56 PM
To: Ant Users List
Subject: Newbie question
All,
I want to exclude few directories from compiling. For ex, in
Hello - Ive encountered a bit of a problem with the following
ftp server=nycsuweb02
remotedir=/export/home/vatluri/RELEASE
userid=vatluri
password=password
binary=yes
fileset dir=\Build_Environment\RELEASE\application
include name=cfn_vamsi1.zip/
I've grown tired of looking at plain gray text while examining the
verbose output of Ant. So, I wrote a simple Perl wrapper for Ant called
``colorant'' (in line with colorgcc and colormake). I thought others
might be interested in it, so I thought I would post it to the Ant Users
list. It's a
- Original Message -
From: Atluri, Vamsi NYC [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 3:23 PM
Subject: Telnet Task
Hello - Ive encountered a bit of a problem with the following
ftp server=nycsuweb02
FYI - In Ant's CVS there is an AnsiColorLogger that can be used to do this
or something similar.
Erik
- Original Message -
From: Andrew Sterling Hanenkamp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 6:36 PM
Subject: Colorant script
I've grown tired of
telnet userid=vatluri password=password server=nycsuweb02
writecd RELEASE/write
writepwd/write
read/export/home/vatluri/RELEASE/read
writeunzip -a cfn_vamsi1.zip/write
readtimeout=10/export/home/vatluri/RELEASE/read
/telnet
What kind of response am i supposed to read
--- Erik Hatcher [EMAIL PROTECTED] wrote:
FYI - In Ant's CVS there is an AnsiColorLogger that can be used to do
this or something similar.
Have you used it? I got a nullPointerException (at printMessage()) when I
tried it.
Diane
=
([EMAIL PROTECTED])
Hello,
Ive noticed something strange.
When I create the zip file using ants built in zip task and 'unzip -a'
ANTzipFileA on a UNIX server - The '^M' are not getting removed as they are
supposed to
All files are being treated as binary files
I then started to manually create a zip file in
--- Diane Holt [EMAIL PROTECTED] wrote:
--- Erik Hatcher [EMAIL PROTECTED] wrote:
FYI - In Ant's CVS there is an AnsiColorLogger that can be used to do
this or something similar.
Have you used it? I got a nullPointerException (at printMessage()) when
I tried it.
Never mind -- I was a
From: Diane Holt [EMAIL PROTECTED]
--- Diane Holt [EMAIL PROTECTED] wrote:
--- Erik Hatcher [EMAIL PROTECTED] wrote:
FYI - In Ant's CVS there is an AnsiColorLogger that can be used to do
this or something similar.
Have you used it? I got a nullPointerException (at printMessage())
- Original Message -
From: Atluri, Vamsi NYC [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 4:44 PM
Subject: RE: Telnet Task
Hello,
Ive noticed something strange.
When I create the zip file using ants built in zip task and 'unzip -a'
- Original Message -
From: Atluri, Vamsi NYC [EMAIL PROTECTED]
To: 'Ant Users List' [EMAIL PROTECTED]
Sent: Thursday, March 14, 2002 4:21 PM
Subject: RE: Telnet Task
telnet userid=vatluri password=password server=nycsuweb02
writecd RELEASE/write
writepwd/write
You now - Someone on my team actually said the same thing about the unzip -a
option - Beats me - I randomly came across it - Trying to deal with the '^M'
problem and as I said - Its seem to work fine outside of the ant task -
Don't get me wrong I am not trying to say anything bad about ant - I
--- Magesh Umasankar [EMAIL PROTECTED] wrote:
I have introduced an assertion for not null in the code now. You said
you had access to FreeBSD, right? It would work there - perhaps
you may want to give it a shot (for feedback's sake, at least)...
Doubtful -- the Java on there is so ancient,
Dear ant users,
We have some perl script that we would like to incorporate into build.xml,
but can't run it since the additional library is missing.
Is running perl script from within ant is supported?
If so, can anybody can point to me what dependency library needed?
And little perl sript in
From: Diane Holt [EMAIL PROTECTED]
--- Magesh Umasankar [EMAIL PROTECTED] wrote:
I have introduced an assertion for not null in the code now. You said
you had access to FreeBSD, right? It would work there - perhaps
you may want to give it a shot (for feedback's sake, at least)...
--- Magesh Umasankar [EMAIL PROTECTED] wrote:
Looking at the configuration, I guess you are using
this machine just to play cool games now, eh? ;-)
Nah -- I play cool games on my NT (one of its few positive points :) I
have access to the unix box for historical reasons.
Diane
=
([EMAIL
61 matches
Mail list logo