Author: nickboldt
Date: 2011-03-09 09:35:08 -0500 (Wed, 09 Mar 2011)
New Revision: 29650
Modified:
branches/jbosstools-3.2.x/build/target-platform/build.xml
Log:
add -Dosgi.locking=none to call to p2.mirror to fix java.io.IOException: An error occurred
while locking file
"/qa/services/hudson/static_build_env/jbds/tools/sources/eclipse-3.6.2/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock":
"No locks available". A common reason is that the file system or Runtime
Environment does not support file locking for that location. Please choose a different
location, or disable file locking by passing "-Dosgi.locking=none" as a VM
argument.
Modified: branches/jbosstools-3.2.x/build/target-platform/build.xml
===================================================================
--- branches/jbosstools-3.2.x/build/target-platform/build.xml 2011-03-09 14:31:49 UTC (rev
29649)
+++ branches/jbosstools-3.2.x/build/target-platform/build.xml 2011-03-09 14:35:08 UTC (rev
29650)
@@ -199,7 +199,7 @@
<exec
executable="${WORKINGDIR}/eclipse-${eclipse.version}/eclipse/eclipse"
dir="${basedir}" failonerror="true">
<arg line=" -nosplash -data ${tmpdir}/workspace -consolelog -application
org.eclipse.ant.core.antRunner" />
<arg line=" -f ${targetFile}.p2mirror.xml -DfollowStrict=true
-DrepoDir=${repoDir}" />
- <arg line=" -Ddebug=true -Dosgi.locking=none" />
+ <arg line=" -Ddebug=true -vmargs -Dosgi.locking=none" />
</exec>
</target>