Difference between revisions of "Dragtop"

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
|date=2018/12/03
 
|date=2018/12/03
 
}}
 
}}
 +
= Installation =
 +
<source lang='bash'>
 +
git clone https://github.com/BITPlan/com.bitplan.dragtop
 +
mvn clean install -D createAssembly=true
 +
</source>
 +
or use the rebuild script which skips Tests and gpg signature
 +
== dragtop script ==
 +
This is a convenience script to start your dragtop. You might want to adapt the base directory setting to your environment
 +
<source lang='bash'>
 +
#!/bin/bash
 +
# WF 2019-02-17
 +
#
 +
# start dragtop
 +
#
 +
# uncomment to debug
 +
# set -x
 +
 +
base=$HOME/source/java
 +
case $(uname -a) in
 +
  Darwin*)
 +
    base=$HOME/Documents/workspace
 +
  ;;
 +
esac
 +
 +
pdir=$base/com.bitplan.dragtop
 +
if [ ! -d $pdir ]
 +
then
 +
  echo "dragtop project missing - will get it"
 +
  cd $base
 +
git clone https://github.com/BITPlan/com.bitplan.dragtop
 +
fi
 +
 +
cd $pdir
 +
git pull
 +
jar=$pdir/release/com.bitplan.dragtop.jar
 +
if [ ! -f $jar ]
 +
then
 +
  echo "dragtop jar missing - will create"
 +
  mvn install
 +
fi
 +
java -jar $jar $*
 +
</source>
 
= WhatLinksHere =
 
= WhatLinksHere =
 
{{WhatLinksHere}}
 
{{WhatLinksHere}}
 
[[Category:frontend]]
 
[[Category:frontend]]

Revision as of 09:23, 21 March 2019

OsProject
id  com.bitplan.dragtop
state  
owner  BITPlan
title  Drag and Drop target desktop application with plugable functionality
url  https://github.com/BITPlan/com.bitplan.dragtop
version  0.0.1
description  
date  2018/12/03
since  
until  

Installation

git clone https://github.com/BITPlan/com.bitplan.dragtop
mvn clean install -D createAssembly=true

or use the rebuild script which skips Tests and gpg signature

dragtop script

This is a convenience script to start your dragtop. You might want to adapt the base directory setting to your environment

#!/bin/bash
# WF 2019-02-17
#
# start dragtop
#
# uncomment to debug
# set -x

base=$HOME/source/java
case $(uname -a) in
  Darwin*)
    base=$HOME/Documents/workspace
  ;;
esac

pdir=$base/com.bitplan.dragtop
if [ ! -d $pdir ]
then
  echo "dragtop project missing - will get it"
  cd $base
	git clone https://github.com/BITPlan/com.bitplan.dragtop
fi

cd $pdir
git pull
jar=$pdir/release/com.bitplan.dragtop.jar
if [ ! -f $jar ]
then
  echo "dragtop jar missing - will create"
  mvn install
fi
java -jar $jar $*

WhatLinksHere