Grokbase Groups Ant user August 2009
FAQ
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

Search Discussions

  • Scot P. Floess at Aug 6, 2009 at 3:52 pm
    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
  • Martin Gainty at Aug 6, 2009 at 4:54 pm
    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
  • David Weintraub at Aug 7, 2009 at 4:54 am
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriesant
postedAug 6, '09 at 3:38p
activeAug 7, '09 at 4:54a
posts4
users4
websiteant.apache.org

People

Translate

site design / logo © 2022 Grokbase