My Leisure Time
This is just do some fake publication about my leisure time. This is really not the way I always spend it. But it is better I m doing some good thing at lesure which are very little, simple and something new.
Thinking of formatting the laptop. So backing up things. I hope this should be placed somewhere more accessible. 20 test cases for the WSDL2C code. From this I should filter out the different cases, otherwise there would be lot duplicated tests. Anyway hope this will be usefull to someone.
- WSDL2C Test cases (Tared and Bunziped) (updated on 1st Dec 2007 from home;))
Another Leisure time work, after not having a good weekend. I applied for an ADSL connection two weeks ago. When I contact Mr. telecoms I heard the ADSL connection is already setup. But our telephone line is not wokring. When our number is dialed some others phone start to ring.. So I have to wait for another weekend to surf Internet from home.
Anyway I watched Hereos season1 and start to write a little script. After you generated ADB supported code from Axis2 WSDL2C tools you can run this script to generate a demo stub and skel. Hope this works fine for all the WSDLs.
- Demo Generation Script (Ruby) (updated on 1st Dec 2007 from home;))
This is actually the first leisure session I had after I had my job on WSO2. First two weeks I was working on PHP, so I didnt have many time to watch out ADB Codegeneration. But last week I got little break from that work. So I did little fixes to the the code generation templates.
Anyway Below is not about changes to the templates. Its about a testing script that may worthy if you regulary change template and want to make sure that changes pass all the test cases. It will simply:
- Generate the client side code and check its generates and compiles fine
- Generate the server side code and check its generates and compiles fine
- Generate the java client side code and check its generates and compiles fine
- Run Simple Axis2 Server
- Deploy services and run both the Java and C clients
So try it out. You need tcpmon.sh to run Apache TCPMonitor (optionally), WSDL2C.sh to generate c code, WSDL2Java.sh to generate java code. (These are mostly about loadling classpath before running)
You may need to change the supporting scripts according to your configurations.
- Testing Script - codegent_test.sh
- My WSDL2C Codegen script
- My WSDL2Java codegen script
- My TCPMon script
I came home after spending a little time (just 4 days) at uni. I am feeling really not well with the hostel life in many ways. So I am going home as much as possible.
See ya at next leisure Time.
Today I m having a little leisure time, just after submmiting our Final year project Design Document. There we did lot of thinking of the project. So what remain is just to implement what we really imagined.
So the assignment in this leasure time is to write a little c program to match regular expression. There is only . and * can be used as wild card characters.
- .*f.* matches any word with f
- f*g*s* matches any zero or more 'f' followeded by zero or more 'g' followed by zero or more 's'
My algorithm is a very short, less effiecent one. It do lazy pattern matching. Seems it is works correctly. I try feeding several sample input.
Happy work on first up!
Well, Right now this is a wrong place to come. I can't remember the last time I had a leisure time