Tuesday, November 30, 2010

ivy target depends on target from a different project

As the value of  depends attribute. it can be composed from project name and target name.


eg:
\
 



In your-project.xml

 

tomcat on vps

1 GB memory is needed to smoothly run an app on Tomcat.

/var/tomcat/bin# ./shutdown.sh
Using CATALINA_BASE:   /var/tomcat
Using CATALINA_HOME:   /var/tomcat
Using CATALINA_TMPDIR: /var/tomcat/temp
Using JRE_HOME:        /usr/java/jdk1.6.0_21/jre
Using CLASSPATH:       /var/tomcat/bin/bootstrap.jar
Error occurred during initialization of VM
Could not reserve enough space for code cache

http://stackoverflow.com/questions/286007/how-to-tune-tomcat-5-5-jvm-memory-settings-without-using-the-configuration-progra

$CATALINA_HOME/bin/export JAVA_OPTS="-XX:MaxPermSize=64m -Xms16M -Xmx64m"