mirror of
https://github.com/Wisser/Jailer.git
synced 2026-05-23 02:36:06 -05:00
removed
This commit is contained in:
@@ -1,105 +0,0 @@
|
||||
!define Version "%VERSION%"
|
||||
|
||||
; The name of the installer
|
||||
Name "Jailer ${Version}"
|
||||
|
||||
; The file to write
|
||||
OutFile "Jailer-Install-${Version}.exe"
|
||||
|
||||
; The default installation directory
|
||||
InstallDir $PROGRAMFILES\Jailer
|
||||
|
||||
; Registry key to check for directory (so if you install again, it will
|
||||
; overwrite the old one automatically)
|
||||
InstallDirRegKey HKLM "Software\Jailer" "Install_Dir"
|
||||
|
||||
; Request application privileges for Windows Vista
|
||||
RequestExecutionLevel admin
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Pages
|
||||
|
||||
Page components
|
||||
Page directory
|
||||
Page instfiles
|
||||
|
||||
UninstPage uninstConfirm
|
||||
UninstPage instfiles
|
||||
|
||||
Icon "..\src\main\gui\net\sf\jailer\ui\resource\Jailer.ico"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; The stuff to install
|
||||
Section "Jailer"
|
||||
|
||||
SectionIn RO
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Put file there
|
||||
|
||||
File /r "C:\tmp\jailer\*.*"
|
||||
|
||||
FileOpen $4 ".singleuser" w
|
||||
FileWrite $4 "1"
|
||||
FileClose $4
|
||||
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKLM SOFTWARE\Jailer "Install_Dir" "$INSTDIR"
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Jailer" "DisplayName" "Jailer"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Jailer" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Jailer" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Jailer" "NoRepair" 1
|
||||
WriteUninstaller "uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
; Optional section (can be disabled by the user)
|
||||
Section "Start Menu Shortcuts"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\Jailer"
|
||||
Delete "$SMPROGRAMS\Jailer\*.*"
|
||||
CreateShortcut "$SMPROGRAMS\Jailer\Jailer ${Version} .lnk" "$INSTDIR\Jailer.exe"
|
||||
CreateShortcut "$SMPROGRAMS\Jailer\Jailer ${Version} Data Browser.lnk" "$INSTDIR\JailerDataBrowser.exe"
|
||||
; CreateShortcut "$SMPROGRAMS\Jailer\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop Shortcuts"
|
||||
|
||||
CreateShortcut "$DESKTOP\Jailer.lnk" "$INSTDIR\Jailer.exe"
|
||||
CreateShortcut "$DESKTOP\Jailer Data Browser.lnk" "$INSTDIR\JailerDataBrowser.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Uninstaller
|
||||
|
||||
Section "Uninstall"
|
||||
|
||||
; Remove registry keys
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Jailer"
|
||||
DeleteRegKey HKLM SOFTWARE\Jailer
|
||||
|
||||
; Remove files and uninstaller
|
||||
; Delete $INSTDIR\example2.nsi
|
||||
; Delete $INSTDIR\uninstall.exe
|
||||
|
||||
; Remove shortcuts, if any
|
||||
Delete "$SMPROGRAMS\Jailer\*.*"
|
||||
Delete "$INSTDIR\*.*"
|
||||
|
||||
Delete "$DESKTOP\Jailer ${Version}.lnk"
|
||||
Delete "$DESKTOP\Jailer ${Version} Data Browser.lnk"
|
||||
|
||||
; Remove directories used
|
||||
RMDir "$SMPROGRAMS\Jailer"
|
||||
RMDir /r "$INSTDIR"
|
||||
|
||||
SectionEnd
|
||||
@@ -1,6 +0,0 @@
|
||||
JAVA_HOME="C:\Program Files\Java\jdk1.8.0_202"
|
||||
export JAVA_HOME
|
||||
|
||||
cd git/Jailer/admin
|
||||
dos2unix *.sh
|
||||
sh jbuild.sh $1
|
||||
@@ -1,102 +0,0 @@
|
||||
!define Version "%VERSION%"
|
||||
|
||||
; The name of the installer
|
||||
Name "DBeauty ${Version}"
|
||||
|
||||
; The file to write
|
||||
OutFile "DBeauty-Install-${Version}.exe"
|
||||
|
||||
; The default installation directory
|
||||
InstallDir $PROGRAMFILES\DBeauty
|
||||
|
||||
; Registry key to check for directory (so if you install again, it will
|
||||
; overwrite the old one automatically)
|
||||
InstallDirRegKey HKLM "Software\DBeauty" "Install_Dir"
|
||||
|
||||
; Request application privileges for Windows Vista
|
||||
RequestExecutionLevel admin
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Pages
|
||||
|
||||
Page components
|
||||
Page directory
|
||||
Page instfiles
|
||||
|
||||
UninstPage uninstConfirm
|
||||
UninstPage instfiles
|
||||
|
||||
Icon "..\src\main\gui\net\sf\jailer\ui\resource\Jailer.ico"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; The stuff to install
|
||||
Section "DBeauty"
|
||||
|
||||
SectionIn RO
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Put file there
|
||||
|
||||
File /r "C:\tmp\dbeauty\*.*"
|
||||
|
||||
FileOpen $4 ".singleuser" w
|
||||
FileWrite $4 "1"
|
||||
FileClose $4
|
||||
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKLM SOFTWARE\DBeauty "Install_Dir" "$INSTDIR"
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "DisplayName" "DBeauty"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "NoRepair" 1
|
||||
WriteUninstaller "uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
; Optional section (can be disabled by the user)
|
||||
Section "Start Menu Shortcuts"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\DBeauty"
|
||||
Delete "$SMPROGRAMS\DBeauty\*.*"
|
||||
CreateShortcut "$SMPROGRAMS\DBeauty\DBeauty ${Version} .lnk" "$INSTDIR\dbeauty.exe"
|
||||
; CreateShortcut "$SMPROGRAMS\DBeauty\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop Shortcuts"
|
||||
|
||||
CreateShortcut "$DESKTOP\DBeauty.lnk" "$INSTDIR\dbeauty.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Uninstaller
|
||||
|
||||
Section "Uninstall"
|
||||
|
||||
; Remove registry keys
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty"
|
||||
DeleteRegKey HKLM SOFTWARE\DBeauty
|
||||
|
||||
; Remove files and uninstaller
|
||||
; Delete $INSTDIR\example2.nsi
|
||||
; Delete $INSTDIR\uninstall.exe
|
||||
|
||||
; Remove shortcuts, if any
|
||||
Delete "$SMPROGRAMS\DBeauty\*.*"
|
||||
Delete "$INSTDIR\*.*"
|
||||
|
||||
Delete "$DESKTOP\DBeauty ${Version}.lnk"
|
||||
|
||||
; Remove directories used
|
||||
RMDir "$SMPROGRAMS\DBeauty"
|
||||
RMDir /r "$INSTDIR"
|
||||
|
||||
SectionEnd
|
||||
@@ -1,53 +0,0 @@
|
||||
echo $JAVA_HOME
|
||||
|
||||
echo "$JAVA_HOME/bin/java" -version
|
||||
|
||||
VER=`"$JAVA_HOME/bin/java" -version 2>&1 | grep "java version" | awk '{print $3}' | tr -d \" | awk '{split($0, array, ".")} END{print array[2]}'`
|
||||
echo $VER
|
||||
if [ $VER = 8 ]; then
|
||||
echo "Java version is 8"
|
||||
else
|
||||
echo "Java version not 8"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
cd
|
||||
cd git/Jailer
|
||||
git pull
|
||||
sh admin/release.sh $1
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
rm -r _$1
|
||||
mkdir _$1
|
||||
cd _$1
|
||||
unzip ../jailer_$1.zip
|
||||
cd jailer/
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$1
|
||||
cd jailer/
|
||||
head releasenotes.txt
|
||||
LIB=lib
|
||||
CP="$CP;config"
|
||||
|
||||
# the libraries
|
||||
CP="$CP;$LIB/junit.jar"
|
||||
CP="$CP;$LIB/log4j.jar"
|
||||
CP="$CP;$LIB/args4j.jar"
|
||||
CP="$CP;$LIB/prefuse.jar"
|
||||
CP="$CP;$LIB/sdoc-0.5.0-beta.jar"
|
||||
CP="$CP;$LIB/activation-1.0.2.jar"
|
||||
CP="$CP;$LIB/jaxb-core-2.3.0-b170127.1453.jar"
|
||||
CP="$CP;$LIB/jaxb-impl-2.3.0-b170127.1453.jar"
|
||||
CP="$CP;$LIB/jaxb-api-2.3.0-b170201.1204.jar"
|
||||
CP="$CP;$LIB/jsqlparser-1.3.jar"
|
||||
CP="$CP;$LIB/tablefilter-swing-5.3.1.jar"
|
||||
CP="$CP;jailer.jar"
|
||||
|
||||
echo $CP
|
||||
|
||||
"$JAVA_HOME/bin/java" -Xmx1200M -cp $CP net.sf.jailer.ui.ExtractionModelFrame
|
||||
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<launch4jConfig>
|
||||
<dontWrapJar>true</dontWrapJar>
|
||||
<headerType>gui</headerType>
|
||||
<jar>jailer.jar</jar>
|
||||
<outfile>Jailer.exe</outfile>
|
||||
<errTitle></errTitle>
|
||||
<cmdLine></cmdLine>
|
||||
<chdir>.</chdir>
|
||||
<priority>normal</priority>
|
||||
<downloadUrl>http://java.com/download</downloadUrl>
|
||||
<supportUrl></supportUrl>
|
||||
<stayAlive>true</stayAlive>
|
||||
<restartOnCrash>false</restartOnCrash>
|
||||
<manifest></manifest>
|
||||
<icon>D:\git\Jailer\src\main\gui\net\sf\jailer\ui\resource\jailer.ico</icon>
|
||||
<classPath>
|
||||
<mainClass>net.sf.jailer.ui.ExtractionModelFrame</mainClass>
|
||||
<cp>lib/activation-1.0.2.jar</cp>
|
||||
<cp>lib/jaxb-core-2.3.0-b170127.1453.jar</cp>
|
||||
<cp>lib/jaxb-impl-2.3.0-b170127.1453.jar</cp>
|
||||
<cp>lib/jaxb-api-2.3.0-b170201.1204.jar</cp>
|
||||
<cp>lib/prefuse.jar</cp>
|
||||
<cp>config/</cp>
|
||||
<cp>lib/log4j.jar</cp>
|
||||
<cp>lib/args4j.jar</cp>
|
||||
<cp>lib/sdoc-0.5.0-beta.jar</cp>
|
||||
<cp>lib/jsqlparser-1.3.jar</cp>
|
||||
<cp>lib/tablefilter-swing-5.3.1.jar</cp>
|
||||
</classPath>
|
||||
<jre>
|
||||
<path></path>
|
||||
<bundledJre64Bit>false</bundledJre64Bit>
|
||||
<bundledJreAsFallback>false</bundledJreAsFallback>
|
||||
<minVersion>1.7.0</minVersion>
|
||||
<maxVersion></maxVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
<runtimeBits>64/32</runtimeBits>
|
||||
<maxHeapSize>1200</maxHeapSize>
|
||||
</jre>
|
||||
</launch4jConfig>
|
||||
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<launch4jConfig>
|
||||
<dontWrapJar>true</dontWrapJar>
|
||||
<headerType>gui</headerType>
|
||||
<jar>jailer.jar</jar>
|
||||
<outfile>JailerDataBrowser.exe</outfile>
|
||||
<errTitle></errTitle>
|
||||
<cmdLine></cmdLine>
|
||||
<chdir>.</chdir>
|
||||
<priority>normal</priority>
|
||||
<downloadUrl>http://java.com/download</downloadUrl>
|
||||
<supportUrl></supportUrl>
|
||||
<stayAlive>true</stayAlive>
|
||||
<restartOnCrash>false</restartOnCrash>
|
||||
<manifest></manifest>
|
||||
<icon>D:\git\Jailer\src\main\gui\net\sf\jailer\ui\resource\jailer.ico</icon>
|
||||
<classPath>
|
||||
<mainClass>net.sf.jailer.ui.databrowser.DataBrowser</mainClass>
|
||||
<cp>lib/activation-1.0.2.jar</cp>
|
||||
<cp>lib/jaxb-core-2.3.0-b170127.1453.jar</cp>
|
||||
<cp>lib/jaxb-impl-2.3.0-b170127.1453.jar</cp>
|
||||
<cp>lib/jaxb-api-2.3.0-b170201.1204.jar</cp>
|
||||
<cp>lib/prefuse.jar</cp>
|
||||
<cp>config/</cp>
|
||||
<cp>lib/log4j.jar</cp>
|
||||
<cp>lib/args4j.jar</cp>
|
||||
<cp>lib/sdoc-0.5.0-beta.jar</cp>
|
||||
<cp>lib/jsqlparser-1.3.jar</cp>
|
||||
<cp>lib/tablefilter-swing-5.3.1.jar</cp>
|
||||
</classPath>
|
||||
<jre>
|
||||
<path></path>
|
||||
<bundledJre64Bit>false</bundledJre64Bit>
|
||||
<bundledJreAsFallback>false</bundledJreAsFallback>
|
||||
<minVersion>1.7.0</minVersion>
|
||||
<maxVersion></maxVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
<runtimeBits>64/32</runtimeBits>
|
||||
<maxHeapSize>1200</maxHeapSize>
|
||||
</jre>
|
||||
</launch4jConfig>
|
||||
Binary file not shown.
@@ -1,67 +0,0 @@
|
||||
rm -rf ~/tmp/jailer*
|
||||
rm -rf ~/tmp/dbeauty*
|
||||
rm -rf ~/tmp/$1
|
||||
rm -rf ~/tmp/$1.co
|
||||
mkdir C:/tmp/jailer
|
||||
mkdir C:/tmp/dbeauty
|
||||
mkdir ~/tmp/jailer
|
||||
mkdir ~/tmp/$1
|
||||
mkdir ~/tmp/$1.co
|
||||
cd ~/tmp/$1.co
|
||||
git clone --depth 1 https://github.com/Wisser/Jailer.git
|
||||
cd ..
|
||||
|
||||
mv $1.co/Jailer/* jailer
|
||||
cd jailer
|
||||
|
||||
sed "s/stateOffset = 100/stateOffset = 0/g" src/main/gui/net/sf/jailer/ui/Environment.java --in-place
|
||||
ant package
|
||||
sed "s/stateOffset = 0/stateOffset = 100/g" src/main/gui/net/sf/jailer/ui/Environment.java --in-place
|
||||
|
||||
rm -rf docs/api
|
||||
rm -rf out
|
||||
|
||||
rm -rf C:/tmp/jailer
|
||||
cp -r . C:/tmp/jailer
|
||||
rm -rf C:/tmp/jailer/admin
|
||||
|
||||
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi
|
||||
cd admin
|
||||
makensis tmp.nsi
|
||||
cd ..
|
||||
rm admin/tmp.nsi
|
||||
|
||||
rm -rf C:/tmp/dbeauty
|
||||
cp -r . C:/tmp/dbeauty/
|
||||
rm -rf C:/tmp/dbeauty/admin
|
||||
|
||||
sed s/%VERSION%/$1/g admin/dbeauty.nsi > admin/tmp.nsi
|
||||
cd admin
|
||||
makensis tmp.nsi
|
||||
|
||||
cd ..
|
||||
rm admin/tmp.nsi
|
||||
|
||||
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi
|
||||
makensis admin/tmp.nsi
|
||||
rm admin/tmp.nsi
|
||||
|
||||
mv admin/*nstall* ..
|
||||
|
||||
dos2unix *.sh
|
||||
chmod a+x *.sh
|
||||
|
||||
zip -r docs/admin.zip admin
|
||||
rm -rf admin
|
||||
|
||||
cd ..
|
||||
rm $1.zip
|
||||
zip -r jailer_$1.zip jailer
|
||||
cp -r jailer dbeauty
|
||||
zip -r dbeauty_$1.zip dbeauty
|
||||
|
||||
# Web upload
|
||||
# cd docs
|
||||
# scp -r * rwisser,jailer@web.sf.net:/home/groups/j/ja/jailer/htdocs/
|
||||
# scp -r * rwisser,jailer@web.sf.net:/home/groups/j/ja/jailer/htdocs/doc/
|
||||
|
||||
Reference in New Issue
Block a user