Tongue, Steve wrote:
> Are there equivalent commands for the mac (osx tiger) or will I have to run
> this on a windows machine?

Bill Fenner wrote:
>   The equivalent way to pass parameters in MacOS X is to edit the
> Info.plist located inside the application.  Find the XML Editor,
> control-click on it and pick "Show Package Contents".  Navigate inside
> the "Contents" folder and open Info.plist with Property List Editor
> (should be the default).  Click on the expanding triangles for "Root"
> and "Java" and "Properties"; click on "apple.laf.useScreenMenuBar" and
> pick "New Sibling" at the top of the window - do one of these for each
> of the properties that you want to add.

This of course will work.

Even simpler, use the Finder to open the content of package
XMLEditor.app. Example: /Users/hussein/Desktop/xxe-std-211/XMLEditor.app.

>From there, navigate to reach Contents/Resources/Java/xxe.

Drag this shell script from the Finder and drop it in a Terminal window.
Type Enter in the Terminal window to start the xxe shell script.

You can edit this xxe shell script to add extra system properties.


>   I'm not sure whether the socks configuration that Hussein posted
> will help, since it sounds like it's an HTTP proxy.  The best info I
> can find implies that HTTP proxy authentication has to be performed by
> a layer above the java http level, e.g., I find properties like
> jxta.proxy.user and jxta.proxy.password but not http.

You are probably right. We don't have *any* experience with proxies.

This ``layer'' is: java.net.Authenticator (see
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Authenticator.html)

XXE has an implementation of such java.net.Authenticator, but currently,
our implementation ignores authentication requests coming from proxies.

However, in the case of a SOCKS proxy, Sun says that
---
 -DsocksProxyHost=socks.acme.com
 -DsocksProxyPort=1080
 -Djava.net.socks.username=foo
 -Djava.net.socks.password=bar
---
would work (even with an implementation of java.net.Authenticator).

Reply via email to