Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3632 Details for
Bug 7428
[NEW] jext-3.1.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
jext launcher script
jext-gentoo.sh (text/plain), 1.26 KB, created by
Julien Herfurth
on 2002-09-03 16:27:42 UTC
(
hide
)
Description:
jext launcher script
Filename:
MIME Type:
Creator:
Julien Herfurth
Created:
2002-09-03 16:27:42 UTC
Size:
1.26 KB
patch
obsolete
>#! /bin/sh ># > ># This script launch the Jext the Java text editor. ># It checks for a $HOME/.jext directory and eventually creates it. ># Next it checks for a $HOME/.jext/variables file which define the JEXT_HOME JAVA_CMD and JAVA_OPT variables. ># If this file doesn't exist the script creates it by asking the options to the user. > > ># Sharpshooter 23/02/2002 > > ># Help > >if [ "$1" = "--help" ] >then > echo "This script launch Jext the Java text editor." > echo "Usage : $0 [files]" > exit 0 >fi > > > ># Check for the user's ~/.jext directory. >if ! [ -d ~/.jext ] >then > echo "It seems you don't have a .jext directory in your home dir." > echo "I create it." > echo > mkdir -p ~/.jext/xinsert > >fi > > > ># Check for the $HOME/.jext/variables file. >if ! [ -f ~/.jext/variables ] >then > echo "JEXT_HOME="/usr/local/lib/jext > ~/.jext/variables > echo "JAVA_CMD="`java-config --java` >>~/.jext/variables >fi > > ># Extract the contents of the ~/.jext/variables file. >JEXT_HOME=`grep JEXT_HOME ~/.jext/variables | cut -f2 -d=` >JAVA_CMD=`grep JAVA_CMD ~/.jext/variables | cut -f2 -d=` >JAVA_OPT=`grep JAVA_OPT ~/.jext/variables | cut -f2 -d=` > > ># Launch JEXT >exec "$JAVA_CMD" $JAVA_OPTS -Dpython=$JEXT_HOME/lib -classpath "$JEXT_HOME/lib/jython.jar":"$JEXT_HOME/lib/dawn.jar":"$JEXT_HOME/lib/jext.jar" org.jext.Jext "$@" > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7428
:
3631
| 3632 |
3633