forked from luposdate/luposdate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signGuiJar.bat
28 lines (27 loc) · 1.88 KB
/
signGuiJar.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@REM
@REM Copyright (c) 2013, Institute of Information Systems (Sven Groppe and contributors of LUPOSDATE), University of Luebeck
@REM
@REM All rights reserved.
@REM
@REM Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
@REM following conditions are met:
@REM
@REM - Redistributions of source code must retain the above copyright notice, this list of conditions and the following
@REM disclaimer.
@REM - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
@REM following disclaimer in the documentation and/or other materials provided with the distribution.
@REM - Neither the name of the University of Luebeck nor the names of its contributors may be used to endorse or promote
@REM products derived from this software without specific prior written permission.
@REM
@REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
@REM INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@REM ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
@REM INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
@REM GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
@REM LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
@REM OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@REM
keytool -genkey -alias MakeJava -dname "cn=LUPOSDATE, c=de"
keytool -selfcert -alias MakeJava -dname "cn=LUPOSDATE, c=de"
jarsigner distributionGui/target/lupos.jar MakeJava
jarsigner -verify -verbose distributionGui/target/lupos.jar