diff --git a/openbis-common/build/build-common.xml b/openbis-common/build/build-common.xml index f78859dd8924136fe895cb3bff46aac87ee6660a..b64467d106f9bc34850fc1fd542c47cf900b9408 100644 --- a/openbis-common/build/build-common.xml +++ b/openbis-common/build/build-common.xml @@ -14,7 +14,9 @@ <target name="prepare-gwt" description="Cleans and prepares the GWT specific directories, forcing a GWT rebuilding."> <delete failonerror="true" dir="../${ant.project.name}/.gwt-cache" /> - <delete failonerror="true" dir="${targets.www}" /> + <delete failonerror="true" includeEmptyDirs="true" removeNotFollowedSymlinks="true" quiet="true"> + <fileset dir="${targets.www}" followsymlinks="false"/> + </delete> <mkdir dir="${targets.www}" /> <mkdir dir="${targets.www.web-inf}" /> <copy todir="${targets.www.web-inf}" overwrite="true" failonerror="true"> diff --git a/openbis/build/build.xml b/openbis/build/build.xml index d0902149f12f43357cda504ed9e2be81ff55d533..5bae2451b1b9b8b54563f193d64af0a5cd5deab6 100644 --- a/openbis/build/build.xml +++ b/openbis/build/build.xml @@ -856,7 +856,9 @@ <{property,param} name="module-test.module" value="ch.systemsx.cisd.openbis.OpenBIS" /> // --> <target name="compile-module-test" description="Compile the module test mode"> - <delete dir="${targets.www}/${module-test.path}" /> + <delete includeEmptyDirs="true" removeNotFollowedSymlinks="true" quiet="true"> + <fileset dir="${targets.www}/${module-test.path}" followsymlinks="false"/> + </delete> <echo>GWT-sources: ${gwt.sources}</echo> <java classpath="${ecp}:${ecp.gwt}:${gwt.sources}" classname="com.google.gwt.dev.Compiler" fork="true"> @@ -887,6 +889,7 @@ <java failonerror="true" fork="true" classpath="${ecp}:${ecp.gwt}:${gwt.sources}" classname="com.google.gwt.dev.DevMode"> <jvmarg value="-Xmx1024M" /> <jvmarg value="-ea" /> + <sysproperty key="org.mortbay.util.FileResource.checkAliases" value="false"/> <sysproperty key="log4j.configuration" file="etc/log.xml" /> <sysproperty key="javax.net.ssl.trustStore" file="dist/server/openBIS.keystore" /> diff --git a/openbis/resource/eclipse/openBIS GWT Shell - debug.launch b/openbis/resource/eclipse/openBIS GWT Shell - debug.launch index 5126fb56279b1b71ded83ac8cbf42fe7ace65607..b2562608f7758e99226c697f6ad6f4810356edf1 100644 --- a/openbis/resource/eclipse/openBIS GWT Shell - debug.launch +++ b/openbis/resource/eclipse/openBIS GWT Shell - debug.launch @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> <listEntry value="/openbis"/> @@ -17,5 +17,5 @@ <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/> <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl ch.systemsx.cisd.openbis.OpenBIS/index.html?debug=true ch.systemsx.cisd.openbis.OpenBIS -war targets/www -logLevel WARN"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="openbis"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=etc/log.xml -Djavax.net.ssl.trustStore=dist/server/openBIS.keystore -Xmx512M -ea"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=etc/log.xml -Djavax.net.ssl.trustStore=dist/server/openBIS.keystore -Dorg.mortbay.util.FileResource.checkAliases=false -Xmx512M -ea"/> </launchConfiguration> diff --git a/openbis/resource/eclipse/openBIS GWT Shell.launch b/openbis/resource/eclipse/openBIS GWT Shell.launch index 8dacc109533925e2781d786e9ebe69fbf9f20e8c..31a8d3b945200536404883cac8cf14f23bc794f0 100644 --- a/openbis/resource/eclipse/openBIS GWT Shell.launch +++ b/openbis/resource/eclipse/openBIS GWT Shell.launch @@ -17,5 +17,5 @@ <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/> <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl ch.systemsx.cisd.openbis.OpenBIS/index.html ch.systemsx.cisd.openbis.OpenBIS -war targets/www -logLevel WARN"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="openbis"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=etc/log.xml -Djavax.net.ssl.trustStore=dist/server/openBIS.keystore -Xmx2048M -XX:MaxPermSize=512m -ea"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=etc/log.xml -Djavax.net.ssl.trustStore=dist/server/openBIS.keystore -Dorg.mortbay.util.FileResource.checkAliases=false -Xmx2048M -XX:MaxPermSize=512m -ea"/> </launchConfiguration> diff --git a/screening/resource/eclipse/Screening openBIS GWT Shell.launch b/screening/resource/eclipse/Screening openBIS GWT Shell.launch index b27491437ebe55498edfa9c6488c9faf7903177a..60f565f00e6f596f856e773280edad5ad5908a08 100644 --- a/screening/resource/eclipse/Screening openBIS GWT Shell.launch +++ b/screening/resource/eclipse/Screening openBIS GWT Shell.launch @@ -18,5 +18,5 @@ <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/> <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl ch.systemsx.cisd.openbis.plugin.screening.OpenBIS/index.html ch.systemsx.cisd.openbis.plugin.screening.OpenBIS -war targets/www -logLevel WARN"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="screening"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=../openbis/etc/log.xml -Djavax.net.ssl.trustStore=../openbis/dist/server/openBIS.keystore -Xmx1536M -XX:MaxPermSize=512m -ea"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dpython.path=../libraries/jython/jython-lib -Dlog4j.configuration=../openbis/etc/log.xml -Djavax.net.ssl.trustStore=../openbis/dist/server/openBIS.keystore -Dorg.mortbay.util.FileResource.checkAliases=false -Xmx1536M -XX:MaxPermSize=512m -ea"/> </launchConfiguration>