ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Vishnoi <vvish...@bea.com>
Subject Re: Ant Task for Creating weblogic domain
Date Mon, 01 May 2006 15:32:53 GMT
Look at http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html

--V

Petar Tahchiev wrote:

> On 28/04/06, Anderson, Rob (Global Trade) <Rob.Anderson@nike.com> wrote:
>
>> If there is such a task, it is not part of the standard Ant
>> distribution. Check with BEA or search the weblogic documentation.
>>
>> -Rob A
>>
>> > -----Original Message-----
>> > From: Row M, Vishal [mailto:vishal-m.row@hp.com]
>> > Sent: Thursday, April 27, 2006 11:17 PM
>> > To: Ant Users List
>> > Subject: Ant Task for Creating weblogic domain
>> >
>> >
>> > Hi All
>> >
>> >  I have seen the ant task for modifying the domain.
>> >  Is there any ant task which can create weblogic domain and server ?
>> >
>> >
>> > Thanks and Regards
>> > Vishal
>> >
>> > -----Original Message-----
>> > From: Ninju Bohra [mailto:ninju_bohra@yahoo.com]
>> > Sent: Friday, April 28, 2006 10:00 AM
>> > To: Ant Users List
>> > Subject: Re: Converting a shell script part to ant target
>> >
>> > Interesting challenge,
>> >
>> > Try looking at the <fileset> type with a <contains> selector
>> > to restrict the files to those that contain your specified text.
>> > You can follow that with a <pathconvert> with a setonempty
>> > attribute to control the defining a property only if any
>> > files containing your desired text is found Then call a
>> > target to do the emailing and use an if attribute to check if
>> > the attribute is set.
>> >
>> > Good Luck,
>> >
>> > Ninju
>> >
>> >
>> >
>> > >> -----Original Message-----
>> > >> From: pritesh.saharey@wipro.com [mailto:pritesh.saharey@wipro.com]
>> > >> Sent: Thursday, April 27, 2006 2:48 AM
>> > >> To: user@ant.apache.org
>> > >> Subject: Converting a shell script part to ant target
>> > >>
>> > >>
>> > >> Hi,
>> > >>     Can anyone help me in converting this piece of code from shell
>> > >> script to an ant target?
>> > >>
>> > >>
>> > >> //--------------------------------------------
>> > >>
>> > >>
>> > >> # 12 : Check errors at build.msg and the logs
>> > >>
>> > >>
>> > >> echo "Check there any errors "
>> > >> cd $IMF/build
>> > >> rm -rf /usr/local/error.txt
>> > >> #grep " Error" *.log *.msg > /usr/local/error.txt grep "
>> > >> Failed" *.log *.msg >> /usr/local/error.txt
>> > >>
>> > >>
>> > >> count=`cat /usr/local/error.txt|wc -w` echo $count
>> > >>
>> > >>
>> > >> if [ ``$count'' = ''0'' ]
>> > >> then
>> > >> status=Pass
>> > >> else
>> > >> status=Fail
>> > >> fi
>> > >>
>> > >>
>> > >> sleep 2
>> > >>
>> > >>
>> > >> # 13 : Create mail file
>> > >> echo "Runnning create mail script"
>> > >> echo "To:$maillist" > /usr/local/mail.txt echo
>> > "Subject:Build Summary
>> > >> :: $product/$VER-$RELN/$status"
>> > >>
>> > >>>> /usr/local/mail.txt
>> > >>>>
>> > >> //----------------------------------------------
>> > >>
>> > >>
>> > >> I will be thankful to you.
>> > >>
>> > >>
>> > >> Regards
>> > >> Pritesh
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> +91 80 30298143(O)
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >> The information contained in this electronic message and any
>> > >> attachments to this message are intended for the exclusive
>> > use of the
>> > >> addressee(s) and may contain proprietary, confidential or
>> > privileged
>> > >> information. If you are not the intended recipient, you should not
>> > >> disseminate, distribute or copy this e-mail. Please notify
>> > the sender
>> > >> immediately and destroy all copies of this message and any
>> > >> attachments.
>> > >>
>> > >>
>> > >> WARNING: Computer viruses can be transmitted via email.
>> > The recipient
>> > >> should check this email and any attachments for the presence of
>> > >> viruses. The company accepts no liability for any damage caused by
>> > >> any virus transmitted by this email.
>> > >>
>> > >>
>> > >> www.wipro.com
>> > >>
>> > >>
>> > >
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>> > additional
>> > > commands, e-mail: user-help@ant.apache.org
>> > >
>> > >
>> > >
>> >
>> > --
>> > Scot P. Floess
>> > 27 Lake Royale
>> > Louisburg, NC  27549
>> >
>> > 252-478-8087 (Home)
>> > 919-754-4592 (Work)
>> >
>> > Chief Architect JPlate  http://sourceforge.net/projects/jplate
>> > Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>> >
>> >
>> >
>> > The information contained in this electronic message and any
>> > attachments to this message are intended for the exclusive
>> > use of the addressee(s) and may contain proprietary,
>> > confidential or privileged information. If you are not the
>> > intended recipient, you should not disseminate, distribute or
>> > copy this e-mail. Please notify the sender immediately and
>> > destroy all copies of this message and any attachments.
>> >
>> > WARNING: Computer viruses can be transmitted via email. The
>> > recipient should check this email and any attachments for the
>> > presence of viruses.
>> > The company accepts no liability for any damage caused by any
>> > virus transmitted by this email.
>> >
>> > www.wipro.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>> > additional commands, e-mail: user-help@ant.apache.org
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>> > additional commands, e-mail: user-help@ant.apache.org
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> http://e-docs.bea.com/wls/docs81/admin_ref/ant_tasks.html
> http://e-docs.bea.com/wls/docs92/programming/ant_tasks.html#wp1023068
>
> -- 
> Regards, Petar!
> Karlovo, Bulgaria.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message