-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
980 additions
and
127 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Main-Class: coderarjob.kpdfsync.poc.Main | ||
Class-Path: pdfclown.jar ajl.jar libkpdfsync.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:: ----------------------------------------------------------------------------- | ||
:: Windows Start script kpdfsync | ||
:: ----------------------------------------------------------------------------- | ||
:: Changes directory to the application path and runs kpdfsync | ||
:: ----------------------------------------------------------------------------- | ||
@echo off | ||
set BASEDIR=%~dp0 | ||
start /D "%BASEDIR%\bin" /B java -jar kpdfsync.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
# ----------------------------------------------------------------------------- | ||
# Unix Start script kpdfsync | ||
# ----------------------------------------------------------------------------- | ||
# Changes directory to the application path and runs kpdfsync | ||
# ----------------------------------------------------------------------------- | ||
BASEDIR=$(dirname $0) | ||
cd "$BASEDIR/bin" | ||
java -jar kpdfsync.jar& |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/bash | ||
# ----------------------------------------------------------------------------- | ||
# Package creation script kpdfsync | ||
# ----------------------------------------------------------------------------- | ||
# This script is responsible for packing all the java .class files, | ||
# dependencies and scripts and place them in correct places. | ||
# | ||
# This placement also ensures, that when distributed on different systems, | ||
# kpdfsync can be run using the two helper scripts, kpdfsync.sh and | ||
# kpdfsync.bat. | ||
# ----------------------------------------------------------------------------- | ||
|
||
echo :: Building packages | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Create destination folder | ||
# ----------------------------------------------------------------------------- | ||
DIST_DIR=kpdfsync | ||
rm -rf $DIST_DIR || exit | ||
mkdir -p $DIST_DIR/bin || exit | ||
|
||
pushd classes | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Create .jar files for individual packages. | ||
# ----------------------------------------------------------------------------- | ||
|
||
# Package Arjob's Java Library | ||
echo :: Building ajl.jar | ||
jar cf ajl.jar coderarjob/ajl || exit | ||
|
||
# Package kpdfsync library | ||
echo :: Building libkpdfsync.jar | ||
jar cf libkpdfsync.jar coderarjob/kpdfsync/lib || exit | ||
|
||
# Package kpdfsync gui | ||
echo :: Building kpdfsync.jar | ||
jar cfm kpdfsync.jar ../Manifest.txt coderarjob/kpdfsync/poc || exit | ||
popd | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Move .jar files and scripts to proper places under the kpdfsync dist folder. | ||
# ----------------------------------------------------------------------------- | ||
|
||
# Move the jar files to kpdfsync/bin folder. | ||
mv classes/*.jar ./$DIST_DIR/bin || exit | ||
cp ../lib/pdfclown.jar ./$DIST_DIR/bin || exit | ||
cp -r ../tools ./$DIST_DIR/bin || exit | ||
|
||
# Copy the kpdfsync.sh and kpdfsync.bat to kpdfsync dist folder. | ||
cp kpdfsync.sh ./$DIST_DIR || exit | ||
cp kpdfsync.bat ./$DIST_DIR || exit | ||
|
||
# Copy LICENSE Readme.md and HowTo.pdf to kpdfsync dist folder. | ||
cp ../docs/QuickReference.pdf ./$DIST_DIR || exit | ||
cp ../README.md ./$DIST_DIR || exit | ||
cp ../LICENSE ./$DIST_DIR || exit | ||
|
||
echo :: Building packages completed |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.