[Pkg-giraffe-discuss] problems building kopano-webapp-plugin-files
Jelle van der Waa
j.vanderwaa at kopano.com
Thu Jul 26 13:23:36 BST 2018
-----Original message-----
> From: Carsten Schoenert <c.schoenert at t-online.de>
> Sent: Saturday 23rd June 2018 12:21
> To: Jelle van der Waa <j.vanderwaa at kopano.com>
> Cc: pkg-giraffe-discuss <pkg-giraffe-discuss at alioth-lists.debian.net>
> Subject: [Pkg-giraffe-discuss] problems building kopano-webapp-plugin-files
>
> Hello Jelle,
>
> I'v tried to also update the kopano-webapp-plugin-files package but the
> build is now failing before the creation of the Debian package itself.
Hi!
Hmm I just cloned the git repo and tried it again and couldn't reproduce it, or was that 2.1.2 ;-)
The error is due to a fault in the JS code, do you have a branch I can try?
>
> > BUILD SUCCESSFUL
> > Total time: 0 seconds
> > # The following line can be used later in a similar form, once we have packaged
>
> > # the needed toolset within kopano-webapp-buildtools for example.
> > #ant -Droot-folder=/usr/share/kopano-webapp-buildtools/ -Dtarget-folder=deploy
> -Dplugin-folder=files -Dplugin=files deploy;
> > ant -Droot-folder=. -Dtarget-folder=deploy -Dplugin-folder=files -Dplugin=files
> deploy;
> > Buildfile: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/build.xml
> >
> > clean:
> >
> > concat:
> > [mkdir] Created dir: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/deploy/files/js
> > [echo] Concatenating: files-debug.js
> > [mkdir] Created dir: /build/kopano-webapp-plugin-files-2.1.3+dfsg1/deploy/files/resources/css
> > [echo] Concatenating: files.css
> >
> > preformat:
> > [echo] Preformatting: files-debug.js
> >
> > compress:
> > [echo] Compiling: files-debug.js
> > [touch] Creating /build/kopano-webapp-plugin-files-2.1.3+dfsg1/externs.js
> > [exec] deploy/files/js/files-debug.js:2795: ERROR - Parse error. Internet
> Explorer has a non-standard intepretation of trailing commas. Arrays will
> have the wrong length and objects will not parse at all.
> > [exec] }, response.info.destination);
> > [exec] ^
> > [exec]
> > [exec] deploy/files/js/files-debug.js:9534: ERROR - Parse error. Internet
> Explorer has a non-standard intepretation of trailing commas. Arrays will
> have the wrong length and objects will not parse at all.
> > [exec] });
> > [exec] ^
> > [exec]
> > [exec] 2 error(s), 0 warning(s)
> >
> > BUILD FAILED
> > /build/kopano-webapp-plugin-files-2.1.3+dfsg1/build.xml:133: The following
> error occurred while executing this line:
> > /build/kopano-webapp-plugin-files-2.1.3+dfsg1/tools/antutil.xml:66: exec
> returned: 2
>
> Remember, we've added the folder tools/ with it contents mainly last
> year at the Kopano conference to get stuff build for the final Debian
> package. So maybe the root for this issue a needed update of the file
> tools/antutil.xml in recent days.
>
> The content of the added folder can be found on the this patch
> https://salsa.debian.org/giraffe-team/kopano-webapp-plugin-files/raw/debian/sid/debian/patches/adding-needed-folder-tools-for-ant.patch
>
> But due I always struggle with Ant, JAVA, JavaScript I've no clue what
> to do here to solve this.
>
> BTW: version 2.1.3 is still shipping the non existing language
> es_CA.UTF-8 :-)
>
> --
> Regards
> Carsten
>
> _______________________________________________
> Pkg-giraffe-discuss mailing list
> Pkg-giraffe-discuss at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-giraffe-discuss
More information about the Pkg-giraffe-discuss
mailing list