ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject JVM Security properties
Date Tue, 20 Apr 2004 15:54:49 GMT
I'm adding security to a JVM

1. to enable the security manager on a JVM , you go

java -Djava.security.manager

2. to name the policy file you go

-Djava.security.policy==policy-file

with two equals

I assume we can do (2) with a sysproperty of
<sysproperty name="java.security.policy" value="=${policy-file}">, 
though it is kind of brittle. But what about (1)? Do you think a value 
of "" will get through?

I suppose I can test it, but I'd like to see if anyone else has, first.

If it doesnt work on ant, we need to fix it. If it does work, its 
another example for the docs/wiki.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message