<div dir="ltr"><div>Thanks Jrg,</div><div><br></div><div>That was helpful.</div><div><br></div><div>I had to additionally remove the newline between each entry of <felix.fileinstall.dir> ... </felix.fileinstall.dir>. So essentially it is now a long-string of comma-separated entries.</div><div><br></div><div>Not sure if that is specific to my setup or a generic problem on windows.</div><div><br></div><div>Progressing to next step :)</div><div><br></div><div>Kind Regards,</div><div>Asif</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 30, 2015 at 11:09 AM, Jörg Richter <span dir="ltr"><<a href="mailto:jri@deepamehta.de" target="_blank">jri@deepamehta.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Asif,<br>
<br>
yes, this is a known issue on Windows. It has to do with / vs. \ in paths in conjunction with the Felix File Install bundle.<br>
<br>
A workaround is to set absolute paths in the <felix.fileinstall.dir> property (in pom.xml) before executing mvn pax:run, e.g.<br>
<br>
<felix.fileinstall.dir><br>
    D:/dev_wksd/source/deepamehta/deepamehta/modules/dm4-core/target,<br>
    ...<br>
</felix.fileinstall.dir><br>
<br>
Note the forward slashes. (Alternatively you could use backward slashes but you have to escape them as \\ then.)<br>
IMPORTANT: you must remove the 2 surprising leading and trailing commas.<br>
<br>
Unfortunately there is no apparent fix to this issue. The common approach seems to be to manipulate pom.xml programmatically while executing Maven. Hints are found in this ticket:<br>
<a href="https://trac.deepamehta.de/ticket/775" target="_blank">https://trac.deepamehta.de/ticket/775</a><br>
<br>
Let us know if you need any more help.<br>
<br>
BTW: thank you, dgf, for investigating this issue and documenting your findings in that ticket!<br>
<br>
Cheers,<br>
Jörg<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On May 27, 2015, at 15:51, Asif M wrote:<br>
<br>
> Hi All,<br>
><br>
> I tried a normal build of DeepaMehta 4.5 on windows 7 with Java 1.7 and Maven 3.3.<br>
> The build went through successfully, but the mvn pax:run throws up an error.<br>
><br>
> Error: Could not find or load main class D:\dev_wksd\source\deepamehta\deepamehta.modules.dm4-core.target,<br>
><br>
> I am surprised at the comma at the end. Also in the pom.xml I see the following :-<br>
> <!-- IMPORTANT: The leading and trailing commas represent a workaround for Felix 4 and must not     --><br>
>                 <!-- be deleted (this was not required with Felix 3). Felix 4 apparently surrounds the entire       --><br>
>                 <!-- property value with double quotes, rendering the first and last paths invalid (very strange!). --><br>
>                 <!-- As a workaround we setup 2 (empty) bogus paths at the beginning and end.                       --><br>
><br>
> What am I doing wrong here. ?<br>
><br>
> Is this a known issue? Is there a fix?<br>
><br>
> Thanks in advance.<br>
><br>
> Kind Regards,<br>
> Asif<br>
><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> users mailing list<br>
> <a href="mailto:users@lists.deepamehta.de">users@lists.deepamehta.de</a><br>
> <a href="http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de" target="_blank">http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de</a><br>
<br>
--<br>
users mailing list<br>
<a href="mailto:users@lists.deepamehta.de">users@lists.deepamehta.de</a><br>
<a href="http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de" target="_blank">http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de</a><br>
</font></span></blockquote></div><br></div>