Re: AW: How To Jail Ant Script by Options

2006-10-12 Thread Dominique Devienne
does chroot command exist in ant script language? No. chroot is a low-level unix system command. But Java can be "sandboxed" using security policies: http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html Also, Jan pointed you to , a nested element of , which could perhaps be used

Re: AW: How To Jail Ant Script by Options

2006-10-12 Thread Alexandre CABROL PERALES
Nachricht- Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Oktober 2006 13:28 An: Ant Users List Betreff: Re: How To Jail Ant Script by Options Hi, there is no such ant option. Maybe with a java security policy file you could achieve this ? You will need to allow

Re: How To Jail Ant Script by Options

2006-10-12 Thread Alexandre CABROL PERALES
Cruise Control directly call ant class yes but it use a xml balise configuration system. http://cruisecontrol.sourceforge.net/main/configxml.html#ant but there is no option to chroot or jail a ant script execution. And cruise control work like a daemon which have a main loop for scan subversion

AW: How To Jail Ant Script by Options

2006-10-12 Thread Jan.Materne
;Gesendet: Donnerstag, 12. Oktober 2006 13:28 >An: Ant Users List >Betreff: Re: How To Jail Ant Script by Options > > >Hi, > >there is no such ant option. > >Maybe with a java security policy file you could achieve this ? >You will need to allow room for temporary files anyway, or

Re: How To Jail Ant Script by Options

2006-10-12 Thread Antoine Levy-Lambert
Hi, there is no such ant option. Maybe with a java security policy file you could achieve this ? You will need to allow room for temporary files anyway, or set java.io.tmpdir at startup. VM parameters put in the ANT_OPTS environment variable are used when ant starts from the command line with t

How To Jail Ant Script by Options

2006-10-11 Thread Alexandre CABROL PERALES
Hi everybody. I use cruise control over Ant. And i've many projects managed by cruise control on different folders. How can i avoid that build.xml script can access to upper folder by an ant option. I cant lock build.xml content so i need to jail each script execution in it folder. Could you