Project

General

Profile

« Previous | Next » 

Revision 8342

Added by Jing Tao over 10 years ago

Create a utility target to generate a war file which manage ldap accounts - register, password set.

View differences:

build.xml
1777 1777
		<copy todir="${app.deploy.dir}" file="${dist.dir}/metacat-index.war" />
1778 1778
	</target>
1779 1779
	
1780
	<!-- Generate a light war file which only is used to manage the ldap user accounts - register a new user, reset and change the password -->
1781
	<target name="war-account" depends="warPrepare" description="Generate a light war file which only is used to manage the ldap user accounts - register a new user, reset and change the password">
1782
		  <property name="war-name" value="account" />
1783
		  <mkdir dir="${dist.dir}" />
1784
		     <war destfile="${dist.dir}/${war-name}.war"
1785
		            webxml="${build.war}/web.xml">
1786
		      <webinf dir="${war.webinf}">
1787
		        <include name="metacat.properties"/>
1788
		      </webinf>
1789
		      <fileset dir="${war.context}">
1790
		        <include name="cgi-bin/**"/>
1791
		      	<include name="style/**"/>  
1792
		      </fileset>
1793
		      
1794
		   </war>
1795
	</target>
1796
	
1780 1797
</project>

Also available in: Unified diff