[kepler-dev] [Bug 5097] New: kepler.sh accepts a limited number of arguments

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Jul 15 17:49:49 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5097

           Summary: kepler.sh accepts a limited number of arguments
           Product: Kepler
           Version: 2.0.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: execution engine
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


kepler.sh accepts a limited number of arguments:

java -classpath build-area/lib/ant.jar:kepler.jar
org.kepler.build.runner.Kepler "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"

If you attempt to give more, you'll get compilation errors that are misleading.
A user ran into this problem:
http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-July/002249.html

Changing the line to accept more works fine:
java -classpath build-area/lib/ant.jar:kepler.jar
org.kepler.build.runner.Kepler "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
"${10}" "${11}"

Are we going to keep this script, or move to an ant task? If we're keeping the
script, and there's no solution  to accept unlimited arguments, we should at
the very least accept some very large number of arguments, and print an error
message if the user attempts to feed in more.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list