Hi Dave,

On Tue, Jun 8, 2010 at 1:00 PM, Jesse Farinacci <jie...@gmail.com> wrote:
>
>> Does anyone have a tool/script that allows on automated artifact comparison
>> on the level of files?
>
> $ jar tf m1.jar | cut -c 59- > m1.manifest && \
>   jar tf m2.jar | cut -c 59- > m2.manifest && \
>   diff -Naur m1.manifest m2.manifest || echo "No changes."

Sorry, I switched commands and didn't double check first! Tsk-tsk,
Jesse. The above won't work, try instead:

$ jar tf m1.jar | sort > m1.manifest && \
   jar tf m2.jar | sort > m2.manifest && \
   diff -Naur m1.manifest m2.manifest || echo "No changes."

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to