buildframework/helium/builder/template/configure_jython.bat.ftl
changeset 640 ac0bbc1e5d79
parent 628 7c4a911dc066
--- a/buildframework/helium/builder/template/configure_jython.bat.ftl	Mon Sep 06 09:57:24 2010 +0100
+++ b/buildframework/helium/builder/template/configure_jython.bat.ftl	Mon Sep 13 13:11:19 2010 +0800
@@ -19,4 +19,10 @@
 
 ============================================================================
 -->
-set ANT_OPTS=%ANT_OPTS% -Dpython.path=%HELIUM_HOME%\external\python\lib\2.5\jython-2.5-py2.5.egg;<#list project.getReference('egg.hlm.deps.fileset').toString().split(';') as file>%HELIUM_HOME%\${file};</#list>;%PYTHONPATH%
+
+<#list project.getReference('egg.hlm.deps.fileset').toString().split(ant['path.separator']) as file>
+set JYTHONPATH=%JYTHONPATH%;%HELIUM_HOME%\${file?substring(ant['source.root.dir']?length + 1)?replace('/', '\\')};
+</#list>
+set JYTHONPATH=%HELIUM_HOME%\external\python\lib\2.5\jython-2.5-py2.5.egg;%JYTHONPATH%;%PYTHONPATH%
+
+set ANT_OPTS=%ANT_OPTS% -Dpython.path="%JYTHONPATH%"