ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Murray (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVYDE-315) using latest.integration fails using ssh resolver with StringIndexOutOfBoundsException
Date Thu, 19 Jul 2012 13:48:35 GMT
Richard Murray created IVYDE-315:
------------------------------------

             Summary: using latest.integration fails using ssh resolver with StringIndexOutOfBoundsException
                 Key: IVYDE-315
                 URL: https://issues.apache.org/jira/browse/IVYDE-315
             Project: IvyDE
          Issue Type: Bug
          Components: workspace resolver
    Affects Versions: 2.2.0.beta1
         Environment: Windows 7 client and Solaris server
            Reporter: Richard Murray


Using a dynamic dependency like 'latest.integration' fails when using an ssh resolver.  A
StringIndexOutOfBoundsException is reported in the console log.  This works using sftp but
always fails with ssh.  See my ivy.xml, ivysettings.xml and console output below.

ivy.xml

<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
    <info organisation="ois" module="TestIvyDe" status="integration"/>

	<dependencies>		
		<dependency org="ois" name="exception" rev="latest.integration" conf="default"/>	

	</dependencies>
		
</ivy-module>

ivysettings.xml

<ivysettings>
	<settings defaultResolver="ois-ivy-repo"/>
	
	<!-- specify the cache location relative to the ivysettings.xml file as the Eclipse IvyDE
plugin has 
	     problems when the same cache is referenced by different workspaces, this ensures a different
cache
	     is referenced in each workspace --> 	     
	<caches defaultCacheDir="${ivy.settings.dir}/.ivy2/cache"/>
	
	<resolvers>			
	 	<ssh name="ois-ivy-repo" user="orchard" userPassword="charlotte" host="junior"> 
			  		
	  		<ivy pattern="/uwm/ois-ivy-repo/trunk/[organisation]/[module]/ivys/ivy-[revision].xml"/>
	  		<artifact pattern="/uwm/ois-ivy-repo/trunk/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
	  		<artifact pattern="/uwm/ois-ivy-repo/trunk/[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"/>
		</ssh>	 			
	</resolvers>
</ivysettings>



IvyDE console output:

problem while listing resources in /uwm/ois-ivy-repo/trunk/ois/exception/ivys with ois-ivy-repo:

	  java.lang.StringIndexOutOfBoundsException String index out of range: -32

	problem while listing resources in /uwm/ois-ivy-repo/trunk/ois/exception/jars with ois-ivy-repo:

	  java.lang.StringIndexOutOfBoundsException String index out of range: -23

	problem while listing resources in /uwm/ois-ivy-repo/trunk/ois/exception/jars with ois-ivy-repo:

	  java.lang.StringIndexOutOfBoundsException String index out of range: -23

		module not found: ois#exception;latest.integration

	==== ois-ivy-repo: tried

	  /uwm/ois-ivy-repo/trunk/ois/exception/ivys/ivy-[revision].xml

	  -- artifact ois#exception;latest.integration!exception.jar:

	  /uwm/ois-ivy-repo/trunk/ois/exception/jars/exception-[revision].jar

	  /uwm/ois-ivy-repo/trunk/ois/exception/jars/exception-[revision].jar

		::::::::::::::::::::::::::::::::::::::::::::::

		::          UNRESOLVED DEPENDENCIES         ::

		::::::::::::::::::::::::::::::::::::::::::::::

		:: ois#exception;latest.integration: not found

		::::::::::::::::::::::::::::::::::::::::::::::

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message