Path: blob/master/test/functional/cmdLineTests/URLClassLoaderTests/JarExt/buildVerify.sh
12502 views
#!/bin/sh12#3# Copyright (c) 2001, 2018 IBM Corp. and others4#5# This program and the accompanying materials are made available under6# the terms of the Eclipse Public License 2.0 which accompanies this7# distribution and is available at https://www.eclipse.org/legal/epl-2.0/8# or the Apache License, Version 2.0 which accompanies this distribution and9# is available at https://www.apache.org/licenses/LICENSE-2.0.10#11# This Source Code may also be made available under the following12# Secondary Licenses when the conditions for such availability set13# forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14# General Public License, version 2 with the GNU Classpath15# Exception [1] and GNU General Public License, version 2 with the16# OpenJDK Assembly Exception [2].17#18# [1] https://www.gnu.org/software/classpath/license.html19# [2] http://openjdk.java.net/legal/assembly-exception.html20#21# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22#2324# ensure the new jar files are not created in the same second as the originals,25# otherwise the shared cache will not be able to determine the jar files have26# been modified27sleep 228cd JarExt29rm *.jar30$1/javac VerifyClasses/jnurlcldr/shared/jarexttests/*.java31cd VerifyClasses32$1/jar -cvf ../A.jar jnurlcldr/shared/jarexttests/A*.class33$1/jar -cvfm ../B.jar ../Manifests/B/manifest.mf jnurlcldr/shared/jarexttests/B*.class34$1/jar -cvf ../C.jar jnurlcldr/shared/jarexttests/C*.class35$1/jar -cvf ../D.jar jnurlcldr/shared/jarexttests/D*.class36$1/jar -cvfm ../E.jar ../Manifests/E/manifest.mf jnurlcldr/shared/jarexttests/E_*.class37$1/jar -cvf ../E1.jar jnurlcldr/shared/jarexttests/E1_*.class38$1/jar -cvfm ../F.jar ../Manifests/F/manifest.mf jnurlcldr/shared/jarexttests/F_*.class39$1/jar -cvf ../F1.jar jnurlcldr/shared/jarexttests/F1_*.class40$1/jar -cvf ../G.jar jnurlcldr/shared/jarexttests/G_*.class41$1/jar -cvf ../G1.jar jnurlcldr/shared/jarexttests/G1_*.class42$1/jar -cvfm ../H.jar ../Manifests/H/manifest.mf jnurlcldr/shared/jarexttests/H_*.class43$1/jar -cvf ../H1.jar jnurlcldr/shared/jarexttests/H1_*.class44cd ..45ls *.jar46cd ..4748