List Info

Thread: using svnkit in batch files




using svnkit in batch files
user name
2008-03-18 15:53:34
Hi. I am having a small problem, and i was wondering if any
one here has seen
similar behavior or knew how to fix it.

I am using jsvn commands inside my custom batch scrip that
checks out a few
projects from a remote SVN repository and then builds them.
(I suppose i
could do the same with ant script, but i have my reasons).

Here is the problem, after the first jsvn command is
executed from within my
script, it exits the etire script. All other commands that
follow are
ignored. Seems like jsvn.bat is somehow causing a
system.exit. Any ideas?

thnx in advance
Julia
-- 
View this message in context: http://www.nabble.com/using-svnkit-in-
batch-files-tp16130439p16130439.html
Sent from the SVNKit - Users mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


Re: using svnkit in batch files
user name
2008-03-20 18:59:39
Dear Julia,

The following batch file works for me:

call jsvn info .
call jsvn info .
echo test

If I remove "call", then only the first line of
the script is executed. 
I'm not familiar with batch scripts, but I think
"call" is what you have 
to add to make sure that your script calls another one and
then continues.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java
[Sub]Versioning Library!

Julia O wrote:
> Hi. I am having a small problem, and i was wondering if
any one here has seen
> similar behavior or knew how to fix it.
> 
> I am using jsvn commands inside my custom batch scrip
that checks out a few
> projects from a remote SVN repository and then builds
them. (I suppose i
> could do the same with ant script, but i have my
reasons).
> 
> Here is the problem, after the first jsvn command is
executed from within my
> script, it exits the etire script. All other commands
that follow are
> ignored. Seems like jsvn.bat is somehow causing a
system.exit. Any ideas?
> 
> thnx in advance
> Julia

------------------------------------------------------------
---------
To unsubscribe, e-mail: svnkit-users-unsubscribesvnkit.com
For additional commands, e-mail: svnkit-users-helpsvnkit.com


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )