Re: can't create SWC binary: Error: nothing was specified to be included in the library

415 views
Skip to first unread message

Michal Kolesár

unread,
Apr 9, 2013, 7:50:48 AM4/9/13
to zx...@googlegroups.com
Thank you Bas, it works well!

Info from Bas:

Hi Michal,

Someone added that ant building stuff a while ago, although I admit I had never user it before.
I have always been working directly in Flexbuilder.
I managed to get it working by adding the following line to the <compc> block in the build.xml file:
<include-sources dir="${basedir}/core/src" includes="*" />

Somehow without this line it did not find the correct files to include.
I have attached the output to this email.
I have not been able to test if the output actually works so forgive me if it produces some errors.

I'll try to update the description when I have some time left.

Best regards,

Bas


Dne pátek, 5. dubna 2013 23:22:23 UTC+2 Michal Kolesár napsal(a):
Hi,

I have problem with creating zxing SWC binary. I followed these instructions:


And still get following error

CONSOLE OUTPUT:

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core
$ export FLEX_HOME=/c/Program\ Files/Adobe/Adobe\ Flash\ Builder\ 4.6/sdks/
3.6.0/        4.6.0/        4.6.0_air3.5/

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core
$ export FLEX_HOME=/c/Program\ Files/Adobe/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.
0_air3.5/

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core
$ export PATH=$PATH:/c/dev/apache-ant-1.9.0/bin/

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core
$ ant
Buildfile: c:\dev\zxing-2.1\actionscript\core\build.xml

init:

build:
    [compc] Loading configuration file C:\Program Files\Adobe\Adobe Flash Builde
r 4.6\sdks\4.6.0_air3.5\frameworks\flex-config.xml
    [compc] Adobe Compc (Flex Component Compiler)
    [compc] Version 4.6.0 build 23201
    [compc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
    [compc]
    [compc] Error: nothing was specified to be included in the library
    [compc]
    [compc] Use 'compc -help' for information about using the command line.

BUILD FAILED
c:\dev\zxing-2.1\actionscript\core\build.xml:62: compc task failed

Total time: 0 seconds

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core
$ v src/com/google/zxing/
BarcodeFormat.as                 ResultMetadataType.as
Binarizer.as                     ResultPoint.as
BinaryBitmap.as                  ResultPointCallback.as
BufferedImageLuminanceSource.as  Writer.as
ChecksumException.as             WriterException.as
DecodeHintType.as                aztec/
EncodeHintType.as                client/
FormatException.as               common/
LuminanceSource.as               datamatrix/
MultiFormatReader.as             maxicode/
MultiFormatWriter.as             multi/
NotFoundException.as             oned/
Reader.as                        pdf417/
ReaderException.as               qrcode/
Result.as

kolisko@PCMICHAL /c/dev/zxing-2.1/actionscript/core

Bas Vijfwinkel

unread,
Apr 9, 2013, 7:49:30 PM4/9/13
to zx...@googlegroups.com
Thanks for posting the info.
I have committed the addition to the build.xml script to the repository.
Reply all
Reply to author
Forward
0 new messages