[deepamehta-users] Build on Windows

Jörg Richter jri at deepamehta.de
Sat May 30 17:09:36 CEST 2015

Hi Asif,

yes, this is a known issue on Windows. It has to do with / vs. \ in paths in conjunction with the Felix File Install bundle.

A workaround is to set absolute paths in the <felix.fileinstall.dir> property (in pom.xml) before executing mvn pax:run, e.g.


Note the forward slashes. (Alternatively you could use backward slashes but you have to escape them as \\ then.)
IMPORTANT: you must remove the 2 surprising leading and trailing commas.

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:

Let us know if you need any more help.

BTW: thank you, dgf, for investigating this issue and documenting your findings in that ticket!


On May 27, 2015, at 15:51, Asif M wrote:

> Hi All,
> I tried a normal build of DeepaMehta 4.5 on windows 7 with Java 1.7 and Maven 3.3.
> The build went through successfully, but the mvn pax:run throws up an error.
> Error: Could not find or load main class D:\dev_wksd\source\deepamehta\deepamehta.modules.dm4-core.target,
> I am surprised at the comma at the end. Also in the pom.xml I see the following :-
> <!-- IMPORTANT: The leading and trailing commas represent a workaround for Felix 4 and must not     -->
>                 <!-- be deleted (this was not required with Felix 3). Felix 4 apparently surrounds the entire       -->
>                 <!-- property value with double quotes, rendering the first and last paths invalid (very strange!). -->
>                 <!-- As a workaround we setup 2 (empty) bogus paths at the beginning and end.                       -->
> What am I doing wrong here. ?
> Is this a known issue? Is there a fix?
> Thanks in advance.
> Kind Regards,
> Asif
> -- 
> users mailing list
> users at lists.deepamehta.de
> http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de

More information about the users mailing list