KEYCLOAK-355 Fix distribution build on JDK8

This commit is contained in:
Stian Thorgersen 2014-03-11 09:52:22 +00:00
parent 9749c65065
commit b208cae333

View file

@ -104,7 +104,7 @@
<attribute name="slot"/> <attribute name="slot"/>
<![CDATA[ <![CDATA[
name = attributes.get("name"); name = attributes.get("name");
name = name.replace(".", "/"); name = name.replace(/\./g, "/");
project.setProperty("current.module.path", name + "/" + attributes.get("slot")); project.setProperty("current.module.path", name + "/" + attributes.get("slot"));
]]> ]]>
</scriptdef> </scriptdef>
@ -114,7 +114,7 @@
<attribute name="slot"/> <attribute name="slot"/>
<![CDATA[ <![CDATA[
name = attributes.get("name"); name = attributes.get("name");
name = name.replace(".", "/"); name = name.replace(/\./g, "/");
project.setProperty("current.bundle.path", name + "/" + attributes.get("slot")); project.setProperty("current.bundle.path", name + "/" + attributes.get("slot"));
]]> ]]>
</scriptdef> </scriptdef>