Revision 33695 branches/v2_0_0_prep/build/ant-tasks/ant-tasks-config.xml
ant-tasks-config.xml | ||
---|---|---|
94 | 94 |
if [ -f "${HOME}/.gvsig.platform.properties" ] |
95 | 95 |
then |
96 | 96 |
. ${HOME}/.gvsig.platform.properties |
97 |
export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
|
|
97 |
export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
|
|
98 | 98 |
else |
99 |
export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
|
|
99 |
export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m"
|
|
100 | 100 |
fi |
101 | 101 |
|
102 | 102 |
It will work if you use the bash shell. In any other case or platform, you'll |
... | ... | |
114 | 114 |
<property name="native_classifier" value="${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}"/> |
115 | 115 |
<echo>mvn -Dnative-classifier=${native_classifier} @{arg}</echo> |
116 | 116 |
<artifact:mvn mavenHome="${build.folder}/maven" fork="true" |
117 |
failonerror="true" maxmemory="256M">
|
|
117 |
failonerror="true" maxmemory="384M">
|
|
118 | 118 |
<arg line="-Dnative-classifier=${native_classifier} @{arg}" /> |
119 |
<jvmarg value="-XX:MaxPermSize=64M" />
|
|
119 |
<jvmarg value="-XX:MaxPermSize=96M" />
|
|
120 | 120 |
</artifact:mvn> |
121 | 121 |
</sequential> |
122 | 122 |
</macrodef> |
Also available in: Unified diff