Last change
on this file since 36488 was 36488, checked in by davidb, 20 months ago |
Basic script to compile
|
-
Property svn:executable
set to
*
|
File size:
894 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | echo "****"
|
---|
4 | echo "* Compiling up Webswing"
|
---|
5 | echo "****"
|
---|
6 |
|
---|
7 | if [ ! -d /.Trash-$UID ] ; then
|
---|
8 |
|
---|
9 | echo ""
|
---|
10 | echo "If compiling up Webswing on a disk partition different to /home/$USER area"
|
---|
11 | echo "then the Gnome-based 'trash' command needs to have the following writable directory:"
|
---|
12 | echo " /.Trash-$UID"
|
---|
13 | echo ""
|
---|
14 | echo "Otherwise, webswing-driectdraw-javascript files with the file-permission error:"
|
---|
15 | echo " Error: EACCES: permission denied, mkdir '/.Trash-$UID'"
|
---|
16 | echo ""
|
---|
17 | echo "This can be addressed by running:"
|
---|
18 | echo " sudo mkdir /.Trash-\$UID && sudo chown \$USER:\$USER /.Trash-\$UID"
|
---|
19 | echo ""
|
---|
20 |
|
---|
21 | echo "If required, press ^C to exit, and then run the above command"
|
---|
22 | echo "Sleeping for 5 seconds ..."
|
---|
23 | sleep 5
|
---|
24 | fi
|
---|
25 |
|
---|
26 |
|
---|
27 | echo cd webswing-20.2.5 && mvn -Pbuild,release clean install
|
---|
28 | cd webswing-20.2.5 && mvn -Pbuild,release clean install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.