| author | amit@thunder |
| Sun, 28 Feb 2010 19:06:56 +0530 | |
| changeset 35 | 9c8a782c7460 |
| parent 34 | 18b34db550ec |
| child 41 | e54725be4df6 |
| permissions | -rw-r--r-- |
|
0
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
1 |
import glob, os, re, sys |
|
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
2 |
import subprocess |
|
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
3 |
import time |
| 34 | 4 |
xsl_loc='/home/hg/repos/SEES-hacks/SEESenv/scripts/' |
|
29
5ce5b22a9a0b
Making changes for an automatic build so writing paths according to server
amit@thunder
parents:
2
diff
changeset
|
5 |
names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook')
|
|
0
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
6 |
for name in names: |
| 34 | 7 |
# command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])
|
|
32
de7ac08f237b
Commiting a simple hook to do the auto build job
amit@thunder
parents:
29
diff
changeset
|
8 |
command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0])
|
|
de7ac08f237b
Commiting a simple hook to do the auto build job
amit@thunder
parents:
29
diff
changeset
|
9 |
|
| 34 | 10 |
print command |
11 |
subprocess.Popen(command,shell=True) |
|
12 |
time.sleep(10) |