Ant 1.5 to 1.7 problem.

2007-11-08 Thread Major shao
Hi, everyone i am trying to upgrade the project from ant1.5.1 to ant1.7.0 it gave error build_config.xml:151: java.lang.ExceptionInInitializerError the line 151 of that xml is a uptodate task. Any idea why i got the error? Please kindly help. Your reply is highly appreciated.

Re: Ant file.encoding problem.

2007-11-08 Thread Major shao
Hi, everyone i am trying to upgrade the project from ant1.5.1 to ant1.7.0 it gave error build_config.xml:151: java.lang.ExceptionInInitializerError the line 151 of that xml is a uptodate task. Any idea why i got the error? Please kindly help. Your reply is highly appreciated.

Ant file.encoding problem.

2007-11-08 Thread 김동광
Dear everyone. I have been used ant 1.7.0 for running my program on linux (redhat. 2.6.9-42.0.10.ELsmp) However, I have a some problem to process file.encoding. My problem is.. A original file was written based on MS949 encoding. My program is working to read this file and write another

Re: MSVC compiler question: cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'

2007-11-08 Thread fabien_pichard
ok nevermind... debug="0" or debug="1" makes the errors disapear... --fabien fabien_pichard wrote: > > Hello! > > When I compile with msvc debug="true", I get the following errmsgs: > cl : Command line warning D9035 : option 'GZ' has been deprecated and will > be removed in a future release >

MSVC compiler question: cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'

2007-11-08 Thread fabien_pichard
Hello! When I compile with msvc debug="true", I get the following errmsgs: cl : Command line warning D9035 : option 'GZ' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' but according to http://ant-contrib.sourceforge.net/cc

Re: Websphere 6 Ant Tasks can't be found....

2007-11-08 Thread Martin Gainty
Chris can you run the command $WAS_HOME/bin/ws_ant.bat[sh] M-- - Original Message - From: "Christopher Styles" <[EMAIL PROTECTED]> To: Sent: Thursday, November 08, 2007 1:11 PM Subject: Websphere 6 Ant Tasks can't be found > Hi, > > I'm using Cruise Control and Websphere 6 to build

RE: Xslt when run from other dir from maven gets "Provider for javax.xml.transform.TransformerFactory cannot be found"

2007-11-08 Thread Karr, David
> -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 1:27 PM > To: Ant Users List > Subject: Re: Xslt when run from other dir from maven gets > "Provider for javax.xml.transform.TransformerFactory cannot be found" > > On 11/8/07, K

Re: How to accumulate a list of files for pmd instead of running pmd on each one

2007-11-08 Thread Dominique Devienne
On 11/8/07, Karr, David <[EMAIL PROTECTED]> wrote: > However, I then went to another directory built with Maven, where my > build script is called with "ant:ant", and which was previously working > with the xmltask solution (except for the occassional OOM), and that > fails with: As I said in my o

Re: Xslt when run from other dir from maven gets "Provider for javax.xml.transform.TransformerFactory cannot be found"

2007-11-08 Thread Dominique Devienne
On 11/8/07, Karr, David <[EMAIL PROTECTED]> wrote: > JDK 1.4.2, Ant 1.5.4. That's kinda old for Ant, no? I don't recall how Ant 1.5 worked that much. > I developed an Ant script that uses an xslt task. I tested it in the > directory where I put it, and it works fine. > > I then went to another d

RE: How to accumulate a list of files for pmd instead of running pmd on each one

2007-11-08 Thread Karr, David
I discovered that I needed to try the XSLT solution, because for some of my largish XML files, xmltask seems to die with an OutOfMemory error. These files aren't really that large, but they result in 40-50 occurrences of the target string. It was pretty quick to implement, and in the directory wit

Xslt when run from other dir from maven gets "Provider for javax.xml.transform.TransformerFactory cannot be found"

2007-11-08 Thread Karr, David
JDK 1.4.2, Ant 1.5.4. I developed an Ant script that uses an xslt task. I tested it in the directory where I put it, and it works fine. I then went to another directory tree managed by maven, and executed some code in my "maven.xml" in a subproject that calls "ant:ant" and calls my build script

Re: Websphere 6 Ant Tasks can't be found....

2007-11-08 Thread Christopher Styles
Thanks... I'll try that... On 11/8/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > > On Nov 8, 2007 6:11 PM, Christopher Styles <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using Cruise Control and Websphere 6 to build and deploy my > application > > to a remote server, but when I execute the buil

Re: Websphere 6 Ant Tasks can't be found....

2007-11-08 Thread Peter Reilly
On Nov 8, 2007 6:11 PM, Christopher Styles <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using Cruise Control and Websphere 6 to build and deploy my application > to a remote server, but when I execute the build/deploy, I get and *Ant > Error Message*... My websphere ant tasks can't seem to be found

Re: Fail if file does not contains a string?

2007-11-08 Thread Dominique Devienne
On 11/8/07, Rob Wilson <[EMAIL PROTECTED]> wrote: > Is it possible to fail ant if a file does not contain a string? . --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Fail if file does not contains a string?

2007-11-08 Thread Alec Fernandez
You could use to read the file into a property then use the contains in the condition task to check for the string. If the file is big then you probably want to use a filterchain to subset it. -Alec -Original Message- From: Rob Wilson [mailto:[EMAIL PROTECTED] Sent: Thursday, November

RE: Re: Ant vs Apache

2007-11-08 Thread Rick Genter
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 10:47 AM > To: Ant Users List > Cc: user@ant.apache.org > Subject: RE: Re: Ant vs Apache > > On Thu, November 8, 2007 1:29 pm, [EMAIL PROTECTED] wrote: > > No, you're not. Remember, "Them!" (1954)? > > :) I

Fail if file does not contains a string?

2007-11-08 Thread Rob Wilson
Is it possible to fail ant if a file does not contain a string? Cheers, Rob. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Re: Ant vs Apache

2007-11-08 Thread Frank W. Zammetti
On Thu, November 8, 2007 1:29 pm, [EMAIL PROTECTED] wrote: > No, you're not. Remember, "Them!" (1954)? :) I love "Them!" It's a perfect example of the movies of that period. There was no giant Indian of course, but that could have only made it cooler LOL... there could have been one in "Food O

RE: Re: Ant vs Apache

2007-11-08 Thread cknell
No, you're not. Remember, "Them!" (1954)? -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Frank W. Zammetti <[EMAIL PROTECTED]> Sent: Thu, 8 Nov 2007 13:18:36 -0500 (EST) To: "Ant Users List" Subject: Re: Ant vs Apache Ant vs. Apache ... am I the onl

Re: Ant vs Apache

2007-11-08 Thread Frank W. Zammetti
Ant vs. Apache ... am I the only one that had a picture pop into their head of a 1950's sci-fi movie featuring a giant Indian fighting a radiation-mutated giant insect? (I'm off from work tomorrow, so *this* is my Friday LOL) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnyt

Re: Ant vs Apache

2007-11-08 Thread Bruce Atherton
Hi, there. Generally, you should ask for help with Ant on the Ant Users List. I've cced the list on this email so that others can offer you their help. If you don't want to join the mailing list, you can follow any replies through the web archive[1]. Before I answer your specific questions,

Websphere 6 Ant Tasks can't be found....

2007-11-08 Thread Christopher Styles
Hi, I'm using Cruise Control and Websphere 6 to build and deploy my application to a remote server, but when I execute the build/deploy, I get and *Ant Error Message*... My websphere ant tasks can't seem to be found If I comment out the taskdefs, the build portion works fine, but I need the we

Re: ANT 1.7: ManifestClasspath How does it work??

2007-11-08 Thread Dominique Devienne
On 11/8/07, Francis ANDRE <[EMAIL PROTECTED]> wrote: > Can somebody explain me how the ManifestClassPath is working?? I am trying to > use it for building multiple jars dependencies within an ear but I never get > the > "rigth" Class-Path in the manifest.mf. Sharing your current Ant code and show

ANT 1.7: ManifestClasspath How does it work??

2007-11-08 Thread Francis ANDRE
Hi User's list Can somebody explain me how the ManifestClassPath is working?? I am trying to use it for building multiple jars dependencies within an ear but I never get the "rigth" Class-Path in the manifest.mf. FA - To uns

Probs with antcontrib1.0b3 task

2007-11-08 Thread Rebhan, Gilbert
Hi, i wanted to upgrade antcontrib from 1.0b2 to 1.0b3 in production and noticed an error with the assert task. I took a fresh download from sourceforge to assure not using a broken release. Before filling a bug report, can someone else using antcontrib confirm that behaviour ? my env = Window