Fixed an IdP configuration schema bug.
[java-idp.git] / build.xml
index d9b7b9c..64b75a2 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -66,7 +66,8 @@
     <!-- Compile classes and move them to ${build} -->
     <target name="compile" depends="init"
        description="Compile source file, combine with schemas and conf directories">
-        <javac srcdir="${src}" destdir="${build}" includes="**/*.java" debug="on">
+        <javac srcdir="${src}" destdir="${build}" includes="**/*.java" debug="on" 
+               target="1.4" source="1.4">
             <classpath refid="build.path" />
         </javac>
         <copy todir="${build}/schemas">
         <taskdef name="genSalt" classname="edu.internet2.middleware.shibboleth.utils.HandleRepositorySecretGenerator" classpathref="build.path"/>
         <genSalt keyStorePath="${appconfig}/persistent.jks" keyStorePassword="shibhs" keyStoreKeyAlias="handleKey" keyStoreKeyPassword="shibhs" />
     </target>
+       
+       <target name="exampleCertificate">
+               <genkey alias="tomcat" storepass="exampleorg"
+                       keystore="${tomcat.home}/conf/example.jks"
+                       keyalg="RSA" validity="365"
+                       dname="cn=shibboleth.example.org, o=example.org, c=US"
+               />
+       </target>
 </project>