[Yanel-dev] [Bug 5281] Absolute paths starting with '/' for the realm source do not work on Windows

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Thu May 3 02:42:32 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5281





------- Additional Comments From jonathan.addison at wyona.com  2007-05-03 02:42 -------
The patching of property files during the build process seems to need refactoring.

<replace
file="${build.dir}/webapps/${servlet.context.prefix}/WEB-INF/classes/realms.xml"
value="${yanel.home.dir.forward.slashes}/src/realms">
      <replacetoken>../src/realms</replacetoken>
    </replace>

    <replace
file="${build.dir}/webapps/${servlet.context.prefix}/WEB-INF/classes/resource-types.xml"
value="${yanel.home.dir.forward.slashes}/src">
      <replacetoken>../src</replacetoken>
    </replace>

The problem is that these replacetoken values assume that all realms and
resourcetypes will be in the default yanel directories (or else start with a
drive letter e.g. 'c:/').  If you move the realms directory up one level to
yanel/trunk/realms instead of yanel/trunk/src/realms it means that the
replacetoken no longer matches anything in the path.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list