[ 
http://jira.codehaus.org/browse/MWEBSTART-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87730
 ] 

Jerome Lacoste commented on MWEBSTART-28:
-----------------------------------------

Thing is that we depend today on the time stamp to be changed. In particular in 
AbstractJnlpMojo#copyFileToDirectoryIfNecessary

So I can check the results, and maybe remove the check that fails, but then we 
will have an issue because not all files will be copied.

So I don't want to change the code except if there's a new mecanism that do not 
depend on time stamps.

Why is it failing in the first place?

Could it be that ? 
http://forum.java.sun.com/thread.jspa?threadID=626865&messageID=3584268

> result of setLastModified not checked after signing jars
> --------------------------------------------------------
>
>                 Key: MWEBSTART-28
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-28
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>         Environment: Solaris 10
>            Reporter: Ken Geis
>             Fix For: 1.0-alpha-2
>
>
> I get the following: 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failure to run the plugin: 
> Embedded error: the number of signed artifacts differ from the number of 
> modified artifacts. Implementation error
> ---------------------
> My jars do not get signed, and it's apparently because the timestamp on them 
> has not been set.  The method signJars(..) calls
>               jarFiles[i].setLastModified( lastModified );
> but it does not check the result of that call.  I'm guessing that on Solaris 
> 10, I am prevented from setting the modified date on a file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to