[Pkg-giraffe-discuss] Try out to package kopano-webapp-plugin-files* fails
Marco Costantino
marco at advanced-finance.com
Thu Dec 8 09:27:59 UTC 2016
Hi
Perhaps the easiest even if duplicates code would be to have the code in every plugin?
This way the plugin are self contained and do not depend on anything else, if I have understood correctly that is.
Marco
On 8 December 2016 09:14:01 GMT+00:00, Jelle van der Waa <j.vanderwaa at zarafa.com> wrote:
>Hi all,
>
>Just got back from vacation and should really subscribe my kopano email
>to the list so I don't miss
>these discussions :)
>
>
>> From the main webapp directory.
>> This way it found the tools directory otherwise not.
>> I do not think you can build the plug in without webapp or at least I
>have not been successful.
>> Did you try running ant tools from the main webapp directory as
>opposed as from the plug in directory?
>> Indeed I tried with centos as I could not get Debian to work.
>
>Yup, it's sort of the right way. The WebApp has 'build tools' in the
>tools directory (for concatenating css. JavaScript) and
>server/manifest.dtd
>to verfiy the manifest.xml file
>
>Since we didn't want to copy these files to every plugin, we internally
>have created a simple "kopano-webapp-buildtools" package.
>Which in reality should be a split package from kopano-webapp.
>
>To be honest it's a bit ugly, looking at our debian.rules file:
>
>override_dh_auto_install:
> install -d -m 755 $(INSTDIR)$(TOOLSDIR)
> cd tools && ant && cd ../
> cp -rf server tools plugins/ $(INSTDIR)$(TOOLSDIR)/
>
>And in our plugin we build it as following, (and make depend on
>buildtools)
>
>ant -Dtools-folder=/usr/share/kopano-webapp-buildtools/tools/ \
> -Dserver-folder=/usr/share/kopano-webapp-buildtools/server/
> -Dtarget-folder=deploy -Dplugin-folder=files -Dplugin=files deploy;
>
>
>I hope that helps, otherwise I can probably share the
>kopano-webapp-buildtools package.
>I think copying the whole plugins directory is a bug.. :) I think it
>really needs plugins/build.xml to be
>copied for the plugin to build.
>
>_______________________________________________
>Pkg-giraffe-discuss mailing list
>Pkg-giraffe-discuss at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-giraffe-discuss
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-giraffe-discuss/attachments/20161208/042d2757/attachment.html>
More information about the Pkg-giraffe-discuss
mailing list