Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

basedir definition is missing #3

Open
SInCE opened this issue Apr 19, 2013 · 3 comments
Open

basedir definition is missing #3

SInCE opened this issue Apr 19, 2013 · 3 comments

Comments

@SInCE
Copy link

SInCE commented Apr 19, 2013

Hi,

I tried to build a custom flowplayer, but it failed because of an undefined ${basedir}.

** Build log: **


F:\DEV\fp_flash\flash\core>ant
Buildfile: F:\DEV\fp_flash\flash\core\build.xml

check-uptodate:
[echo] main up-to-date: ${uptodate.main}
[echo] main up-to-date: ${uptodate.commercial}
[echo] lib up-to-date: true

build-lib:

plugins:

build:
[echo] ++ flowplayer.controls.swf +++
[echo]

prepare:
[unzip] Expanding: F:\DEV\fp_flash\flash\core\build\flowplayer.swc into F:\D
EV\fp_flash\flash\plugins\controls\build

compile:
[echo] compiling with src/flash/modern
[echo] compiling with -define=CONFIG::skin,'true' -define=CONFIG::hasSlowM
otion,'true'
[exec] Konfigurationsdatei F:\DEV\fp_flash\flex46\frameworks\flex-config.xm
l wird geladen
[exec] F:\DEV\fp_flash\flash\plugins\controls\src\actionscript\org\flowplay
er\controls\Controls.as: Warnung: Bei dieser Kompilierungseinheit war in den Fra
me-Metadaten keine factoryClass zum Laden der konfigurierten, zur Laufzeit gemei
nsam genutzten Bibliotheken angegeben. Um ohne zur Laufzeit gemeinsam genutzte B
ibliotheken zu kompilieren, legen Sie entweder die Option ä-static-link-runtime-
shared-librariesô als ätrueô fest oder entfernen die Option ä-runtime-shared-lib
rariesô.
[exec]
[exec] F:\DEV\fp_flash\flash\plugins\controls\build\flowplayer.controls.swf
(38350 Byte)
[copy] Copying 1 file to F:\DEV\fp_flash\flash\plugins\controls\build

deploy:

_deploy:
[echo] deploying plugin to ../../core
[copy] Copying 1 file to F:\DEV\fp_flash\flash\core\build
[copy] Copying 1 file to F:\DEV\fp_flash\flash\core\build
[copy] Copying 1 file to F:\DEV\fp_flash\flash\core\dist

dobuild:

prepare:

compile:
[echo] Building binary flowplayer.swf, mxmlc is F:/DEV/fp_flash/flex46/bin/
mxmlc.exe
[exec] Konfigurationsdatei F:\DEV\fp_flash\flex46\frameworks\flex-config.xm
l wird geladen
[exec] F:\DEV\fp_flash\flash\core\build\flowplayer.swf ist auf dem aktuelle
n Stand und muss nicht neu erstellt werden.
[echo] building example
[delete] Deleting directory F:\DEV\fp_flash\flash\core\build\example-free
[copy] Copying 1 file to F:\DEV\fp_flash\flash\core\build\example-free
[copy] Copying 1 file to F:\DEV\fp_flash\flash\core\build\example-free

jsplugins:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xm
l. It could not be found.

BUILD FAILED
F:\DEV\fp_flash\flash\core\build.xml:561: The following error occurred while exe
cuting this line:
F:\DEV\fp_flash\flash\core\build.xml:354: The following error occurred while exe
cuting this line:
F:\DEV\fp_flash\flash\js-plugins\controls\build.xml:10: The following error occu
rred while executing this line:
F:\DEV\fp_flash\flash\lib\devkit\js.xml:21: Problem: failed to create task or ty
pe var
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.

Total time: 11 seconds

F:\DEV\fp_flash\flash\core>

It would be great if you can fix this :) I appreciated!

Best regards,
SInCE

My Flex, JDK and Ant version:
Flex: 4.6.0
JDK: 1.7.0_13
Ant: 1.8.4
Windows 7

@jkolobok
Copy link

got the same problem.
flex 4.10
jdk 1.7.0_40
ant 1.8.2
osx 10.8.5

@danrossi
Copy link
Contributor

http://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-0.6/ ant contrib is required and it seems the new build files cant customise its location. this needs to be placed into the ant lib directory whereever this may be.

@ghost
Copy link

ghost commented Nov 12, 2013

I had the same issue.
I had installed ant-contrib from openSuse repositories (no idea if there's anything like that for OS X):
But still the error occured.

I was able to fix it by adding the 'classpath' attribute in flash-build/js.xml:

original:
<taskdef resource="net/sf/antcontrib/antlib.xml"/>

modified:
<taskdef resource="net/sf/antcontrib/antlib.xml" classpath="/usr/share/java/ant-contrib.jar"/>

This allowed be to finally do a complete and successful build of Flowplayer Flash 3.2.17.

I wish you good results! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants