[Show all top banners]

HAWACHAWA
Replies to this thread:

More by HAWACHAWA
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 Svn: Unix/Linux
[VIEWED 6753 TIMES]
SAVE! for ease of future access.
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.
 
Posted on 03-25-13 6:05 PM     [Snapshot: 44]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 It is in svn.
 
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
 
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.
 
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.
 
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

 
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.
 
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?
 
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!
 
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
 
Posted on 03-27-13 4:41 PM     [Snapshot: 486]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 Thank you all your inputs.
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 200 days
Recommended Popular Threads Controvertial Threads
ChatSansar.com Naya Nepal Chat
TPS Re-registration case still pending ..
Toilet paper or water?
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
ढ्याउ गर्दा दसैँको खसी गनाउच
Sajha Poll: Who is your favorite Nepali actress?
Problems of Nepalese students in US
nrn citizenship
TPS EAD auto extended to June 2025 or just TPS?
whats wrong living with your parents ?
Mamta kafle bhatt is still missing
Ajay Kumar Dev sentenced to 378 yrs
Why Americans reverse park?
Now Trump is a convicted criminal .
TPS advance parole Travel document i-131, Class of Admission ?
Tourist Visa - Seeking Suggestions and Guidance
Nepali Passport Renewal
मन भित्र को पत्रै पत्र!
Biden said he will issue new Employment visa for someone with college degree and job offers
To Sajha admin
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters