ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ANT Subversion

Post new topic  Reply to topic
 ANT Subversion « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Fri Jun 14, 2013 6:37 am    Post subject: ANT Subversion Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Have to build a WMB ANT deploy using subversion. Before i build I would rather recycle and reuse. Anyone want to share a copy of a deploy script using subversion as a SCM. I searched the net, could not find one but I see alot of posts on the subject in the forum.
Back to top
View user's profile Send private message Send e-mail AIM Address
lancelotlinc
PostPosted: Fri Jun 14, 2013 6:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Code:
    <exec executable="&quot;${env.MQSI_BASEDIR}/bin/${env.MQSI_DEPLOY}&quot;">
   
        <arg value="-n"/>
        <arg value="${env.brokername}"/>
        <arg value="-e"/>
       <arg value="${env.egname}"/>
        <arg value="-a"/>
       <arg value="${env.barname}"/>
        <arg value="-m"/>
        <arg value="-w"/>
       <arg value="${env.waittime}"/>
 
    </exec>

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bobbee
PostPosted: Fri Jun 14, 2013 7:02 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

That appears to be the last step in what i was looking for. Thanks.

I am interested in:
Subversion checkout to a workspace
Build the bar file
Deploy to one or more brokers

I think I have one from a prior client. I may just need the subversion checkout commands/code.
Back to top
View user's profile Send private message Send e-mail AIM Address
lancelotlinc
PostPosted: Fri Jun 14, 2013 7:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

ANT is a pretty simple language, you cannot work this out?

Code:
    <exec executable="&quot;${env.MQSI_BASEDIR}/bin/${env.MQSI_PACKAGEBAR}&quot;">
   
        <arg value="-w"/>
        <arg value="${env.workspace_location}"/>
        <arg value="-a"/>
       <arg value="${env.bar_output_location_1}"/>
        <arg value="-o"/>
        <arg value="${mflow1}"/>
        <arg value="${mflow2}"/>
        <arg value="${mflow3}"/>

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bobbee
PostPosted: Fri Jun 14, 2013 7:22 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Sure, but both you and I both know that there is working models out there of exactly what I am asking for. From a project stand point wouldn't it be easier to reuse what is available than waste time generating the same exact stuff. That my compadre is a big waste of time. I just want sometime that has most of the foundation that I may or may not have to tweek. I am suspecting you don't have it so i will wait to see if someone else offers something up. I post code here whenever I get it. Like the Database cleanup scripts for the FTE DBLogger that EXISTED nowhere. That too was easy to create, if you were a DBA and understood the tables. I just made alot of peoples lives easier. No big deal.

Get it. One hand washes the other. That is what we are here to do. Or at least thought that was what this list was about.

Again, thanks for your insight and help. It is much appreciated.
Back to top
View user's profile Send private message Send e-mail AIM Address
lancelotlinc
PostPosted: Fri Jun 14, 2013 7:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bobbee wrote:
than waste time generating the same exact stuff.


I dunno, took about five minutes to write those two examples. How much time are you talking about?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bobbee
PostPosted: Fri Jun 14, 2013 8:06 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Again, thanks for your insight and help. It is much appreciated.
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Fri Jun 14, 2013 8:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

bobbee wrote:
Again, thanks for your insight and help. It is much appreciated.

you need to make sure you have the command line tool for svn installed.
Commands are prefixed with svn.
Help for the command can be obtained with svn --help.
Should be a breeze from there...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bobbee
PostPosted: Fri Jun 14, 2013 9:22 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Thanks, maybe off the hook, just got a resume of someone to interview for this task
Back to top
View user's profile Send private message Send e-mail AIM Address
bobbee
PostPosted: Fri Jun 14, 2013 9:25 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

poking around I found this snippett for SVN checkout. If the workspace gets build after i customize this for WMB I am 1/2 way there.

Code:
<?xml version="1.0"?>
<project name="SVN" default="build" basedir=".">
   <property name="ANT_HOME" value="/dun/d67loc1/software/apache-ant-1.6.5"/>
   <path id="svnant.classpath">
      <pathelement location="${ANT_HOME}/lib"/>
      <fileset dir="${ANT_HOME}/lib/">
         <include name="**/*.jar"/>
      </fileset>
   </path>
   <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath"/>
   <target name="checkout">
      <echo>svn checkout </echo>
      <svn username="...." password="....">
         <checkout url="https://svm.acnielsen.com/repos/IDOArchitecture/Ascent/Bin/Config/trunk/Production/TIBCO/FavConfig" destPath="SRC" />
      </svn>
   </target>
   <target name="build" depends="checkout">
      <description>Main target</description>
   </target>
</project>
Back to top
View user's profile Send private message Send e-mail AIM Address
smdavies99
PostPosted: Sat Jun 15, 2013 4:37 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Please consider removing real file paths and real URL's from any examples you post.

Some places I've worked in, if I'd posted your last post I would be given the sack pronto for a clear breach of security.


_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
bobbee
PostPosted: Sun Jun 16, 2013 1:42 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Thanks, that post WAS cut/paste directly from a post on a public internet site.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ANT Subversion
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.