XF 2.0 Export related question

abdfahim

Well-known member
A quick question:

When I export an addon, the hashes.json file contents full path to each file
{
"C:/Program Files (x86)/EasyPHP-DevServer-14.1VC9/data/localweb/wcdmaparser/xflive/src/addons/AbdFahim/MyAddonA/_build/upload/src/addons/AbdFahim/MyAddonA/addon.json": "767d8d3457890345678456794560030aa44ded03bcc857f3",
"C:/Program Files (x86)/EasyPHP-DevServer-14.1VC9/data/localweb/wcdmaparser/xflive/src/addons/AbdFahim/MyAddonA/_build/upload/src/addons/AbdFahim/MyAddonA/Listener.php": "b9d5290345678903456789034567903456789c0d10d32c71f",
.....................
.....................
}
So, I have to manually change the file to
{
"src/addons/AbdFahim/MyAddonA/addon.json": "767d8d3457890345678456794560030aa44ded03bcc857f3",
"src/addons/AbdFahim/MyAddonA/Listener.php": "b9d5290345678903456789034567903456789c0d10d32c71f",
.....................
.....................
}
Is there any way to avoid this such that hashes.json shows the relative path?
 
Last edited:
That isn't something I've managed to reproduce (also on Windows, so it's not a Windows specific thing).

I'm not totally sure what would cause this unless we're getting different paths exposed at different points -- that is a slightly weird path, so I suppose that's possible. Perhaps it's space related?
 
Well, maybe I am not sure. It's not a big deal though, just a simple find and replace all. Reported just because it seemed odd.

I use Windows 7 and EasyPHP devserver as WAMP server. Not sure if any issue with that EasyPHP setup.
 
Top Bottom