[Pkg-giraffe-discuss] Try out to package kopano-webapp-plugin-files* fails

Carsten Schoenert c.schoenert at t-online.de
Sun Nov 20 14:18:01 UTC 2016


Hello Jelle,

while we waiting for a potential acceptation of kopanocore I was trying
to package kopano-webapp-plugin-files(*).

This wasn't very successful as it looks like the tarballs missing at
least additional files for getting Ant running through the sources.

> make[1]: Entering directory '/build/kopano-webapp-plugin-files-2.0.0.47'
> ant deploy deploy
> Buildfile: /build/kopano-webapp-plugin-files-2.0.0.47/build.xml
> 
> BUILD FAILED
> /build/kopano-webapp-plugin-files-2.0.0.47/build.xml:9: Cannot find /tools/antutil.xml imported from /build/kopano-webapp-plugin-files-2.0.0.47/build.xml
> 
> Total time: 0 seconds
> debian/rules:11: recipe for target 'override_dh_auto_build' failed

I was trying to use the tools folder from the kopano-webapp sources
(with a small change in build.xml), but this isn't enough because a next
error is happen directly.

> root at x201s:/build/kopano-webapp-plugin-files-2.0.0.47# ant deploy deploy
> Buildfile: /build/kopano-webapp-plugin-files-2.0.0.47/build.xml
>   [taskdef] /build/kopano-webapp-plugin-files-2.0.0.47/tools/antlib.xml:4: Warning: taskdef class com.zarafa.jsconcat.JsConcatTask cannot be found
>   [taskdef]  using the classloader AntClassLoader[/build/kopano-webapp-plugin-files-2.0.0.47/tools/lib/compiler.jar]
> 
> clean:
> 
> concat:
>     [mkdir] Created dir: /build/kopano-webapp-plugin-files-2.0.0.47/deploy/plugins/kopano-webapp-plugin-files-2.0.0.47/js
>      [echo] Concatenating: kopano-webapp-plugin-files-2.0.0.47-debug.js
> 
> BUILD FAILED
> /build/kopano-webapp-plugin-files-2.0.0.47/build.xml:86: The following error occurred while executing this line:
> /build/kopano-webapp-plugin-files-2.0.0.47/tools/antutil.xml:20: Problem: failed to create task or type jsconcat
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken place.
> 
> 
> Total time: 0 seconds

I'm really not familiar with the Ant or Maven hell so I don't know where
to look here.
And, would it be possible to collect all the *files* stuff into one
source tarball? It's for me a little bit overkill if I look further for
packaging the other plugins as well if they all split of into lot of
really small tarballs we have to create various source packages for.

The previous zarafa-webapp packages was more smart collected in my eyes.
What do think on Kopano/Zarafa for getting a more global solution for
this fragmentation? Is there any thing already planned by Kopano?

-- 
Regards
Carsten Schoenert



More information about the Pkg-giraffe-discuss mailing list