RE: Deploying application using ANT and WebLogic

2006-02-15 Thread Dinesh Sonsale
For more deployment details http://ant.apache.org/manual/OptionalTasks/serverdeploy.html -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 1:22 PM To: Ant Users List Subject: Re: Deploying application using ANT and WebLogic Shweta Boda

AW: Broken Junit targets

2006-02-15 Thread Jan.Materne
> > > > > > > > > > > > ok, now your test classes should find Ant´s junit task. > > > is taskdef´ed during the core initialisation (oata/taskdefs/default.properties). The implementation class in ANT_HOME\lib\ant-junit.jar and the neede

Re: Broken Junit targets

2006-02-15 Thread Peter Reilly
Jan, I do not think that your second option will work. (taskdefing to a different name) Peter On 2/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > ok, now your test classes should find An

AW: Broken Junit targets

2006-02-15 Thread Jan.Materne
>I do not think that your second option will work. (taskdefing >to a different name) Mmmh, indeed ... Why? (funny classloader stuff I think...) BTW: I wouldnt advice reassigning standard tasks Maybe ing some Jan

Re: Property vs. user property - what's the difference?

2006-02-15 Thread Patrick Martin
Hello, Could you explain the "even more immutable" part of your mail ? Thanks, Patrick M. On 2/15/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Tue, 14 Feb 2006, Ian Pilcher <[EMAIL PROTECTED]> wrote: > > > Can someone explain the difference between a property and a user > > property (or the

RE: Property vs. user property - what's the difference?

2006-02-15 Thread Shweta Bodade
Regards Shweta ArunKumar Bodade, Ness Technologies (India) Ltd, No 33, 17th H Main Road, 6th Block, Koramangla, Banglore - 560 095 Tel(office) : 51961000 -Original Message- From: Patrick Martin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 3:42 PM To: Ant Users List Su

One more Question regarding deployment in ANT and WebLogic

2006-02-15 Thread Shweta Bodade
Hi, I could deploy my web application using Ant in WebLogic server But I get the following description when I deploy it, sorry for so many questions but am a fresher and want to explore Ant for automation. Buildfile: E:\workspace2\Hello\src\build.xml print message: [java]

RE: One more Question regarding deployment in ANT and WebLogic

2006-02-15 Thread Dinesh Sonsale
Your modified XML here. Assume that file name is build.xml Hope this helps ..All the best.. http://localhost:7001"; classpath="E:\bea\weblogic81\server\lib\weblogic.jar"

RE: One more Question regarding deployment in ANT and WebLogic with answer

2006-02-15 Thread Shweta Bodade
Hi dinesh thnx For answer Well the error is resolved and Code should be like component=jade:myserver Where jade is eventually pointing to context root and myserver is the target on which I want to deploy my application. Thnx to show interest in the problem. Regards Shweta -

Re: Property vs. user property - what's the difference?

2006-02-15 Thread Ondřej Světlík
> Hello, > Could you explain the "even more immutable" part of your mail ? > Thanks, > Patrick M. > > On 2/15/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> On Tue, 14 Feb 2006, Ian Pilcher <[EMAIL PROTECTED]> wrote: >> >> > Can someone explain the difference between a property and a user >> > pr

RE: Deploying an application in WebLogic

2006-02-15 Thread Srikrishna_Parthasarathy
Kindly use this.edocs.bea.com has information. -Original Message- From: Shweta Bodade [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 11:41 PM To: Ant Users List Subject: Deploying an application in WebLogic Hello GM all of you... Can anyone guide me o

test for directory existence

2006-02-15 Thread Martin Gainty
Good Morning All- How do you test for the existence of a folder before del or mkdir operation Has something to with

Re: test for directory existence

2006-02-15 Thread Ondřej Světlík
> Good Morning All- > > How do you test for the existence of a folder before del or mkdir > operation > Has something to with > Thanks! > > Martin Gainty > > (mobile) 603-438-5053 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECT

Re: test for directory existence

2006-02-15 Thread Martin Gainty
*Not sure about delete* but I know mkdir will fail if the folder is already in place Thus the reason for checking the folder existence before mkdir operation díky! Martin- - Original Message - From: "Ondřej Světlík" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, February 15,

custom ant task .....successful or not

2006-02-15 Thread Srikrishna_Parthasarathy
How to check if custom ant task ran successful or not. Eager to see your replies. srikrishna

Re: test for directory existence

2006-02-15 Thread Ninju Bohra
You can use the to set a property based upon the existance of a directory...then create a target whose job is to delete the directory and use a if="direxists" attribute to control the whether the target really executes (or merely no-ops) based upon the property being set. Good luck, Ninju

Re: test for directory existence

2006-02-15 Thread Rich Wagner
These prompt for a (relative or absolute) path, and conditionally set a property based on directory existence, and echo a message that reports whether there's a directory at the given path: unless="DIR.present"> Hope this

Re: custom ant task .....successful or not

2006-02-15 Thread Ninju Bohra
Simple way...is a Build Exception thrown? I would assume that if a task (custom or not) is unable to perform the "task" it is designed to do then it is the task's responsibility to communicate that back to the callee...outside of a onerror property (on such) the throwing of a well-informed Bui

Re: test for directory existence

2006-02-15 Thread Ivan \"Rambius\" Ivanov
Hello, and tasks take care of these details: Here, we are trying to delete a non-existing directory. Of course, deletes nothing but it executes successfully. Next, with the second invokation of we want to create a directory that already exists and creates nothing but it ex

Passing sysproperties from a file

2006-02-15 Thread Laurie . Green
Hi, I'm trying to include a set of properties, taken from a file, in the Java task as system properties. I have been fiddling around with various combinations of With in the Java task, but with no joy. Anybody know how to achieve this? I'm sure it must be possible. Thanks, Laurie Visit our

Ant war task

2006-02-15 Thread General Email
Hi, I have a war task and I'm specifing the required libs with: Where classpath is a path id specifing the locations of the required library files. However, Ant does not like this and complains that classpath is not a fileset (which it isn't) but why would this sort of speci

Re: test for directory existence

2006-02-15 Thread Martin Gainty
Thanks Rich! M- - Original Message - From: "Rich Wagner" <[EMAIL PROTECTED]> To: "Ant Users List" ; <[EMAIL PROTECTED]> Sent: Wednesday, February 15, 2006 11:14 AM Subject: Re: test for directory existence > These prompt for a (relative or absolute) path, and conditionally set a > pro

, but for paths...

2006-02-15 Thread Rich Wagner
I was looking through the online Ant manual recently, looking for something like , but which would display either an "open" or "save" dialog, i.e. what you typically see if you choose "File: Open..." or "File: Save..." in an application. Alas, I found no such task, so I instead wrote tasks and

Re: , but for paths...

2006-02-15 Thread Ivan \"Rambius\" Ivanov
Hello, task does not read the user input. Instead it delegates the reading to InputHandlers [1]. In short you should write an extension of InputHandler and create the dialog in it. Then pass the fully qualified name of your input handler to -inputhandler option of ant launching script. I collecte

Re: , but for paths...

2006-02-15 Thread Matt Benson
--- "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: [SNIP] > I collected some more > information on ant's input handlers in an article > called "Extending Ant Input Abilties", which you can > find at [2]. > [SNIP] > [2]http://ant.apache.org/resources.html Ivan, I had never read your entire a

Re: , but for paths...

2006-02-15 Thread Patrick Martin
Hello, You may want to have a look to antform: http://antforms.sourceforge.net/ Regards, Patrick M. On 2/15/06, Rich Wagner <[EMAIL PROTECTED]> wrote: > I was looking through the online Ant manual recently, looking for > something like , but which would display either an "open" or > "save" dial

Re: , but for paths...

2006-02-15 Thread Ivan \"Rambius\" Ivanov
Hello Matt, --- Matt Benson <[EMAIL PROTECTED]> wrote: > Ivan, > I had never read your entire article Oh, you have missed one of the most important knowledge in the world :) > as my own tests > with Thread-based input obscuration yielded > less-than-satisfactory results some years ago; Hm, I mad

RE: AW: Broken Junit targets

2006-02-15 Thread Taemin Cim
Hi All, Thanks so much for your help so far! But the saga continues... I tried Jans approach, as well as some others. Steve suggested the -v option, so I'm going to lay it all out here. There is four parts to this e-mail: Ant's output, build.xml properties.xml build.properties I do feel a l

Re: Property vs. user property - what's the difference?

2006-02-15 Thread Stefan Bodewig
On Wed, 15 Feb 2006, Patrick Martin <[EMAIL PROTECTED]> wrote: > Could you explain the "even more immutable" part of your mail ? Sure. Properties are not immutable at all if you use Ant's Java API. It's just that (almost[1]) all of the built-in Ant tasks refuse to change the value of an existin

Re: test for directory existence

2006-02-15 Thread Stefan Bodewig
On Wed, 15 Feb 2006, Martin Gainty <[EMAIL PROTECTED]> wrote: > *Not sure about delete* it will fail if you tell it to delete something that isn't there - unless you set the quite attribute to true in which case it will simply do nothing. > but I know mkdir will fail if the folder is already in

AW: , but for paths...

2006-02-15 Thread Jan.Materne
>This is great!!! I just take a look at both the code in svn >HEAD and in the docs and I saw it. Well, this means that I >have to revise the article for 1.7. Ask Steve - he is very happy to rewrite the book ;-) Especially if 1.7 is not fixed. So something which is ok for now could be impossibl