RE: Question regarding -Xlint:unchecked

2006-12-15 Thread Chun Ji
Hi Antoine, That is acctually correctly. As you can see, when the second build.xml invokes the "compile" target in the first build.xml, the "inheritAll" is set to false, which means by default no valuable defined in the second build.xml is passed to the first one, only when it is explicitly s

Re: Invalid use of string utils in

2006-12-15 Thread Antoine Levy-Lambert
Hello Michael, could you post your solution in Bugzilla, with the output of svn diff for junit-noframes.xsl ? Regards, Antoine On Dec 8, 2006, at 12:41 PM, Michael Giroux wrote: Following is an excerpt from $ANT_HOME/etc/junit-noframes.xsl. The purpose of the template is

Re: xslt task and style

2006-12-15 Thread Antoine Levy-Lambert
Hi, in Ant 1.7, it will be possible to use a resource as a stylesheet. Regards, Antoine On Dec 10, 2006, at 11:56 AM, Dominique Devienne wrote: is it possible to use in 'style' attribute of xslt task style definition like http

Re: ANT :use ant send mail in java code occur erro

2006-12-15 Thread Antoine Levy-Lambert
Do you have mail.jar and activation.jar under $ANT_HOME/lib ? Regards, Antoine On Dec 10, 2006, at 10:08 PM, heliquan wrote: Hi, I use ant in java code to send e-mail,but some error I can't find the solution. In java code ,I had new a "org.apache.tools.ant.taskdefs.email.EmailTask"

Re: Using xmlcatalog in schema-validation

2006-12-15 Thread Antoine Levy-Lambert
Hello Caleandro, you might need to have xml-resolver.jar installed under $ANT_HOME/lib. The install.html lists this : resolver.jar 1.1beta or later xmlcatalog datatype only if support for external catalog files is desired http://xml.apache.org/commons/. Regards, Antoine On Dec 15, 2006,

Re: Ant 1.6.5 and JUnit task

2006-12-15 Thread Antoine Levy-Lambert
Hello Sebastian, there might be a system wide ant installed on your system. Check for the presence of a file called /etc/ant.conf. This one might be the one which is killing you. see this posting by Peter Reilly : http://marc.theaimsgroup.com/? l=ant-user&m=116378339914211&w=2 Regards, A

Re: Question regarding -Xlint:unchecked

2006-12-15 Thread Antoine Levy-Lambert
Hello Chun Ji, please check the path that you pass in the dir attribute of the > invocation. Probably, it should be and not dir="${src.dir}" . You want this attribute to be the basedirectory of the build file that you invoke. Regards, Antoine On Dec 15, 2006, at 2:54 PM, Chun Ji wrote: I

RE: How to construct condition statement?

2006-12-15 Thread Anderson, Rob (Global Trade)
Indeed. Thanks Peter. -Rob A > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, December 15, 2006 11:52 AM > To: Ant Users List > Subject: Re: How to construct condition statement? > > On 12/15/06, Anderson, Rob (Global Trade) > <[EMAIL PROTECTED]> wro

Ant 1.6.5 and JUnit task

2006-12-15 Thread Sebastian Weber
Hi everybody, I am sure that I am not the first one to post that particular question here, but I'm very close to snapping my keyboard in half, because I can't get it done. I set up an Anthill build management server on a Fedora based linux system. The machine I am working on is a server on w

Question regarding -Xlint:unchecked

2006-12-15 Thread Chun Ji
I have two build.xml used for my daily work. The first one has only one target, which is to compile the source code. For the second build.xml, there are a list of "targets", including a "target", that is to invoke the "compiling" target in the first build.xml. Here is part the my build.xml fil

Re: How to construct condition statement?

2006-12-15 Thread Peter Reilly
On 12/15/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: A simpler approach is to check the existence of a variable, and ignore the value. This may or may not work for your situation, but consider it. Should be if="env.SOMEVARIABLE" I.e the name of the property and not its value.

RE: How to construct condition statement?

2006-12-15 Thread Anderson, Rob (Global Trade)
A simpler approach is to check the existence of a variable, and ignore the value. This may or may not work for your situation, but consider it. ... Perhaps the non-existence of the variable would provide the "false" condition... ... -Rob Anderson > -Original Message- > From: Chun T

RE: ANT_ARGS=-noclasspath -logger -cp

2006-12-15 Thread Murray, Mike
Resolved: I just stumbled across the "other way" I was seeking, which is to use -lib, instead of -cp. ANT_ARGS=-noclasspath -logger com.ptc.tools.build.PTCLogger -lib L:/tools_vs/lib/BuildSupport-ant.jar -Original Message- From: Murray, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, Decem

Re: ant javac version question

2006-12-15 Thread Scot P. Floess
Excellent - that's good to hear :) glenn opdycke-hansen wrote: It may be working now. I have to check with a co-worker. The target="1.4" may have been effective. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: ant javac version question

2006-12-15 Thread glenn opdycke-hansen
It may be working now. I have to check with a co-worker. The target="1.4" may have been effective. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to construct condition statement?

2006-12-15 Thread Scot P. Floess
Sorry, I mean the ant doc for Scot P. Floess wrote: Try this: That's assuming you are testing a property named CONDITION Please refer to the ant doc for Chun Tat David Chu wrote: Hi, I'm trying to construct a condition statement in ANT, and I'm stuck. Any help or suggestion woul

Re: How to construct condition statement?

2006-12-15 Thread Scot P. Floess
Try this: That's assuming you are testing a property named CONDITION Please refer to the ant doc for Chun Tat David Chu wrote: Hi, I'm trying to construct a condition statement in ANT, and I'm stuck. Any help or suggestion would be great! What I am trying to do is to check an enviro

How to construct condition statement?

2006-12-15 Thread Chun Tat David Chu
Hi, I'm trying to construct a condition statement in ANT, and I'm stuck. Any help or suggestion would be great! What I am trying to do is to check an environmental variable, and if it is set to "TRUE", then I want to set a field to another text. ex. (sorry, I'm new at ANT, I'll use pseudo code

Re: Replace Question

2006-12-15 Thread Andrew Goktepe
If you are running Ant 1.6.3 or later, you can use the condition: The skip.replacement property will be set if the file already contains the replacement text. You can then run conditionally on this property. You could also use ant-contrib with to combine t

Re: [Copying of a file] Issue

2006-12-15 Thread Andrew Goktepe
In your Ant output, I don't see any calls to the targets you provided. It looks like your error is occuring in some other target (maybe scanlogs). Go to line 94 in your script to see if you're looking at the right target. -Andrew On 12/15/06, Dharmesh Vyas <[EMAIL PROTECTED]> wrote: Hello Gro

Using xmlcatalog in schema-validation

2006-12-15 Thread Caleandro
Hi Ant users, I need to validate a Soap-message against a compound schema, (yes!, a very common problem today ;-). I need to map two components of the schema (of soap-body part) with other resources with respect of those declared in the including schema. Something like this: main schema: http

[Copying of a file] Issue

2006-12-15 Thread Dharmesh Vyas
Hello Group, I am trying to call one target from another and while calling the other target I am passing a parameter value which is to be used in the called target. Here it is what I am doing. After running the target it the copying of the file happens successfully but it thows a

Re: Sync task documentation for includeEmptyDirs

2006-12-15 Thread Antoine Levy-Lambert
Hello Joel, I have had a look at the code and you are right, the documentation needs some correction. Regards, Antoine On Dec 14, 2006, at 11:25 PM, Joel Klein wrote: Is it just me, or is the Sync task documentation wrong when it says the includeEmptyDirs attribute defaults to true? I'