[deepamehta-users] Build on Windows

Asif M asif.tmcp at gmail.com
Tue Jun 2 03:14:27 CEST 2015


Thanks Jrg,

That was helpful.

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.

Not sure if that is specific to my setup or a generic problem on windows.

Progressing to next step :)

Kind Regards,
Asif



On Sat, May 30, 2015 at 11:09 AM, Jörg Richter <jri at deepamehta.de> wrote:

>
> 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.
>
> <felix.fileinstall.dir>
>     D:/dev_wksd/source/deepamehta/deepamehta/modules/dm4-core/target,
>     ...
> </felix.fileinstall.dir>
>
> 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:
> https://trac.deepamehta.de/ticket/775
>
> Let us know if you need any more help.
>
> BTW: thank you, dgf, for investigating this issue and documenting your
> findings in that ticket!
>
> Cheers,
> Jörg
>
>
> 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
>
> --
> users mailing list
> users at lists.deepamehta.de
> http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de
>
-------------- n�chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.deepamehta.de/pipermail/users-lists.deepamehta.de/attachments/20150601/38cab034/attachment.html>


More information about the users mailing list