Re: perform operations on two databases simultaneously?

2005-01-27 Thread galenboyerdev
Maciej Zywno <[EMAIL PROTECTED]> writes: > Parallel task is used to perform operations that are independent, right? They perform task in parallel. If they are independent is up to you. > In an sql task I specify a connection to one database. However I would > like to run sql that let's say copy

Re: perform operations on two databases simultaneously?

2005-01-27 Thread galenboyerdev
Maciej Zywno <[EMAIL PROTECTED]> writes: > Hi all, > > Is it possible to perform operations on two databases simultaneously > by means of Ant? There is the parallel task as well as the sql task, so yes. > I would like to schedule nightly denormalization of one database and > put it denormalized

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
Ninju Bohra <[EMAIL PROTECTED]> writes: > The env.* properties are set to defined to be whatever you OS shell > values are...please read the ANT documentation about the > task and how the enviroment attribute is processed. Ah, I see. Sorry for the question. It was clearly documented already, I

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
"Keith Hatton" <[EMAIL PROTECTED]> writes: > It's all the environment variables that are currently set. > In Windoze, type SET at a Command Prompt. > > Keith Ah. A sort of environmental reflection... Thanks. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > S

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
James Abley <[EMAIL PROTECTED]> writes: > On Tue, 2005-01-25 at 16:19, Dominique Devienne wrote: >> > -Original Message- >> > From: news [mailto:[EMAIL PROTECTED] On Behalf Of >> > >> > I don't see this in the available properties? >> >> See below. You'll just have to do your own conditi

Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
I don't see this in the available properties? Thanks. -- Galen Boyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Call specific Targets from a GUI

2005-01-13 Thread galenboyerdev
René Ghosh <[EMAIL PROTECTED]> writes: > The file releases for 1.2 have been corrected. Apparently the sourceforge > upload encountered a > problem in the original upload. You can download it now. Yeppers. Works, right out of the box. Looks pretty cool... > --- [EMAIL PROTECTED] a écrit :

Re: Call specific Targets from a GUI

2005-01-13 Thread galenboyerdev
René Ghosh <[EMAIL PROTECTED]> writes: > The AntMenu task in the AntForms project does just that. See the screenshot at > http://antforms.sourceforge.net/screenshots.html. You configure a task that > launches a Swing frame > and lays out a series of buttons bound to specific Ant tasks. I downloa

Re: Ant should have an ext directory

2005-01-05 Thread galenboyerdev
"Erskine, Chris" <[EMAIL PROTECTED]> writes: > That starts to solve the issue of the external ext directory although it > does make it a little more work for the users to set up ant on their > machine. (Did you remember to go to your environment control and add the > ANT_ARGS value?). > > This d

Re: Macrodef in import file having same behaviour as targets?

2005-01-04 Thread galenboyerdev
Yves Leung-Tack <[EMAIL PROTECTED]> writes: > Hi, > > Is it possible for ant to get a filename , parsing it > and get a substring of that filename for using it ?? > > What I want to do exactly in build.xml is: > if a file with *QAE.tar.gz exists then > parse the that filename

Re: Macrodef in import file having same behaviour as targets?

2005-01-04 Thread galenboyerdev
Peter Reilly <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > >Martin Cooper <[EMAIL PROTECTED]> writes: > > > >> You may be running into a bug that has been fixed but is not yet in a > >> release. Does anybody know if this is true? > No, it is not true. Thank you for the answe

Re: Ant should have an ext directory

2005-01-04 Thread galenboyerdev
"Poonam" <[EMAIL PROTECTED]> writes: > Hello, > > Can you please help me to run a CMD file from ant? > My CMD file contains 3-4 statements each dependent on previous one. > > I have tried using apply and exec. > > > > > or > > > > Thanks, > Poonam Thi

Re: Ant should have an ext directory

2005-01-04 Thread galenboyerdev
"Robert r. Sanders" <[EMAIL PROTECTED]> writes: > Yeah, but I don't think this is what the question was about. I understood that. > It would be nice to have a place to put the (global) ant extensions > you are using to keep them separate from the main/default ant > libraries to help wi

Re: Ant should have an ext directory

2005-01-03 Thread galenboyerdev
"Dick, Brian E." <[EMAIL PROTECTED]> writes: > Understood, but I want to create a department-wide ant distribution that > is augmented with common extension libraries. None of the options you > list make this particularly clean and easy to manage. You may want to look into Maven for this

Re: cvs with ant

2005-01-03 Thread galenboyerdev
[EMAIL PROTECTED] writes: > Nicolas OLLIVIER <[EMAIL PROTECTED]> writes: > > > Hi Galen, > > > > If I execute the cvs command under dos window, it's OK: > > "cvs -d :pserver:olliviern:[EMAIL PROTECTED]:/extra/cvs/RAPTOR > > login" > > (where passwd is replaced wit

Re: cvs with ant

2005-01-03 Thread galenboyerdev
Nicolas OLLIVIER <[EMAIL PROTECTED]> writes: > Hi Galen, > > If I execute the cvs command under dos window, it's OK: > "cvs -d :pserver:olliviern:[EMAIL PROTECTED]:/extra/cvs/RAPTOR > login" > (where passwd is replaced with my real password) > => Logging in to > :pserver:[EMAIL

Re: SQL task and the delimiter and 1.6.2.

2005-01-03 Thread galenboyerdev
"Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> writes: > Send the relevant portion of your build.xml. BLUSH, Thank you for the suggestion. In gathering up the relevant pieces of my build.xml I happened upon my error. I'm profusely sorry to the group for having a locally unidentified bug

Re: Weird behaviour from import in Ant 1.6.2

2005-01-03 Thread galenboyerdev
"Rhino" <[EMAIL PROTECTED]> writes: > Just to follow up on this question, I've now managed to make my imports work > by removing ${ant.home} and replacing it with the actual value of ant.home. Well, there ya go for my previous post. > This is my revised build.xml: > >

Re: Weird behaviour from import in Ant 1.6.2

2005-01-03 Thread galenboyerdev
"Rhino" <[EMAIL PROTECTED]> writes: > I am getting some weird behaviour from Ant 1.6.2 in Eclipse 3.0.1. > > A while ago, I created a couple of simple imported tasks to do some basic > work for me. My plan was to import these tasks into each Ant script that I > write. Initiall

Re: Compiling against a shared code area

2005-01-03 Thread galenboyerdev
"McIntosh, Stephen" <[EMAIL PROTECTED]> writes: > Hello. I'm not quite a newbie user of Ant, but I'm not an expert either. > I'm hoping there's a solution to my problem: > > I would like to have Ant compile a set of java files against two separate > source directories, one "l

Re: cvs with ant

2005-01-03 Thread galenboyerdev
Nicolas OLLIVIER <[EMAIL PROTECTED]> writes: > Hi antoine, > > Starting the task cvs_test under eclipse 3.0.0 on windows XP (team plugin > installed) > > > command="login" > output="output.txt" > error="error.txt" > /> > > > I g

Re: Macrodef in import file having same behaviour as targets?

2004-12-30 Thread galenboyerdev
Martin Cooper <[EMAIL PROTECTED]> writes: > You may be running into a bug that has been fixed but is not yet in a > release. Does anybody know if this is true? I'm guessing there is still some work to get ant working the way I was hoping. But, I would at least like to override the macr

Re: SQL task and the delimiter and 1.6.2.

2004-12-30 Thread galenboyerdev
"Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> writes: > In this case your delimiter is "go". That is my issue. I use go as my delimiter but multiple statements still fail. > -Rob Anderson > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: SQL task and the delimiter and 1.6.2.

2004-12-30 Thread galenboyerdev
Okay, I'm having the same type of issue with SQLServer. I've mucked around with different combinations of delimiters but two statements in the same file being executed against SQLServer seem to fail. create view dbo.t1_v1 as select * from t1 go create view dbo.t1_v2 as select * from

Re: Sql task and property

2004-12-30 Thread galenboyerdev
"Jacob, Anil - MWT" <[EMAIL PROTECTED]> writes: > I have an sql task which checks the records in 3 tables. Is there a way > I can set a property if the value in any of the tables is > 0? This > property will be used for other tasks. > > Anil Here is the path I would try: The ant-contrib has a m

Getting access to the Caching of the sql connection?

2004-12-30 Thread galenboyerdev
I would like to create my own task which would use the DatabaseMetaData class. Is there a way I could piggyback on how the sql connection is cached during the execution of the tasks? -- Galen Boyer - To unsubscribe, e-mail: [EM

Re: SQL task and the delimiter and 1.6.2.

2004-12-30 Thread galenboyerdev
"Velagapudi, Murali" <[EMAIL PROTECTED]> writes: > try with delimiter="/" and replace ; with / > it works fine for me on oracle. Arghh!!! No sooner did I send the message than I found it out. But no matter. I truly appreciate the reply. -- Galen Boyer -

SQL task and the delimiter and 1.6.2.

2004-12-30 Thread galenboyerdev
I'm having trouble getting more than one statement withing a file to execute successfully. I'm pretty sure it has to do with the delimiter. I am using 1.6.2. For my sql task, I have the delimiter attribute set to ";" HERE I AM GOING AGAINST ORACLE: <> create or replace view t1_v1 as select

Re: Macrodef in import file having same behaviour as targets?

2004-12-30 Thread galenboyerdev
Martin Cooper <[EMAIL PROTECTED]> writes: > You may be running into a bug that has been fixed but is not yet in a > release. Try putting your macrodefs inside targets, and using the > appropriate depends to ensure those targets are invoked first. I'm okay with the target idea, just wondering if m

Macrodef in import file having same behaviour as targets?

2004-12-30 Thread galenboyerdev
HERE IS MY EXAMPLE IMPORT FILE: HERE IS MY EXAMPLE FILE DOING THE IMPORTING: See how I would like to make a call back to the im

GMANE email to news gateway question.

2004-12-30 Thread galenboyerdev
This list is gatewayed to the gmane.org newserver for reading through a newsreader. But, the gmane.org email response stated that this list has been designated as a private email group. That means I need to be subscribed to respond, which I am. My question is: Does this group have a "nomail" opt

Imported targets being declared "final"?

2004-12-29 Thread galenboyerdev
Is there anyway to accomplish the following, or thoughts for the following down the road? Here is an example of an imported file: And then invocation might say: BASH> ant -f importingfile.xml some-common-target Not allowed to override implementation of