I have a html
<a href="cc.ccs"/><a href="bb.ccs"/><a href="#"/>
I want to replace the non # href so that it become
<a href="my_cc.ccs"/><a href="my_bb.ccs"/><a href="#"/>
print re.sub(
r"href=\"([^#].*)\"",
r"href=\"my_\g<1>",
r"<a href=\"my_cc.ccs\"/><a href=\"my_bb.ccs\"/><a href=\"#\"/>")
Sunday, December 14, 2014
Saturday, December 6, 2014
Open second winedt
http://tex.stackexchange.com/questions/11374/running-multiple-winedt-processes-on-windows-7-x64
Monday, December 1, 2014
Installation of Apache ODE on Windows 7
1. Use latest JRuby
2. Use latest JDK
3. Use Tomcat 6.0
Guideline of installation is here
http://ode.apache.org/developerguide/building-ode.html
---Some meta information for myself, not sure whether it is useful---
2. Use latest JDK
3. Use Tomcat 6.0
Guideline of installation is here
http://ode.apache.org/developerguide/building-ode.html
---Some meta information for myself, not sure whether it is useful---
For rewriting (just rewriting it)
Installing Source of Apache ODE
My
current version jdk 1.7 Update 51
Using
latest junit
Set the
java_home to jdk
Install
buildr
Run
buildr
macos with JDK 1.5
and JDK 1.6) is
buildr 1.4.4, jruby
1.5.1 (ruby 1.8.7 patchlevel 174).
Pasted
from <http://ode.apache.org/developerguide/building-ode.html>
jruby -S gem install buildr -v 1.4.4
jruby -S gem install buildr --verbose
Pasted
from <http://buildr.apache.org/installing.html#windows>
cd c:\
buildr package test=no
Pasted
from <http://ode.apache.org/developerguide/building-ode.html>
buildr test
Pasted
from <http://ode.apache.org/developerguide/building-ode.html>
buildr eclipse
Pasted
from <http://ode.apache.org/developerguide/building-ode.html>
Setup Java Web service Service
- Create Dynamic Web Project
- Configuration -> Axis2
- Create src file
- Create Web Service
- Choose Operator Class
- Choose Apache Axis2
- After all start server
- Right Click Project, Right On Server, Copy the URL
Details can be found here:
Setup Java Web service Client
- Dynamic Project
- Configuration -> Axis2
- New => Web Service Client
- Pass the WSDL, check server
Details step can be found here
Subscribe to:
Posts (Atom)