<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scripting on Shaaf's blog</title><link>https://shaaf.dev/tags/scripting/</link><description>Recent content in Scripting on Shaaf's blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 11 Dec 2008 10:17:46 +0100</lastBuildDate><atom:link href="https://shaaf.dev/tags/scripting/index.xml" rel="self" type="application/rss+xml"/><item><title>Calling wsadmin scripts from ant</title><link>https://shaaf.dev/post/2008-12-11-calling-wsadmin-scripts-from-ant/</link><pubDate>Thu, 11 Dec 2008 10:17:46 +0100</pubDate><guid>https://shaaf.dev/post/2008-12-11-calling-wsadmin-scripts-from-ant/</guid><description>&lt;p>You can simply add the following to a target.
For the following wsadmin should be in your PATH env.&lt;/p>
&lt;pre>&lt;code>&amp;lt; exec dir=&amp;quot;.&amp;quot; executable=&amp;quot;wsadmin.bat&amp;quot; logError=&amp;quot;true&amp;quot; failonerror=&amp;quot;true&amp;quot; output=&amp;quot;wsconfig.out&amp;quot; &amp;gt;
	&amp;lt; arg line=&amp;quot;-lang jython -f ../../createQFactory.py&amp;quot;/ &amp;gt;
&amp;lt; /exec &amp;gt;
&lt;/code>&lt;/pre>
&lt;p>All output will be logged to wsconfig.out&lt;/p></description></item><item><title>wasprofile -create -delete</title><link>https://shaaf.dev/post/2008-10-24-wasprofile-create-delete/</link><pubDate>Fri, 24 Oct 2008 13:38:00 +0200</pubDate><guid>https://shaaf.dev/post/2008-10-24-wasprofile-create-delete/</guid><description>&lt;p>Sometimes you require to do things silently, without any questions asked and &amp;ldquo;Just Do It&amp;rdquo; attitude is required.&lt;/p>
&lt;p>I often find my self with this problem.&lt;/p>
&lt;p>If you want to delete or create a Websphere profile from your command line try the following. (I have tried on RSA only)&lt;/p>
&lt;pre>&lt;code># deleteing a profile
wasprofile -delete -profileName MyProfile
&lt;/code>&lt;/pre>
&lt;p>You should get the following message on deletion&lt;/p>
&lt;pre>&lt;code>INSTCONFSUCCESS: Success: The profile no longer exists.
&lt;/code>&lt;/pre>
&lt;p>Creating a websphere profile&lt;/p></description></item><item><title>SVN - some quick commands during merge</title><link>https://shaaf.dev/post/2008-08-25-svn-some-quick-commands-during-merge/</link><pubDate>Mon, 25 Aug 2008 15:55:54 +0200</pubDate><guid>https://shaaf.dev/post/2008-08-25-svn-some-quick-commands-during-merge/</guid><description>&lt;p>Following are some of the frequently used svn commands during merging and branching. I used to work with tortoise for this but as soon as I learned these, it feels like a more easier space to be in. Although no points taken away from tortoise, it still works pretty good for the gui part, This article is more targeted towards dark screen lovers.&lt;/p>
&lt;p>Create a new branch from trunk:
If you want to create a branch from a specific revision of Trunk following command is handy. It does a remote copy. which means the machine you are on does not need a copy of the whole tree.&lt;/p></description></item><item><title>HowTo create a JDBC provider with wsadmin scripting - Jython</title><link>https://shaaf.dev/post/2008-07-01-howto-create-a-jdbc-provider-with-wsadmin-scripting-jython/</link><pubDate>Tue, 01 Jul 2008 14:21:48 +0200</pubDate><guid>https://shaaf.dev/post/2008-07-01-howto-create-a-jdbc-provider-with-wsadmin-scripting-jython/</guid><description>&lt;p>Last week I wrote a post about creating MQQueues with jacl. However today I am moving to Jython. This is the new scripting languauge supported by the wsadmin. The following write-up helps you create a JDBC provider using Jython in 6 easy steps on the wsadmin console.&lt;/p>
&lt;p>*Pre requirements:
*Following should be known to start using this tutorial.&lt;/p>
&lt;ol>
&lt;li>How to launch the wsadmin with Jython enabled.&lt;/li>
&lt;/ol>
&lt;p>*Where will I find the wsadmin?
*It is typically placed in the bin directory of your server.
In my case its lying in my RAD installation directory as
../Rational/SDP/6.0/runtimes/base_v6/bin&lt;/p></description></item><item><title>Creating an SVN wrap for your build using Ant</title><link>https://shaaf.dev/post/2008-06-30-creating-an-svn-wrap-for-your-build-using-ant/</link><pubDate>Mon, 30 Jun 2008 14:45:32 +0200</pubDate><guid>https://shaaf.dev/post/2008-06-30-creating-an-svn-wrap-for-your-build-using-ant/</guid><description>&lt;p>Today after along break I would jump right on to one of the interesting topics in my den these days.&lt;/p>
&lt;p>One of my friends was lately troubled with doing some SVN stuff like merging etc. And a lot of people will agree with me on their first experiences. :) I think.&lt;/p>
&lt;p>While Automated builds take a lot of our time I thought I could plug in with some automated merging and a few other tasks. Its hard to go over all of that in one post but I will try putting in some basic stuff to get us started.&lt;/p></description></item><item><title>Creating the MQQueues with wsadmin scripting - JACL Part 2</title><link>https://shaaf.dev/post/2008-06-25-creating-the-mqqueues-with-wsadmin-scripting-jacl-part-2/</link><pubDate>Wed, 25 Jun 2008 14:40:47 +0200</pubDate><guid>https://shaaf.dev/post/2008-06-25-creating-the-mqqueues-with-wsadmin-scripting-jacl-part-2/</guid><description>&lt;p>Yesterday I wrote an article about creating and configuring the MQQueueConnectionFactory with the JACL on the wsadmin console. The other half of the article that was left out was to create the queues also.&lt;/p>
&lt;p>The world looks pretty much the same today and my /etc/profile doesnt seemed to have been sourced again. Good we dont need a restart.&lt;/p>
&lt;p>You would find some of the steps to be similar and that is because we are running on the same configs.&lt;/p></description></item><item><title>Creating the MQQueueConnectionFactory with wsadmin scripting - JACL Part 1.</title><link>https://shaaf.dev/post/2008-06-24-websphere-admin-scripting-jacl-part-1/</link><pubDate>Tue, 24 Jun 2008 15:44:31 +0200</pubDate><guid>https://shaaf.dev/post/2008-06-24-websphere-admin-scripting-jacl-part-1/</guid><description>&lt;p>While working my way in some piece of long java code I came across this huge pile of sand that just shattered me off every bit of patience I was left with. The dilemma all of us face every second day. &lt;em>CONFIGURATIONS!!&lt;/em>&lt;/p>
&lt;p>While my sarcastic mind was just saying Congratulations to me instead. And just how the - would you expect me to start configuring now.&lt;/p>
&lt;p>So what exactly is my problem? I have a list of MQs, Factories, datasource, providers etc.. that I need to configure. And every time I create a new profile on my RAD (Rational Application Developer) I have to manually goto the Admin console and configure them.&lt;/p></description></item></channel></rss>