Author: sebastien.lelong
Date: Sun Oct 5 08:37:20 2008
New Revision: 351
Modified:
trunk/tools/jallib
Log:
don't expect jal file to be the last arg...
Modified: trunk/tools/jallib
==============================================================================
--- trunk/tools/jallib (original)
+++ trunk/tools/jallib Sun Oct 5 08:37:20 2008
@@ -35,7 +35,7 @@
#---------#
def do_compile(args):
-
+
def _explore_dir(onedir):
dirs = [onedir]
def keepit(fd):
@@ -58,7 +58,6 @@
if not args:
print "Missing arguments to jalv2 compiler..."
sys.exit(255)
- jalfile = args.pop()
opts, args = parse_args(args)
jalv2_exec = "jalv2"
@@ -81,9 +80,8 @@
dirs = _explore_dir(d)
cmd = [jalv2_exec,"-s",";".join(dirs)]
if args:
- cmd.extend(*args)
- cmd.append(jalfile)
- #print "cmd: %s" % repr(cmd)
+ cmd.extend(args)
+ ###print "cmd: %s" % repr(cmd)
try:
status = subprocess.check_call(cmd,shell=False)
except subprocess.CalledProcessError,e:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---