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

AW: Broken Junit targets

2006-02-15 Thread Jan.Materne
!-- Suggested by Stephen McConnell -- target name=setup-path depends=init path id=project.main.path pathelement location=${ant.jar}/ pathelement location=${build.dir}/classes/ /path path id=project.test.path path refid=project.main.path/ pathelement

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: !-- Suggested by Stephen McConnell -- target name=setup-path depends=init path id=project.main.path pathelement

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 presetdefing some Jan project property environment=env/ property

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 difference

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

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:

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.. ?xml version=1.0? project name=Hello default=all target name=all depends=Deploy-App echo message=Task of weblogic completed / /target target name=Deploy-App

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 property (or the

RE: Deploying an application in WebLogic

2006-02-15 Thread Srikrishna_Parthasarathy
Kindly use this.edocs.bea.com has information. wldeploy action=deploy verbose=true debug=true name=OMSQueueEngine source=c:/cvssource/bosprint/dist/OMSQueueEngine.ear userconfigfile=C:\bea815\weblogic81\wls81.mydomain userkeyfile=C:\bea815\weblogic81\wls.key

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 property ??? Thanks! Martin Gainty (mobile) 603-438-5053 - To unsubscribe, e-mail: [EMAIL PROTECTED] For

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 property ??? Thanks! Martin Gainty (mobile) 603-438-5053 - To unsubscribe, e-mail: [EMAIL

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 user@ant.apache.org Sent: Wednesday,

custom ant task .....successful or not

2006-02-15 Thread Srikrishna_Parthasarathy
How to check if custom ant task ran successful or not. wldeploy action=deploy debug=true name=OMSQueueEngine source=c:/cvssource/bosprint/dist/OMSQueueEngine.ear userconfigfile=C:\bea815\weblogic81\wls81.mydomain userkeyfile=C:\bea815\weblogic81\wls.key

Re: test for directory existence

2006-02-15 Thread Ninju Bohra
You can use the available property=direxists file=path to directory type=dir 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

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: target name=ask_for_path_and_echo_existence depends=exists,does_not_exist/ target

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

Re: test for directory existence

2006-02-15 Thread Ivan \Rambius\ Ivanov
Hello, delete dir=.../ and mkdir dir=... tasks take care of these details: project delete dir=i_do_not_exist/ mkdir dir=i_exist/ mkdir dir=i_exist/ /project Here, we are trying to delete a non-existing directory. Of course, delete deletes nothing but it executes successfully. Next,

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 property file=file.props id=jeff / With sysproperty refid=jeff / in the Java task, but with no joy. Anybody know how to achieve

Ant war task

2006-02-15 Thread General Email
Hi, I have a war task and I'm specifing the required libs with: lib refid=classpath / 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

Re: test for directory existence

2006-02-15 Thread Martin Gainty
available tag works Thanks Rich! M- - Original Message - From: Rich Wagner [EMAIL PROTECTED] To: Ant Users List user@ant.apache.org; [EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 11:14 AM Subject: Re: test for directory existence These prompt for a (relative or absolute) path,

input, but for paths...

2006-02-15 Thread Rich Wagner
I was looking through the online Ant manual recently, looking for something like input, 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: input, but for paths...

2006-02-15 Thread Ivan \Rambius\ Ivanov
Hello, input 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

Re: input, 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 input, but which would display either an open or save dialog,

Re: input, 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 made it

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

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 existing

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: input, 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 impossible