During the deployment of Xpert.ivy projects on the server I have validation errors that Java source files are younger than the corresponding Java class files. But this is not true, the classes were compiled correctly and must therefore be younger than the .java files. What's wrong?

asked 27.09.2012 at 03:38

MichaelD%C3%A4nzer's gravatar image

MichaelDänzer ♦
(suspended)
accept rate: 86%


If you have one or more of the errors below during the validation phase of the deployment wizard in the Xpert.ivy Server, then you most possibly have extracted your Xpert.ivy project with a packer tool that has one flaw.

During validation the Xpert.ivy Server performs a check to ensure that the compiled Java classes are younger than the corresponding Java source files to make sure that the compiled classes are on par with the most current version of the source file.

Unfortunately, some packer tools like WinZip or the Windows internal packer do not respect the original file timestamps but overwrite them with the timestamp of the extraction. And then it may happen that Java source files are extracted later than the corresponding classes leading to the error. Please check out your favorite packer for correct handling of timestamps or use a packer that respects the modification timestamps like 7-zip.

link

answered 04.11.2013 at 09:54

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: 27.09.2012 at 03:38

Seen: 2,004 times

Last updated: 27.09.2012 at 03:38