-
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved build instructions and added a script to make it easier
to build and install the different remote desktop clients.
- Loading branch information
Showing
9 changed files
with
89 additions
and
23 deletions.
There are no files selected for viewing
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
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
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,54 @@ | ||
#!/bin/bash | ||
|
||
usage () { | ||
echo "$0 bVNC|freebVNC|aSPICE|freeaSPICE|aRDP|freeaRDP" | ||
exit 1 | ||
} | ||
|
||
PRJ="$1" | ||
|
||
if [ "$PRJ" != "bVNC" -a "$PRJ" != "freebVNC" \ | ||
-a "$PRJ" != "aSPICE" -a "$PRJ" != "freeaSPICE" \ | ||
-a "$PRJ" != "aRDP" -a "$PRJ" != "freeaRDP" ] | ||
then | ||
usage | ||
fi | ||
|
||
ln -sf AndroidManifest.xml.$PRJ AndroidManifest.xml | ||
|
||
generated_files="AbstractConnectionBean.java AbstractMetaKeyBean.java MetaList.java MostRecentBean.java SentTextBean.java" | ||
for f in $generated_files | ||
do | ||
rm -f src/com/iiordanov/*/$f | ||
done | ||
|
||
echo | ||
echo "Now please switch to your IDE, select the bVNC project, refresh with F5," | ||
echo "clean and rebuild it to auto-generate the DAO objects with sqlitegen." | ||
echo | ||
echo "You must have sqlitegen installed as per the BUILDING file." | ||
echo | ||
echo "When the build in your IDE completes, switch back to this terminal and" | ||
echo "press ENTER key for this script to continue executing." | ||
echo | ||
read CONTINUE | ||
|
||
generated_files="AbstractConnectionBean.java AbstractMetaKeyBean.java MetaList.java MostRecentBean.java SentTextBean.java" | ||
|
||
for f in $generated_files | ||
do | ||
file=gen/com/iiordanov/$PRJ/$f | ||
if [ ! -f $file ] | ||
then | ||
echo "Could not find auto-generated file $file. Please try cleaning / rebuilding the project, and make sure sqlitegen is installed properly." | ||
echo | ||
exit 2 | ||
else | ||
echo "Moving $f to src/com/iiordanov/$PRJ" | ||
mv $file src/com/iiordanov/$PRJ/ | ||
fi | ||
done | ||
|
||
echo | ||
echo "Now you can go back to your IDE and install $PRJ to your device, etc." | ||
echo |