Changeset 36523 for gs3-extensions
- Timestamp:
- 2022-08-28T14:25:31+12:00 (20 months ago)
- Location:
- gs3-extensions/webswing/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/webswing/trunk/README.txt
r36522 r36523 41 41 # Troubleshooting 42 42 43 1. JDK -- JAVA_HOME 44 45 One of the 'mvn' tasks was found to need JAVA_HOME set. If using 46 ./get-selfcontained-jdk.sh to provide java/javac, then this is set for 47 you. 48 49 50 2. Gnome/Freedesktop/XDG 'trash' command-line utility 51 43 52 If you are compiling this up outside of your home directory (say 44 53 /opt/greenstone3-svn/ext/webswing) then you will need a a directory: … … 46 55 /.Trash-$UID 47 56 48 for the 'trash' command-line utility to use 57 for the 'trash' command-line utility to function correctly. 58 59 When the issue was enounctered, the particular trash folder that 60 yielded the error was: 61 62 /.Trash-1000 63 64 Explaniation: For one of the mvn stages for compiling, it looks to run 65 a npm 'clean' target, before compiling. The clean target uses 66 'trash', which (if things have previously been run) there there is a 67 directory that needs to be moved to its 'trash folder'. When running 68 in a disk partition that does not contian your /home/<username> 69 account, then the XDG specification specifies this to be /.Trash-$UID 49 70 50 71 72 73 74 75 -
gs3-extensions/webswing/trunk/src/COMPILE.sh
r36509 r36523 13 13 echo "* Compiling up Webswing" 14 14 echo "****" 15 16 if [ "x$JAVA_HOME" = "x" ] ; then 17 echo "JAVA_HOME needs to be set to compile Webswing" 18 echo "If yoour javac is not located in a JDK home area, then" 19 echo "Consider using the JDK installed through:" 20 echo " <gsdl3srchome>/ext-cli/get-selfcontained-jdk.sh" 21 exit 1 22 else 23 echo "JAVA_HOME set to:" 24 echo " $JAVA_HOME" 25 fi 15 26 16 27 if [ ! -d /.Trash-$UID ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.