[VIEWED 6753
TIMES]
|
SAVE! for ease of future access.
|
|
|
HAWACHAWA
Please log in to subscribe to HAWACHAWA's postings.
Posted on 03-25-13 5:54
PM [Snapshot: 32]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to newguyintown's postings.
Posted on 03-25-13 6:05
PM [Snapshot: 44]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
prankster
Please log in to subscribe to prankster's postings.
Posted on 03-25-13 6:19
PM [Snapshot: 58]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
http://lmgtfy.com/?q=shell+script+to+checkout+from+svn&l=1
|
|
|
newguyintown
Please log in to subscribe to newguyintown's postings.
Posted on 03-25-13 7:01
PM [Snapshot: 87]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to HAWACHAWA's postings.
Posted on 03-25-13 11:03
PM [Snapshot: 180]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to newguyintown's postings.
Posted on 03-25-13 11:59
PM [Snapshot: 209]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to ekduiteen's postings.
Posted on 03-26-13 12:32
AM [Snapshot: 231]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to newguyintown's postings.
Posted on 03-26-13 11:32
AM [Snapshot: 320]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Has anyone written a script on tortoise command prompt that would checkout svn and executes the script that is in there?
|
|
|
newguyintown
Please log in to subscribe to newguyintown's postings.
Posted on 03-26-13 2:04
PM [Snapshot: 378]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Please check your message gothalo dai!
|
|
|
newguyintown
Please log in to subscribe to newguyintown's postings.
Posted on 03-27-13 4:40
PM [Snapshot: 484]
Reply
[Subscribe]
|
Login in to Rate this Post:
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
Please log in to subscribe to newguyintown's postings.
Posted on 03-27-13 4:41
PM [Snapshot: 486]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Thank you all your inputs.
|
|