Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jester on Mac OS X



Elliotte Harold wrote:

>Has anyone succeeded in getting Jester (http://jester.sourceforge.net/) to
>work on Mac OS X? The error I get while trying to run its self-tests
>suggests that there may be some platform specific assumptions in the code
>that prevent it from running on Mac OS X:
>
>ERR> NOTE - jester has tried to 'exec' "javac -classpath
>"/opt/jester134:/opt/jester134/jester.jar:/Users/elharo/Projects/XOM/lib/junit.
>jar"
>"jester/functionaltests/NotTested.java""
>ERR> javac: invalid flag: "jester/functionaltests/NotTested.java"

Judging by the quoting, it looks like Jester is using exec(String) and
assuming that quoted args in a single String will be properly parsed.  This
is even less portable than exec(String[]), which is the form one should
always use.

If that's what's wrong, I don't think it would work on any Unix-like
system, either, such as Linux.

The only other possibility I can see is that Jester is quoting individual
Strings in the String[] passed to exec(String[]).  That, too, is a Windowsy
assumption.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.