Hi,
Here is example for exploded directory
All the best
-Dinesh
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTE
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
[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
-
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
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
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.
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'
> 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.
--
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
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.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
>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
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
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
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
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
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
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
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
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
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
>
> 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
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
---
> 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
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..
> 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
39 matches
Mail list logo