RE: Deploying application using ANT and WebLogic

2006-02-14 Thread Dinesh Sonsale
Hi, Here is example for exploded directory All the best -Dinesh -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTE

Re: Deploying application using ANT and WebLogic

2006-02-14 Thread Steve Loughran
Shweta Bodade wrote: Hi: I am trying to use ant to deploy a war file on weblogic 8.1. Can you please help me with some examples. Thanks and Regards, Shweta first, you should allow more than an hour before resending the message. There are not hundreds of people idly waiti

Re: Adding sh script in ant

2006-02-14 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Hi Steve, Can you explain giving the example? 1. pick a an ant startup script of preference 2. rename it. 3. insert the environment setting commands of choice into that renamed script 4. use it -

Deploying application using ANT and WebLogic

2006-02-14 Thread Shweta Bodade
Hi: I am trying to use ant to deploy a war file on weblogic 8.1. Can you please help me with some examples. Thanks and Regards, Shweta

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

2006-02-14 Thread Stefan Bodewig
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 between Project.setProperty and > Project.setUserProperty)? user properties are the properties defined on the command line or as nested ele

Deploying an application in WebLogic

2006-02-14 Thread Shweta Bodade
Hello GM all of you... Can anyone guide me on how to deploy a simple war file in weblogic appserver Thanks in advance. Regards Shweta.

Substituting the value according to the property name

2006-02-14 Thread Srinivas_Chandolu
We are replacing the occurrence of a string with another value by reading a predefined property file as given below. The above file i.e. ems.iap_xml is getting replaced perfectly with the defined values. For example the token $PRODUCT_VERSIONMAJOR$ has been replaced with '1'

RE: Broken Junit targets

2006-02-14 Thread Stephen McConnell
> Same error. Have you invoked ant with the -v option? This will give you sufficient information to establish where ant is loading things from (and info about any references that are dropped because they don't exist. /Steve. --

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

2006-02-14 Thread Ian Pilcher
Can someone explain the difference between a property and a user property (or the difference between Project.setProperty and Project.setUserProperty)? Thanks! -- Ian Pilcher[EMAIL PRO

RE: Broken Junit targets

2006-02-14 Thread Taemin Cim
Hi, I'm still getting the same "Could not create task or type of type: junit" error. I created a separate ant-junit pathelement in the properties.xml file: I then reference both in the build.xml file: Same error. I changed the to value="false" Same error.

Re: problem with compiler settings

2006-02-14 Thread Erik Weibust
Thanks for the help. The only thing I had to change was using classic instead of 1.2 as the value to my compiler attribute. I am bothered that I couldn't get the correct behavior by just setting: erik On 2/14/06, Ondrej Svetlik <[EMAIL PROTECTED]> wrote: > Casey Daniell wrote: > > Try setting

Re: problem with compiler settings

2006-02-14 Thread Ondrej Svetlik
bill/wilandra wrote: I don't think the compiler version has anything to do with the error. It looks like you have presented 2 packages (com.sun.net.ssl and class javax.net.ssl) to the compiler each of which contains the TrustManager class. Since the reference to the TrustManager class in the SSLS

RE: problem with compiler settings

2006-02-14 Thread bill/wilandra
I don't think the compiler version has anything to do with the error. It looks like you have presented 2 packages (com.sun.net.ssl and class javax.net.ssl) to the compiler each of which contains the TrustManager class. Since the reference to the TrustManager class in the SSLSocketThread class is no

Re: problem with compiler settings

2006-02-14 Thread Ondrej Svetlik
Casey Daniell wrote: Try setting just the javac process... OR Hello, I'm afraid the first version won't work. Use the second one, fork must be true, executable set to the javac.exe from your jdk1.2 installation (for example: c:\java\jdk1.2\bin\javac.exe). I think that compiler attr

RE: problem with compiler settings

2006-02-14 Thread Casey Daniell
Try setting just the javac process... OR -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Weibust Sent: Tuesday, February 14, 2006 12:55 PM To: user@ant.apache.org Subject: problem with compiler settings i'm looking for some help with the com

problem with compiler settings

2006-02-14 Thread Erik Weibust
i'm looking for some help with the compiler options. i have a project that requires me to compile code written against java 1.2. my system is running java 5.0. i'm using ant 1.6.5. at the top of my build file i have set build.compiler = javac1.2 per the ant manual. i figured that would do the

Re: How to update build number without screwing up build.properties format

2006-02-14 Thread Ninju Bohra
How about 1) Read the properties in (via ) 2) Generate a property whose value equals the line of text in question (i.e. the value might be 'build.number=100') 3) Using the element (from ant-contrib) to generate the next number into a property 4) Assign a property whose value equals the new lin

How to update build number without screwing up build.properties format

2006-02-14 Thread Matthew Hughes
I have a build.properties file that contains my build.number property. Part of my build is updating that number by one on each build using: type="int" /> It does what it needs to do, but it also reorders all the other properties in the file. I have a lot of properties in the file and gr

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Patrick Martin
I am glad to read that! ;-) On 2/14/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Thanks for that info Patrick! I had kind of worked out the theory of it > in my playing, but nice to have it confirmed. Since my build scripts tend > to be a single target that antcalls all the others, this is

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
Thanks for that info Patrick! I had kind of worked out the theory of it in my playing, but nice to have it confirmed. Since my build scripts tend to be a single target that antcalls all the others, this is valuable info (the fact that I've managed before without it notwithstanding!) I love Antfo

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Patrick Martin
Hello, If you were using antcall to invoke a target containing antform, it is a normal behaviour. Targets invoked with antcall cannot set properties in the calling target: This will print: p = ${p} if you replace b by a macro or if you set depends="b" on target 'a', it will work.

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
The whole script is a little over 1,000 lines, so posting the whole thing wouldn't be too nice :) But, here is a trimmed-down version that should give you the info you want... It should be noted that my Ant scripts are note what one would call "typical"... I do things a little differently, but I

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Ivan \"Rambius\" Ivanov
Hello Frank, --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > I don't know if it's the right way to do it, or if > there is some reason > not to do it this way, but I found a solution... I > took the contents of > the target that executed Antform and put it in a > macrodef... doing that, > th

Re: AW: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
I don't know if it's the right way to do it, or if there is some reason not to do it this way, but I found a solution... I took the contents of the target that executed Antform and put it in a macrodef... doing that, the properties DO get changed as expected. -- Frank W. Zammetti Founder and Chie

AW: AW: Way to refresh properties?

2006-02-14 Thread Jan.Materne
>Now, within that target, the properties are set according to >what I do on the form (and matches the properties file written >at that point). >However, in a later target, the value of a given property is >the value that was in the file BEFORE Antform rewrote it, >i.e., it is the value is star

Re: AW: Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
That didn't work for me... maybe I should explain in more detail... I have an external properties file. This file has some properties that all either have the value true or false. In a target I use Antform to set these properties. Antform rewrites that properties file with the appropriate value

AW: Way to refresh properties?

2006-02-14 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 14. Februar 2006 17:54 >An: user@ant.apache.org >Betreff: Way to refresh properties? > >Is there a way to refresh properties stored in an external >properties file? > >I'm playing wit

Way to refresh properties?

2006-02-14 Thread Frank W. Zammetti
Is there a way to refresh properties stored in an external properties file? I'm playing with Antform, and the situation I have is that when I set some properties with it, they don't get changed right away apparently... so, one way to solve it would be if I could tell Ant to reload the properties f

Re: Way to examine a property value?

2006-02-14 Thread Jeffrey E Care
Are you talking about antcontrib? -- Jeffrey E. (Jeff) Care ([EMAIL PROTECTED]) IBM WebSphere Application Server Development "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 02/14/2006 10:34:21 AM: > Maybe someone can refresh my memory... I seem to remember a contrib to Ant > that allows you to

Re: Way to examine a property value?

2006-02-14 Thread Frank W. Zammetti
Ok, slap me :) And I found ant-contrib, which is what I was thinking of. I think I'm all set. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 10:39 am, Matt Be

Re: Way to examine a property value?

2006-02-14 Thread Matt Benson
uh, condition? -Matt --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Maybe someone can refresh my memory... I seem to > remember a contrib to Ant > that allows you to check the value of a property > rather than just checking > if a property has been defined or not... a *real* if > statemen

Way to examine a property value?

2006-02-14 Thread Frank W. Zammetti
Maybe someone can refresh my memory... I seem to remember a contrib to Ant that allows you to check the value of a property rather than just checking if a property has been defined or not... a *real* if statement! Can anyone point me in the right direction? Thanks! -- Frank W. Zammetti Founder

AW: A not good example in ant manual

2006-02-14 Thread Jan.Materne
Fixed the example. Thanks for the hint. Jan >-Ursprüngliche Nachricht- >Von: 肖华 [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 8. Februar 2006 02:53 >An: user@ant.apache.org >Betreff: A not good example in ant manual > > > In the "apache-ant-1.6.2\docs\manual\CoreTasks\ant.html

AW: Delima to use or not to use build.xml

2006-02-14 Thread Jan.Materne
Have a look at http://marc.theaimsgroup.com/?l=ant-user&m=112962452208546&w=2 Jan >-Ursprüngliche Nachricht- >Von: Karthik [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 14. Februar 2006 12:01 >An: Ant Users List >Betreff: Delima to use or not to use build.xml > >Hi Form > > > How to w

RE: Delima to use or not to use build.xml

2006-02-14 Thread Stephen McConnell
> > How to write the equivalent of the "FTP_UPLOAD" Task by > using ANT API > ("org.apache.tools.ant.*") Spend some time reading everthing here at http://ant.apache.org/manual/index.html and in particular: http://ant.apache.org/ant_in_anger.html. > Mr McConell the site http://www.dpml.net/d

Delima to use or not to use build.xml

2006-02-14 Thread Karthik
Hi Form How to write the equivalent of the "FTP_UPLOAD" Task by using ANT API ("org.apache.tools.ant.*") Mr McConell the site http://www.dpml.net/depot u reffred is probably down,and timing out on my FireFox Browser. Please somebody help he. with regards Karthik ---

Substituting the value according to the property name

2006-02-14 Thread Srinivas_Chandolu
> We are replacing the occurrence of a string with another value by > reading a predefined property file as given below. > > > > > > > value="${ems.versionmajor}"/> > > > The above file i.e. ems.iap_xml is getting replaced perfectly with the > defined values. > > For example

Pritesh can you help me here.

2006-02-14 Thread Shweta Bodade
I have a script which deploys an application in Tomcat in Windows I run it through eclipse. My First question is Can I run this script from the same eclipse to deploy an aplication on Unix and Tomcat installed on Unix or I need to use command prompt. Please reply Waiting for your reply..

RE: Delima to use or not to use build.xml

2006-02-14 Thread Stephen McConnell
> 1)How to set the Target name for ="TgtName" > > "" > >in property Using ANT API ("org.apache.tools.ant.*") http://api.dpml.net/ant/1.6.5/org/apache/tools/ant/Project.html#setProperty( java.lang.String,%20java.lang.String) > 2)How to execute the argumented target using ANT API's. T