You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Almas (JIRA)" <ji...@apache.org> on 2010/05/19 19:05:53 UTC

[jira] Created: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""

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
             Fix For: 2.1.0


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.


[jira] Resolved: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1192.
--------------------------------

    Resolution: Invalid

Answer from Archie Cobbs on the ivy-user mailing list:

{quote}
This is a little confusing, but the ivy.checksums property is not related to
the checksum that the package resolver verifies. The former is for e.g.
downloaded ivy.xml files and artifacts (using any resolver); the error
message you are seeing however is coming from the package resolver's attempt
to download an archive (e.g., foobar-1.2.3.tar.gz).

You might can fix this probably by doing this: rm
~/.ivy2/packager/cache/XXXXXXXX
{quote}

> 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.


[jira] Updated: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-1192:
-------------------------------

     Original Estimate:     (was: 120h)
    Remaining Estimate:     (was: 120h)
         Fix Version/s:     (was: 2.1.0)

> 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.


[jira] Commented: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869381#action_12869381 ] 

Maarten Coene commented on IVY-1192:
------------------------------------

Could you attach your settings.xml file?

> 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
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> 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.


[jira] Commented: (IVY-1192) Not able to ignore checksum event when i set ivy.checksums variable as ""

Posted by "Almas (JIRA)" <ji...@apache.org>.
    [ 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.