xslt version

2008-03-13 Thread Z W
Hi Is the xslt task in ant 1.7 using version 1 or version 2 ? thanks

RE: xslt version

2008-03-13 Thread Rebhan, Gilbert
-Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 9:15 AM To: Ant Users List Subject: xslt version /* Is the xslt task in ant 1.7 using version 1 or version 2 ? */ Not sure, as i don't use ant 1.7.0 and xslt task right now, but i think it's 1.0 as the

"gpg: BAD signature" on Ant download

2008-03-13 Thread Aaron Tovo
I found a bad signature in the ant repository: Computer:~ $ gpg --verify apache-ant-1.7.0-bin.zip.asc apache- ant-1.7.0-bin.zip gpg: Signature made Wed Dec 13 04:33:32 2006 PST using DSA key ID 265B4C63 gpg: BAD signature from "Antoine Levy-Lambert (Apache Ant Committer) <[EMAIL PROTECTED]>"

AW: xslt version

2008-03-13 Thread Jan.Materne
(class XSLTProcess) uses external xsl processors. These are connected through org.apache.tools.ant.taskdefs.XSLTLiaison interface. The getLiaison() method itself calls the resolveProcessor() for instantiating the class. That uses the classname stored in "processor" which is settable as attribut

Re: about ant sql connection being pulled out , into a property file

2008-03-13 Thread Steve Loughran
Chaohua Wang wrote: Folks, I am using ant sql, Because I have a few of ant sql statements, could you tell me how to put above part into a property file. So there is no duplicate code. Look at to define a template you can use and reuse -- Steve Loughran http://ww

Re: xslt version

2008-03-13 Thread Z W
So how and where do I get a xslt 2.0 compliant processor to work with ant 1.7 ? Could someone explain how and where ? Thanks

Re: xslt version

2008-03-13 Thread Robert Koberg
Currently, using XSLT version 2 means using Michael Kay's Saxon. You can get it from saxonica.com Put the saxon.jar on your classpath for the build and set the javax.xml.transform.TransformerFactory to use saxon. For example: Or you could set a concrete subclass for the factory through a s

RE: SQL scripts in ANT

2008-03-13 Thread Rebhan, Gilbert
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 8:31 PM To: user@ant.apache.org Subject: SQL scripts in ANT /* Hi Experts.. */ i'm neither a sql nor an oracle expert ;-) ... /* I tried putting all the *.sql scripts inside one and call that like Master

Re: ECCN/Export Apache Ant

2008-03-13 Thread Stefan Bodewig
On Wed, 12 Mar 2008, Tyler Ward <[EMAIL PROTECTED]> wrote: > I need some help regarding the ECCN for Apache Ant 1.6.5. The > Apache site at http://www.apache.org/licenses/exports/ lists the > ECCN for Ant as 5D002 TSU. > > Is Ant classified as 5D002 because it is "designed for use" with > other

Re: "gpg: BAD signature" on Ant download

2008-03-13 Thread Stefan Bodewig
On Thu, 13 Mar 2008, Aaron Tovo <[EMAIL PROTECTED]> wrote: > I found a bad signature in the ant repository: > > Computer:~ $ gpg --verify apache-ant-1.7.0-bin.zip.asc apache- > ant-1.7.0-bin.zip > gpg: Signature made Wed Dec 13 04:33:32 2006 PST using DSA key ID > 265B4C63 > gpg: BAD signature f

Re: replaceregex issues

2008-03-13 Thread Vihan Pandey
On 3/12/08, neo anderson <[EMAIL PROTECTED]> wrote: > > How do I use shell script in ant? I try the following code, but it does not > work. > > > > >(echo "hi!";) > > > > Though it return build successfully. But there is not

RE: SQL scripts in ANT

2008-03-13 Thread Sumit.Srivastava
Hi Robert.. Thanks for the suggestions, unfortunately none works with ANT 1.7 The other way of doing it would be to create different ANT targets to run different scripts and call them as per requirement.. This doesn't make a lot of sense to me, as that would not be the best way to do it in our sce

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > >> --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > >>> this is really interesting. I'd thought javac > was > >>> unthreaded too, but > >>> even so you'd expect file IO to work in the > other > >>> CPU, so get a boost >

Re: Strange behavior with multiple cleancache and inline retrive

2008-03-13 Thread Per Hermansson
I've made some further development with the analysis. I can now reproduce the error with one of the example projects: multi-project. Append the following lines in the build.xml file in src\example\multi-project organisation="org.apache.ivy.example" mo

RE: about ant sql connection being pulled out , into a property file

2008-03-13 Thread Chaohua Wang
Thank you very much -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 3:52 AM To: Ant Users List Subject: Re: about ant sql connection being pulled out , into a property file Chaohua Wang wrote: > Folks, > > I am using ant sql, > > > >

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Steve Loughran
Michael Meyer wrote: On mere build servers running linux one could disable the second core at boot time permanently to reduce the build time, if no other processes are running on this server. But on workstations the second core is often used by the application being developed if it is multithr

ant sql call stored procedure

2008-03-13 Thread Chaohua Wang
Hi folks, I am using ant sql to call a stored procedure of Ms Sql server I can execute stored procedure in Ms Sql server. My stored procedure name is uspSelectCount. Then I use Execute--> File to generate a file called selectCount.sql. But when I am using ant sql to call the fi

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > > > > On mere build servers running linux one could > disable > > the second core at boot time permanently to reduce > the > > build time, if no other processes are running on > this > > server. > > > > But on workstation

Re: xslt version

2008-03-13 Thread Jay Bryant
You can also do it just by specifying the class path to Saxon, too. Here's one of my targets that does it: style="object-to-xsd.xsl" filenameparameter="filename" extension=".xsd"> FWIW and HTH Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - Original M

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > -could you try building under vmware/xen? We do that > for releases to > ensure the release builds are with clean source, no > matter what I'm editing. I did try to install xen, but the Ubuntu 8.04 xen-kernel won't boot on my machine. I do have a

a stored procedure example for an sql src.

2008-03-13 Thread Chaohua Wang
Hi folks, could somebody give me a stored procedure example to let me call Very simple one select * from table. I am stuck in stored procedure. I just want to execute select.sql. I have created a stored procedure in my database. Thank you. cwang --

ant sql call stored procedure

2008-03-13 Thread Chaohua Wang
Hi folks, I am using ant sql to call a stored procedure of Ms Sql server I can execute stored procedure in Ms Sql server. My stored procedure name is uspSelectCount. But when I am using ant sql to call the file uspSelectCount.sql that is located with the build file. I alway

If task

2008-03-13 Thread Sumit.Srivastava
Hi All, is there a way to implement the following if-else clause in ANT ?

Re: If task

2008-03-13 Thread Francis Brennan
You can implement that nearly verbatim using the ant-contrib extensions which provide if/elseif/else capabilities. The only change from what you have below would be to the syntax of your conditional expressions for example, correct equals syntax would be: Francis On 3/13/08 5:21 PM, "[EMAIL PRO

RE: If task

2008-03-13 Thread Sumit.Srivastava
Ohh yeah..It works that way..I saw at the ant contribs and didn't realise the two args can be compared. Thanks a ton for the help Francis.. ~Sumit -Original Message- From: Francis Brennan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 9:08 PM To: Ant Users List Subject: Re: I

setting properties

2008-03-13 Thread Lenhof,Danny
Newbie question: I created an ant wrapper that calls the build.xml. The issue I have is that the build.xml call a user.properties and overrides the values I set for the environment. Each developer has everything mapped to a d: drive, i.e. ant, weblogic, etc. I want it to use my values for my bui