You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rajesh Kumar (IN4774)" <ra...@mindtree.com> on 2009/08/06 17:38:20 UTC

Urgent Help with Ant and Svn integration.

Hello everybody,

I am facing some issues with svn and ant integration.

Requirement: Sync SVN source code using ant script in Solaris machine without copying supported jar files in Ant_home.

Limitation: Ant client and svn client is install by default in box but don't have root permission so I can not copy jar files in system folder.

My script:
<path id= "svnant.classpath" >
 <fileset dir= "${basedir}/antlib" >
         <include name= "*.jar" />
     </fileset>
</path>
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="svnant.classpath" />


Where ${basedir}/antlib is having following files.

1.       ganymed.jar

2.       svnClientAdapter.jar

3.       svnant.jar

4.       svnjavahl.jar

<target name="svncheckout">
        <!--svn>
                <update dir="${SVNCheckout}"/>
        </svn-->
<delete dir="${basedir}/SVNCHECKOUT" quiet="true"/>
<svn javahl="${javahl}">
<checkout url="${urlRepos}" destPath="${SVNCheckout}" />
</svn>

I am getting following Error: Cannot find javahl, svnkit nor command line svn client

Solution: Any Solution?????


________________________________
http://www.mindtree.com/email/disclaimer.html

Re: Urgent Help with Ant and Svn integration.

Posted by David Weintraub <qa...@gmail.com>.
Why are you using Ant for this task. Ant isn't a scripting language. It is a
build system. Why not use svnsync? <
http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt>

-- 
David Weintraub
qazwart@gmail.com

Re: Urgent Help with Ant and Svn integration.

Posted by David Weintraub <qa...@gmail.com>.
Why are you using Ant for this task. Ant isn't a scripting language. It is a
build system. Why not use svnsync? <
http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt>

-- 
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2381169

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Urgent Help with Ant and Svn integration.

Posted by Martin Gainty <mg...@hotmail.com>.
does anyone want to tell him to stay out of the system folders?

he needs root access to run aforementioned utilities which he currently does not have
essentially he wants someone here to fix his permission errors in india
(must be one of the reasons for out-sourcing)

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.





> Date: Thu, 6 Aug 2009 11:52:28 -0400
> From: sfloess@nc.rr.com
> To: user@ant.apache.org
> CC: dev-help@ant.apache.org; user-help@ant.apache.org; users@subversion.tigris.org
> Subject: Re: Urgent Help with Ant and Svn integration.
> 
> 
> Curious - you mention "svn client is installed by default in box" - but at 
> the end I see you mention no svn client...
> 
> Somewhat confused...  Frome the command prompt can you find svn manually 
> (as in - is it in your path)???
> 
> On Thu, 6 Aug 2009, Rajesh Kumar  (IN4774) wrote:
> 
> > Hello everybody,
> >
> > I am facing some issues with svn and ant integration.
> >
> > Requirement: Sync SVN source code using ant script in Solaris machine without copying supported jar files in Ant_home.
> >
> > Limitation: Ant client and svn client is install by default in box but don't have root permission so I can not copy jar files in system folder.
> >
> > My script:
> > <path id= "svnant.classpath" >
> > <fileset dir= "${basedir}/antlib" >
> >         <include name= "*.jar" />
> >     </fileset>
> > </path>
> > <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="svnant.classpath" />
> >
> >
> > Where ${basedir}/antlib is having following files.
> >
> > 1.       ganymed.jar
> >
> > 2.       svnClientAdapter.jar
> >
> > 3.       svnant.jar
> >
> > 4.       svnjavahl.jar
> >
> > <target name="svncheckout">
> >        <!--svn>
> >                <update dir="${SVNCheckout}"/>
> >        </svn-->
> > <delete dir="${basedir}/SVNCHECKOUT" quiet="true"/>
> > <svn javahl="${javahl}">
> > <checkout url="${urlRepos}" destPath="${SVNCheckout}" />
> > </svn>
> >
> > I am getting following Error: Cannot find javahl, svnkit nor command line svn client
> >
> > Solution: Any Solution?????
> >
> >
> > ________________________________
> > http://www.mindtree.com/email/disclaimer.html
> >
> 
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-890-8117 (Work)
> 
> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> 
> Architect Keros          http://sourceforge.net/projects/keros
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009

Re: Urgent Help with Ant and Svn integration.

Posted by "Scot P. Floess" <sf...@nc.rr.com>.
Curious - you mention "svn client is installed by default in box" - but at 
the end I see you mention no svn client...

Somewhat confused...  Frome the command prompt can you find svn manually 
(as in - is it in your path)???

On Thu, 6 Aug 2009, Rajesh Kumar  (IN4774) wrote:

> Hello everybody,
>
> I am facing some issues with svn and ant integration.
>
> Requirement: Sync SVN source code using ant script in Solaris machine without copying supported jar files in Ant_home.
>
> Limitation: Ant client and svn client is install by default in box but don't have root permission so I can not copy jar files in system folder.
>
> My script:
> <path id= "svnant.classpath" >
> <fileset dir= "${basedir}/antlib" >
>         <include name= "*.jar" />
>     </fileset>
> </path>
> <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="svnant.classpath" />
>
>
> Where ${basedir}/antlib is having following files.
>
> 1.       ganymed.jar
>
> 2.       svnClientAdapter.jar
>
> 3.       svnant.jar
>
> 4.       svnjavahl.jar
>
> <target name="svncheckout">
>        <!--svn>
>                <update dir="${SVNCheckout}"/>
>        </svn-->
> <delete dir="${basedir}/SVNCHECKOUT" quiet="true"/>
> <svn javahl="${javahl}">
> <checkout url="${urlRepos}" destPath="${SVNCheckout}" />
> </svn>
>
> I am getting following Error: Cannot find javahl, svnkit nor command line svn client
>
> Solution: Any Solution?????
>
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380912

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Urgent Help with Ant and Svn integration.

Posted by "Scot P. Floess" <sf...@nc.rr.com>.
Curious - you mention "svn client is installed by default in box" - but at 
the end I see you mention no svn client...

Somewhat confused...  Frome the command prompt can you find svn manually 
(as in - is it in your path)???

On Thu, 6 Aug 2009, Rajesh Kumar  (IN4774) wrote:

> Hello everybody,
>
> I am facing some issues with svn and ant integration.
>
> Requirement: Sync SVN source code using ant script in Solaris machine without copying supported jar files in Ant_home.
>
> Limitation: Ant client and svn client is install by default in box but don't have root permission so I can not copy jar files in system folder.
>
> My script:
> <path id= "svnant.classpath" >
> <fileset dir= "${basedir}/antlib" >
>         <include name= "*.jar" />
>     </fileset>
> </path>
> <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="svnant.classpath" />
>
>
> Where ${basedir}/antlib is having following files.
>
> 1.       ganymed.jar
>
> 2.       svnClientAdapter.jar
>
> 3.       svnant.jar
>
> 4.       svnjavahl.jar
>
> <target name="svncheckout">
>        <!--svn>
>                <update dir="${SVNCheckout}"/>
>        </svn-->
> <delete dir="${basedir}/SVNCHECKOUT" quiet="true"/>
> <svn javahl="${javahl}">
> <checkout url="${urlRepos}" destPath="${SVNCheckout}" />
> </svn>
>
> I am getting following Error: Cannot find javahl, svnkit nor command line svn client
>
> Solution: Any Solution?????
>
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org