river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Firmstone (JIRA)" <j...@apache.org>
Subject [jira] Created: (RIVER-302) ClassDep
Date Mon, 13 Apr 2009 23:18:14 GMT
ClassDep
--------

                 Key: RIVER-302
                 URL: https://issues.apache.org/jira/browse/RIVER-302
             Project: River
          Issue Type: Bug
          Components: com_sun_jini_tool
    Affects Versions: AR2
         Environment: All
            Reporter: Peter Firmstone
            Priority: Minor


While trying to experiment with the -newdirbehaviour and -inroot options I found a bug in
the original ClassDep that prevents these options from executing via the command line options:

notice the if (args.equals("-newdirbehavior")  it should be if (arg.equals(...

public void setupOptions(String[] args) {
	for (int i = 0; i < args.length ; i++ ) {
	    String arg = args[i];
	    if (args.equals("-newdirbehavior")) {
		newRootDirBehavior = true;
	    }
	    else if (arg.equals("-cp")) {
		i++;
		setClassPath(args[i]);
	    } else if (arg.equals("-files")) {
		setFiles(true);
	    } else if ....


See Also River-272

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message