<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the License). You may not use this file except in
compliance with the License.
You can obtain a copy of the License at
See the License for the specific language governing
permission and limitations under the License.
When distributing Covered Code, include this CDDL
Header Notice in each file and include the License file
at opensso/legal/CDDLv1.0.txt.
If applicable, add the following below the CDDL Header,
with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
-->
<project name="WebLogic 10 Agent MBeans" default="build">
<!--
update these properties to relevenat directories
REPLACE_WEB_LOGIC_10_SERVER_LIB set it to your installation of \bea\wlserver_10.0\server\lib
and
REPLACE_JAVA_HOME_LIB set to something to your installation of \bea\jdk150_06\lib
-->
<target name="rebuild" depends="clean,build,deploy"/>
<target name="clean">
<delete dir="${mbeans.build.dir}"/>
<delete dir="${mbeans.dist.dir}"/>
</target>
<target name="preparebuild">
<mkdir dir="${mbeans.build.dir}"/>
<mkdir dir="${mbeans.dist.dir}"/>
</target>
<!-- build class path -->
<path id="build.class.path">
<pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
<pathelement location="${mbeans.build.dir}"/>
</path>
<target name="build" depends="preparebuild">
<echo>
"classpath is ${printthispath}"
</echo>
<arg line="-files ${mbeans.build.dir} -MDF ${mbeans.build.dir}/AgentAuthenticator.xml -createStubs -verbose"/>
<classpath refid="build.class.path"/>
</java>
<arg line="-files ${mbeans.build.dir} -MJF ${mbeans.dist.dir}/amauthprovider.jar -createStubs -verbose"/>
<classpath refid="build.class.path"/>
</java>
</target>
<target name="deploy" depends="build">
</target>
</project>