On Fri, 19 Oct 2001, Phil Surette [EMAIL PROTECTED] wrote:
Could the Property task doco be updated to mention the
case-sensitivity under windows?
I think we need it to be case sensitive as env vars are case sensitive
on Unix systems. And normal Ant properties are so as well, I even
know some
Look at filtersets and filters in the manual - everything you need is there.
http://jakarta.apache.org/ant/manual/index.html
Also, could you keep you mails to the ant-user list. I don't mind answering
questions directly but then only you benefit, not the rest of the user
community.
Thanks.
I have some JUnit tests which print informations to System.out.
If I run them through the JUnit task they run fine but I don't
see the output anywhere. Where does it go?
Here's the relevant part of my build.xml:
junit printsummary=true
classpath refid=cp/
formatter type=xml/
batchtest
On Fri, 19 Oct 2001, Stefano Mancarella
[EMAIL PROTECTED] wrote:
Where does it go?
swallowed by the formatters.
Here's the relevant part of my build.xml:
junit printsummary=true
make that
junit printsummary=withOutAndErr
Stefan
Hi,
I would like to compile only out of date JSP files, the problem is,
unlike java sources, there doesn't seem to a method for determining
what files depend on others, through include directives. However, I
notice that the jsp compiler (we use JRun, not sure if it's specific to
JRun) puts a
Hi all,
Iam trying to export data from oracle database for particular user through
Ant. my build.xml is
target name="exptest"
sql
driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@armada:1521:wind"
userid="wtadmin"
password="wtadmin"
src=""
print="yes" / /target
and
Dhirendra,
Please don't post html mail to the list.
The fact that sqlplus says that the statement
is invalid means that this is an oracle
question, rather than an ant question.
I suggest that you ask the question in a
more appropriate forum.
Will
-Original Message-
From:
I just posted in normal way of posting mail. I did not understand what u
mean by html mail.
- Original Message -
From: Will Dyke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 3:53 PM
Subject: RE: how to export data
Dhirendra,
Please don't post html mail to
T.
Christine,
I'll email you directly a task i wrote on accepting a FileSet object.
I'll just remove all the other code first.
Can I have a copy of this task?
Please?
--
Halifax plc, Registered in England No.
Hi Dhirendra,
As far as I understand export is an executable not an SQL statement, so one shouldn't expect it to work anyways. I suggest that you use use the exec task in place of the sql task for the same.
Regards
_
Kapil Singh Pawar
Consultant - Integration
sql is for executing SQL statements. 'exp' is a command-line utility not
a SQL statement. Use the exec task to execute command-line utilities.
Erik
- Original Message -
From: Dhirendra Kulkarni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 1:48 AM
Ok Thanks, I am tring exec task
- Original Message -
From: Erik Hatcher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 4:08 PM
Subject: Re: how to export data
sql is for executing SQL statements. 'exp' is a command-line utility
not
a SQL statement. Use the
From: Stefan Bodewig [EMAIL PROTECTED]
Where does it go?
swallowed by the formatters.
Here's the relevant part of my build.xml:
junit printsummary=true
make that
junit printsummary=withOutAndErr
Doh! I should have checked the docs more carefully.
Thanks Stefan.
Please, how can I get the path of a Path element back as a string?
I'd like to define a Path and then print it out in Echo.
--
Jack J. Woehr # For it's Tommy this an' Tommy that,
Senior Consultant # an' "Chuck him out, the brute!"
Purematrix, Inc. # But it's "Saviour of 'is country"
On Thu, 18 Oct 2001, Jan Sorensen [EMAIL PROTECTED] wrote:
I have been trying to use the jar task to replace a file in a jar,
but with not success. It seems that if the jar file exists the jar
task don't do anything.
I the jar file newer than the file you want to put into it? If yes,
jar
On Thu, 18 Oct 2001, Jack J. Woehr [EMAIL PROTECTED] wrote:
how can I get the path of a Path element back as a string?
path id=winston
pathelement location= /
...
/path
property name=smith refid=winston /
echo message=Path with ID winston holds value ${smith} /
Stefan
I have been trying to use the jar task to replace a file in a
jar, but with
not success. It seems that if the jar file exists the jar
task don't do anything.
My solution so far is to unjar and then jar again with the
new file. Is there a better solution?
Use the update parameter on the
Will the answer presented here do the trick?
http://www.jguru.com/faq/view.jsp?EID=471917
- Original Message -
From: Jack J. Woehr [EMAIL PROTECTED]
To: ANT User Mailing List [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 7:13 PM
Subject: Extract text from Path element?
I have been trying to use the jar task to replace a file in a
jar, but with
not success. It seems that if the jar file exists the jar
task don't do anything.
My solution so far is to unjar and then jar again with the
new file. Is there a better solution?
Use the update parameter
--- Jack J. Woehr [EMAIL PROTECTED] wrote:
Please, how can I get the path of a Path element back as a string?
I'd like to define a Path and then print it out in Echo.
Assign it to a property (using the refid attribute), then reference the
property in your echo task.
Diane
=
([EMAIL
Title: stupid question
I have a stupid question, how to pause inside of Windows batch file, like sleep 10 in UNIX.
I can not find the dos command for sleep.
Thanks in advance.
B.
Title: stupid question
Not
necessary so complicated,
I just want to loop run a command every 10 seconds in NT with a
batch file.I do not know how to let it sleep 10s.
Thanks
B.
-Original Message-From: Stephane Bailliez
[mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001
Have you tried cygwin? there's a sleep command with that you can use on NT.
http://www.cygwin.com/ http://www.cygwin.com/
-Original Message-
From: Barry Jia [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2001 16:55
To: '[EMAIL PROTECTED]'
Subject: RE: stupid question
Not necessary
Title: stupid question
F:\pctools\cygnus\cygwin-b20\H-i586-cygwin32\bin
this
is included in my path and I am able to use every unix commands in
Dos
You
need the download the cygnus and then put this in your path...you will be
able
to use sleep command...and all other unix commands also!
Note: forwarded message attached.
=
_
Puedes sentirte desilusionado si fallas, pero estás condenado si no lo intentas.
You can get disappointed if you fail down, but you are doomed if you do not try it.
ICQ # 22338121
I am working on Windows 2000. Below is my implementation to get an system
env from ant.
project default=compile basedir=.
!--
=== --
!-- Initialization target
--
!--
Title: Message
Ever
invoked DashO from Ant? I'd like to compile, then obfuscate the
code...
Sound at all possible?
-Michael LaccettiDeveloper, Eldan
Software[EMAIL PROTECTED]
--- Michael Laccetti [EMAIL PROTECTED] wrote:
Ever invoked DashO from Ant? I'd like to compile, then obfuscate the
code...
Sound at all possible?
Can't you just run it with the java task?
Diane
=
([EMAIL PROTECTED])
__
Do You
Yep, I guess that's one easy way of doing it...
JMS sucks my brain dry, the obvious becomes hazy...
Thanks!
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 13:14
To: [EMAIL PROTECTED]
Subject: Re: Has anybody...
--- Michael Laccetti
Hi list members...
I've been looking through the mail list, searching
for something related to the jar task and Classpath
but nothing was found there.
Also the documentation related to the jar task
wasn't good enough...
I've been having troubles using the java task when
using the
Title: stupid question
I
could see the following line to pause for 10 seconds in one of our batch
file
Choice /c:~ /t:~,10 /n nul
Will
you give a try.
Dinesh
-Original Message-From: Barry Jia
[mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001 10:40
AMTo: '[EMAIL
Hi Vincent,
There's a couple of things I'm not sure I understand. One is why you're
using the java task to run ejbc -- have you looked at the ejbc task
that's available as an optional task?
The other is what you'd expect including a classpath for the jar task to
do. All the jar task does is jar
--- Mackay Paul [EMAIL PROTECTED] wrote:
Is it possible to build a task and then use it in the
same build.xml file?
Yes. Put the taskdef inside a target.
Diane
=
([EMAIL PROTECTED])
__
Do You Yahoo!?
Make a great connection at Yahoo!
Hi Diane,
Thank you to have the time to help me...
Well the first thing you are mentioning about, why I
didn't use de ejbc bside the java, it was because when
I first take a look to Ant, I didn't undestand many
things about it, I've never worked with a deploy
before, so I asked to all the
Title: Message
We use
the standard java task to do this:
target name="dasho-client"
depends="jar-dmsclient" if="dasho.present"java
classname="DashoPro" fork="yes" failonerror="true"
arg line="-v -f
${basedir}/${src.dir}/dasho/${client}.dop" /jvmarg
value="-mx9600"
Thank you, Phil, for your outputproperty example. But
I'm actually looking for an rcproperty attribute.
I'd like to have the return code of the exec made
visible to ant.
For instance, suppose I exec a program and want to
take action if the program fails. I could use the
failonerror attribute
I finally bit the bullet and I'm switching from make
to ant for my Java projects. And I've pretty much
got everything figured out, BUT this one item:
How to I get file name expansion for tasks which use
the arg element to define command line arguments?
Specifically I'd like to run a Java
Don,
Have you tried the apply task? Its made to launch a command-line program
for each item in a fileset, but it might not be quite what you need given
that your example is for a passing a list of files to a Java program.
It seems that the best solution is for you to write a wrapper Task that
- Original Message -
From: Yyy Xxx [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 10:48
Subject: Re: Suggestions for documentation exec
Thank you, Phil, for your outputproperty example. But
I'm actually looking for an rcproperty attribute.
I'd like to have
Your fileset's in your jar task look like they're probably wrong. You
have:
fileset dir=${PATH_ArqEJBReg}/util/
include name=util/MappingValue.class/
/fileset
which would have it looking for:
${PATH_ArqEJBReg}/util/util/MappingValue.class
which probably isn't what you
When I type ant at the command line, I get the same response as if I had
typed java at the command line.. I get an error message detailing how to
use the java command. This is on the latest release on 2000. Any ideas?
We use the standard ant task like below, which allows to turn
obfuscation on/off:
property name=obfuscatevalue=true/
property name=dasho.obf.file value=obfuscate.dop/
property name=dasho.nonobf.file value=nonobfuscate.dop/
!--
--- [EMAIL PROTECTED] wrote:
When I type ant at the command line, I get the same response as if I had
typed java at the command line.. I get an error message detailing how to
use the java command. This is on the latest release on 2000. Any ideas?
Edit %ANT_HOME%\bin\ant.bat to turn echoing on
You need to look into your ant folder and see if their a ant batch file or
something and see what's happening in there and try and type and commands as
you see in it to see why its behaving like that.
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: ant from
44 matches
Mail list logo