Svn: Unix/Linux - Sajha Mobile
SAJHA MOBILE
Svn: Unix/Linux
Posts 11 · Viewed 5964 · Go to Last Post
HAWACHAWA
· Snapshot 32
Like · Likedby · 0
Did not understand your question. Where do you want to write this shell script.? Where is this  build.xml stored at and why source code and build.xml is not stored in subversion. Be clear, may be I will be able to help you.
newguyintown
· Snapshot 44
Like · Liked by · 0
 It is in svn.
prankster
· Snapshot 58
Like · Liked by · 0
 http://lmgtfy.com/?q=shell+script+to+checkout+from+svn&l=1
newguyintown
· Snapshot 87
Like · Liked by · 0
 Basically, I need to write a shell script from the unix command prompt that would connect to the svn and execute built.xml and trigger the built in ever 1 hour.
HAWACHAWA
· Snapshot 180
Like · Liked by · 0
 I think what you are looking for is to change the post hook script which will checkout the file called build.xml on every commit that is made to the source code. Or of you do not want to make changes to hook script, the other way might be to add a cron job to checkout build.xml for every hour.
And for build are you using some CI tools? If it is, you can just configure it from your build tool UI to do a build on every commit made on subversion. If you are looking to build using ant may be you should look on something like svnant.
newguyintown
· Snapshot 209
Like · Liked by · 0
 Thank you!


 I need to write a script that talks with svn server:
This is the requirement:

1. I have to write a script the would connect with svn and 
2. takes the code from build.xml
ekduiteen
· Snapshot 231
Like · Liked by · 0
 what you are trying to do sounds like a continuous integration kind of scenario..from my experience, build.xml is in the project and when you checkin, the build server checks for a new checkin and builds the project using the steps in build.xml and checks in a tag with a version number if the build succeeds. I haven't done it in Linux/unix environment but I have done it using build.xml, MSBuild, Powershell and Hudson/CC.Net.
newguyintown
· Snapshot 320
Like · Liked by · 0
 Has anyone written a script  on tortoise command prompt that would checkout svn and executes the script that is in there?
newguyintown
· Snapshot 378
Like · Liked by · 0
 Please check your message gothalo dai!
newguyintown
· Snapshot 484
Like · Liked by · 0
 I need to write a script that checks out a file (built.xml) from the svn (i have tortoise installed) and on one of the directories there is built.xml is installed.
And the purpose of this built.xml is to check if the built is not compiled. 
My script has to give an error message if there was something wrong on the built.
I am brand new in svn and windows scripting world. Your guidance, help, suggestions would be highly appreciated!

I am writing this on windows: cmd.exe terminal
newguyintown
· Snapshot 486
Like · Liked by · 0
 Thank you all your inputs.
Please log in to reply to this post

You can also log in using your Facebook
View in Desktop
What people are reading
You might like these other discussions...
· Posts 1 · Viewed 52
· Posts 13 · Viewed 1449 · Likes 1
· Posts 6 · Viewed 610
· Posts 81 · Viewed 20686 · Likes 19
· Posts 1 · Viewed 131
· Posts 1 · Viewed 90
· Posts 1 · Viewed 82
· Posts 1 · Viewed 202
· Posts 1 · Viewed 150
· Posts 1 · Viewed 160



Your Banner Here
Travel Partners
Travel House Nepal