ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathan doklovic <jdoklo...@ibsys.com>
Subject Classpath issue in ant
Date Tue, 27 Nov 2007 18:48:29 GMT
Hi,

I'm trying to use the svn-ant library and I'm having a problem when ivy
tries to load my settings file.

I've put the ivysvnresolver and related jars in my ant/lib directory.

When I try to load settings and do a simple resolve, i get this:

build.xml:12: impossible to configure ivy:settings with given
file: /home/jdoklovic/.ivy2/settings/ivy-settings.xml :java.text.ParseException: failed to
load settings from file:/home/jdoklovic/.ivy2/settings/ivy-settings.xml: problem in config
file: failed to load settings from file:/home/jdoklovic/.ivy2/settings/ivysettings-shared-svn.xml:
impossible to define new type: class not found: fm.last.ivy.plugins.svnresolver.SvnResolver
in [] nor Ivy classloader

here's my build.xml:

<project name="ivy-test" default="default" 
	xmlns:ivy="antlib:org.apache.ivy.ant">
	
	<property file="build.properties" />
	<import file="ivy-targets.ant"/>
	
	<target name="default">
		<ivy:settings id="ivy.instance"
file="/home/jdoklovic/.ivy2/settings/ivy-settings.xml"/>
		<ivy:resolve />
	</target>
</project>

and here's the ivysettings-shared-svn.xml it's complaining about

<ivysettings>
<property name="ivy.shared.svn.root"
value="DOMAIN_REMOVED/ivy/trunk/repo"/>
<typedef name="svn"
classname="fm.last.ivy.plugins.svnresolver.SvnResolver"/>
−
	<resolvers>
−
	<svn name="shared-svn" username="${svn.user.name}"
userpassword="${svn.user.password}">
<ivy pattern="svn
+ssh://${ivy.shared.svn.root}/${ivy.default.ivy.pattern}"/>
<artifact pattern="svn
+ssh://${ivy.shared.svn.root}/${ivy.default.artifact.pattern}"/>
</svn>
</resolvers>
</ivysettings>


any ideas?

Thanks,

- Jonathan

Mime
View raw message