ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Almas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""
Date Thu, 20 May 2010 06:33:53 GMT

    [ https://issues.apache.org/jira/browse/IVY-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869494#action_12869494
] 

Almas commented on IVY-1192:
----------------------------

<ivysettings> 

 	<properties file="ivy.properties"/>
	<property name="ivy.checksums" value="" />
	<settings defaultResolver="chained" defaultConflictManager="all" /> 
	<!-- cache location where we want to put our dependancy into. This will also be coming
from build.properties -->
	<caches defaultCacheDir="${cacheLocation}" >  
		<cache name="mycache2" />
	</caches>

	<!-- in order to get all revisions without any eviction --> 

	<resolvers>
		<!-- here you define your file in private machine not on the repo (e.g. jPricer.jar or
edgApi.jar)-->
		<!-- This we will use a url nd not local file system.. -->
		<filesystem name="privateFS">
			<ivy pattern="${localRepositoryLocation}/ivy-[module].xml"/>			
		</filesystem>

		<!-- we will remove this. this would be needed only in case of Merlin where we have jpricer
or edgapi and path will come from build.properties-->
		<filesystem name="privateFSa">		
			<artifact pattern="${localRepositoryLocation}/[artifact]-[revision].[ext]" />
		</filesystem>

		<!-- Private repo of ours -->
		<!-- Whatever we define in our shared repo owned by us -->
		<url name="privateRepo"> 
			<artifact pattern="http://subversion.ny.jpmorgan.com/svn/repos/MERLINAD/shared/trunk/ivyRepository/[organisation]/jars/[revision]/[artifact]-[revision].[ext]"/>

		</url>
		
		<!-- Publicly avaiable repo within JP -->
		<url name="jppublic"> 
			<artifact pattern="http://subversion.ny.jpmorgan.com/svn/repos/mavenRepository/trunk/repository/[organisation]/jars/[artifact]-[revision].[ext]"/>

		</url>

		<!-- Specially for SB kit -->
		<url name="cbbRepo"> 
			<artifact pattern="http://subversion.ny.jpmorgan.com/svn/repos/cbbTools/trunk/southbeach/releases/[artifact]-[revision].[ext]"/>

		</url>

		<!-- publicly avaiable repo outside JP (Will never be resolved may be due to firwall
am getting time out so will need to remove) -->
		<url name="public" m2compatible="true">  
			<artifact pattern="http://www.ibiblio.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
		</url>

		 <packager name="repackage" buildRoot="${user.home}/.ivy2/packager/build" checksums=""
cache="mycache2"> 
	            <ivy pattern="http://subversion.ny.jpmorgan.com/svn/repos/MERLINAD/shared/trunk/ivyRepository/[organisation]/[module]/ivy.xml"/>

        	    <artifact pattern="http://subversion.ny.jpmorgan.com/svn/repos/MERLINAD/shared/trunk/ivyRepository/[organisation]/[module]/packager.xml"/>

	        </packager>

		<!-- Order in which the dependency would be resolved -->
		<chain name="chained" returnFirst="true">			
			<resolver ref="privateFS" />
			<resolver ref="privateFSa" />
			<resolver ref="privateRepo"/>
			<resolver ref="jppublic"/>
			<resolver ref="cbbRepo"/>
			<resolver ref="public"/>
		</chain>
	</resolvers> 
	<property name="ivy.checksums" value="" override="true"/>
	<modules> 
	        <module organisation="southbeach" name="southbeach-TW-${operatingSystem}" resolver="repackage"/>

	</modules>

</ivysettings>

I setted the property as "" but has no effect. I also have in package resolver checksums="",
which says dont use any algo or it should have failed by some means saying this algo is null
or something, but it still by default took SHA1 algo.

> Not able to ignore checksum event when i set ivy.checksums variable as ""
> -------------------------------------------------------------------------
>
>                 Key: IVY-1192
>                 URL: https://issues.apache.org/jira/browse/IVY-1192
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>         Environment: I am using windows XP, ant 1.8.0, ivy 2.1.0
>            Reporter: Almas
>
> In my ivysettings.xml, i defined a property called ivy.checksums with value as "" as
per the package resolver in tutorial, but still ivy doesn't ignore the checksum. It still
fails saying "SHA1 checksum verification for XXXXXXX failed!"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message