Commit a86de206 authored by Misagh Moayyed's avatar Misagh Moayyed
Browse files

updated build

parent 58cb7d60
...@@ -22,5 +22,11 @@ and configured to satisfy local CAS installation needs. Current files are: ...@@ -22,5 +22,11 @@ and configured to satisfy local CAS installation needs. Current files are:
# Deployment # Deployment
## Maven
* Execute `mvn clean package` * Execute `mvn clean package`
* Deploy resultant `target/cas.war` to a Servlet container of choice. * Deploy resultant `target/cas.war` to a Servlet container of choice.
## Ant
* Define `CATALINA_HOME` and `MAVEN_HOME`
* Execute `ant deploy`
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<property name="cas.resources.dir" value="/etc/cas" /> <property name="cas.resources.dir" value="/etc/cas" />
<!-- ******************* MAVEN PROPERTIES******************** --> <!-- ******************* MAVEN PROPERTIES******************** -->
<condition property="mavenExecutableFile" value="mvn.bat" else="mvn"> <condition property="mavenExecutableFile" value="mvn.cmd" else="mvn">
<os family="windows" /> <os family="windows" />
</condition> </condition>
<var name="mavenExecutable" value="${env.M2_HOME}\bin\${mavenExecutableFile}"/> <var name="mavenExecutable" value="${env.M2_HOME}\bin\${mavenExecutableFile}"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment