-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import golo scripts #3
Comments
No, the run golo file in the editor contextual menu doesn't support imports for now. |
by loading all golo scripts of the project ? |
I was meaning by adding only the files imported by the currently edited file. But this is very limited because it doesn't support transitive imports. |
i use something like that : https://github.com/k33g/Fast20/blob/master/src/fast/jgolo/KlassLoader.java |
finally being I use the same kind of logic to work with sublimetext : export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_12.jdk/Contents/Home
export GOLO_HOME=/Users/k33g_org/Dropbox/golo/r0/bin
echo "1- loading jars"
#FIND JARS
JARS=""
FILES="$(find $1 -name '*.jar')"
for jar in $FILES
do
JARS="$JARS$PWD/$jar:"
echo "--> $jar"
done
export CLASSPATH_PREFIX=${CLASSPATH_PREFIX}:"$JARS"
echo "2- loading Golo Libraries"
#FIND GOLO LIBRARIES
LIBS=""
FILES="$(find $1 -name '*.golo')"
for gf in $FILES
do
LIBS="$LIBS $gf"
echo "--> $gf"
done
echo "3- running $2"
echo
$GOLO_HOME/gologolo $LIBS $2 |
is that the import golo scripts is supposed to be managed? (sorry about my english)
The text was updated successfully, but these errors were encountered: