blob: c459ddadc3c9048df8f43e084d8c34e12a4c4c5f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2009-2011. Joshua Tree Software, LLC. All Rights Reserved.
-->
<project basedir="." default="all" name="Fortress Sample Data">
<!--property name="version" value="${version}"/-->
<property name="version" value="1.0-RC24"/>
<property name="home.dir" value = "../../" />
<property name="lib.dir" value = "${home.dir}/lib" />
<property name="dist.dir" value = "${home.dir}/dist" />
<property name="config" value="${home.dir}/config"/>
<property name="Fortress.jar" value="${dist.dir}/fortress-${version}.jar"/>
<property name="log4j.jar" value="${lib.dir}/log4j-1.2.17.jar"/>
<property name="ldapjdk.jar" value="${lib.dir}/unboundid-ldapsdk-2.1.0.jar"/>
<property name="jgrapht.jar" value="${lib.dir}/jgrapht-jdk1.5-0.7.3.jar"/>
<property name="jasypt.jar" value="${lib.dir}/jasypt-1.8.jar"/>
<property name="commons-configuration.jar" value="${lib.dir}/commons-configuration-1.6.jar"/>
<property name="commons-lang.jar" value="${lib.dir}/commons-lang-2.4.jar"/>
<property name="commons-collections.jar" value="${lib.dir}/commons-collections-3.2.1.jar"/>
<property name="commons-logging.jar" value="${lib.dir}/commons-logging-1.1.1.jar"/>
<property name="ehcache-core.jar" value="${lib.dir}/ehcache-core-2.6.5.jar"/>
<property name="slf4j-api.jar" value="${lib.dir}/slf4j-api-1.7.5.jar"/>
<property name="slf4j-log4j.jar" value="${lib.dir}/slf4j-log4j12-1.7.5.jar"/>
<taskdef classname="us.jts.fortress.ant.FortressAntTask" name="FortressAdmin" >
<classpath path="${config}:${Fortress.jar}:${log4j.jar}:${ldapjdk.jar}:${jgrapht.jar}:${jasypt.jar}:${commons-configuration.jar}:${commons-lang.jar}:${commons-collections.jar}:${commons-logging.jar}:${ehcache-core.jar}:${slf4j-api.jar}:${slf4j-log4j.jar}"/>
</taskdef>
<target name="all">
<FortressAdmin>
<addadminrole>
<role name="ar1" description="Test Admin Role 1 for hierarchies"/>
<role name="ar2" description="Test Admin Role 2 for hierarchies"/>
<role name="ar3" description="Test Admin Role 3 for hierarchies"/>
<role name="ar4" description="Test Admin Role 4 for hierarchies"/>
</addadminrole>
<addadminroleinheritance>
<relationship child="ar2" parent="ar1"/>
<relationship child="ar3" parent="ar1"/>
<relationship child="ar4" parent="ar1"/>
</addadminroleinheritance>
<deladminrole>
<role name="ar1"/>
<role name="ar2"/>
<role name="ar3"/>
<role name="ar4"/>
</deladminrole>
<deladminroleinheritance>
<relationship child="ar2" parent="ar1"/>
<relationship child="ar3" parent="ar1"/>
<relationship child="ar4" parent="ar1"/>
</deladminroleinheritance>
</FortressAdmin>
</target>
</project>