change the way we compute the path (use a java 8 compatible way)
diff --git a/libraries/luadbgpclient/build.xml b/libraries/luadbgpclient/build.xml
index e75c309..a66d985 100644
--- a/libraries/luadbgpclient/build.xml
+++ b/libraries/luadbgpclient/build.xml
@@ -52,18 +52,25 @@
<loadfile property="documentation" srcFile="${antFileFolder}/debugger/readme.txt" />
<echo file="${debuggerFile}" append="true" message="${documentation}" />
-
+
<echo file="${debuggerFile}" append="true" message="${header}" />
</target>
<!--Find a path from a lua module name -->
<target name="findPath" unless="path">
- <script language="javascript">
- var module = project.getProperty("module");
- project.setProperty("path", module.replace(".", "/") + ".lua");
- </script>
+ <loadresource property="tmppath">
+ <propertyresource name="module" />
+ <filterchain>
+ <tokenfilter>
+ <filetokenizer />
+ <replacestring from="." to="/" />
+
+ </tokenfilter>
+ </filterchain>
+ </loadresource>
+ <property name="path" value="${tmppath}.lua"/>
</target>
-
+
<!--Append a module in the file -->
<target name="appendModule" depends="findPath">
<antcall target="findPath"/>
@@ -91,7 +98,7 @@
-->
<target name="build">
<antcall target="createDebugger" />
-
+
<antcall target="appendModule">
<param name="module" value="debugger.transport.apr" />
</antcall>