[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNANT on windows

From: John Paul Ashenfelter <maillists_at_transitionpoint.com>
Date: 2004-09-28 21:47:58 CEST

Cédric Chabanois wrote:

>
>> Thanks for the help -- you've been really patient :)
>>
>> Yeah -- doesn't matter if I set javahl to true or false.
>>
>> I built the svnant from the repository -- it labeled itself 0.9.13 if
>> that means anything.
>>
> I made the correction. Please try it (using javahl=false) and tell me
> if it worked.
>
> Cédric

It's a *lot* closer, but not quite. Here's the deal

Now I can run any non-svn target without getting the error (big
improvement over before where *any* target caused the error)
I still get the popup window about a Subversion Client error, but now
it's only *in* the svn task -- ant prints the target name, then throws
the windows error, then continues processing

Here's the task I'm using

<cid:part1.00090407.03060209@transitionpoint.com> <target
name="getsource" depends="init" description="Gets code from VSS">
        <svn javahl="false" username="${scc.username}"
password="${scc.password}">
            <checkout url="${scc.applicationroot}" destPath="${src.dir}"/>
        </svn>
    </target>

(also tried with export)

So a debug trace looks like this
E:\temp\antdemo>ant -d build
Apache Ant version 1.6.1 compiled on February 12 2004
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: D:\java\j2sdk1.4.2_05\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.1
compiled on
 February 12 2004
Setting ro project property: ant.file -> E:\temp\antdemo\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile E:\temp\antdemo\build.xml with URI =
file:///E:/temp/antdemo/b
uild.xml
Setting ro project property: ant.project.name -> FB2004
Adding reference: FB2004
Setting ro project property: ant.file.FB2004 -> E:\temp\antdemo\build.xml
Project base dir set to: E:\temp\antdemo
 +Target:
 +Target: help
 +Target: usage
 +Target: init
 +Target: clean
 +Target: getsource
 +Target: build
 +Target: dist
Setting project property: server -> myServer
Setting project property: app -> myApplication
Setting project property: serverProps -> myServer.properties
Setting project property: appProps -> myApplication.properties
 [property] Loading E:\temp\antdemo\myServer.properties
Setting project property: vss.writable -> true
Setting project property: build.dir -> build
Setting project property: src.dir -> src
Setting project property: dist.dir -> dist
[property] Loading E:\temp\antdemo\myApplication.properties
Setting project property: scc.username -> test
Setting project property: scc.password -> test
Setting project property: scc.javahl -> true
Setting project property: scc.applicationroot ->
http://localhost/svn/sandbox/
Class org.tigris.subversion.svnant.SvnTask loaded from parent loader
(parentFirst)
 +Datatype svn org.tigris.subversion.svnant.SvnTask
Build sequence for target `build' is [init, getsource, build]
Complete build sequence is [init, getsource, build, usage, help, clean,
dist, ]

init:
Setting project property: start.DSTAMP -> 20040928
Setting project property: start.TSTAMP -> 1546
Setting project property: start.TODAY -> September 28 2004

getsource:
*CRASH*
      [svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD http://localhost/svn/sandbox E:\temp\antdemo\src --username
test --password ******* --non-interactive
Checked out revision 1.

build:
     [echo] build target reached

BUILD SUCCESSFUL
Total time: 3 seconds

-- 
Regards,
John Paul Ashenfelter
CTO/Founder Transitionpoint
ashenfelterj@transitionpoint.com
Received on Wed Sep 29 05:47:58 2004

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.