Comment 8 for bug 931816

Revision history for this message
Chris Hillery (ceejatec) wrote :

I've made two tweaks by request:

1. You can pass multiple filenames to DECLARE_ZORBA_JAR(), eg.

   DECLARE_ZORBA_JAR(FILE /path/to/myjar.jar /path/to/myjar2.jar)

You can't pass a :-separated path, however. Also, the EXTERNAL flag, if specified, applies to all named jars.

2. I've added the names of installed jars to the -classpath.txt files in addition to the absolute paths to external jars. So you only have to scan the jars/ directory for the .txt files, not the .jar files. Then, for each line in the text file: If the path is absolute, put it on the classpath; if it's relative, resolve it to the same directory as the .txt file itself is in, and put it on the classpath.

(Note that I've changed the name of the .txt file to <project_name>-classpath.txt.)