Показать сообщение отдельно
Старый 03.10.2006, 19:58
meiciuc вне форума Посмотреть профиль Отправить личное сообщение для meiciuc Найти все сообщения от meiciuc
  № 1  
Ответить с цитированием
meiciuc

Регистрация: Nov 2005
Сообщений: 149
По умолчанию Разработка Flash-проектов с использованием Apache Ant

Здравствуйте. Обращаюсь к знатокам, читавшим статью Constantinera по адресу http://constantiner.blogspot.com/200...new-media.html

у меня, хоть тресни, не получается получить положительный результат. У станавливаю все, кроме eclips; в коммандной строке даю ant, и получаю результат

Код:
D:\flash\image_gallery>ant
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.
0_06\lib\tools.jar
Buildfile: build.xml
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xm
l. It could not be found.

clear:
   [delete] Deleting directory D:\flash\image_gallery\build
   [delete] Deleting directory D:\flash\image_gallery\log

init:
    [mkdir] Created dir: D:\flash\image_gallery\build
    [mkdir] Created dir: D:\flash\image_gallery\log
    [mkdir] Created dir: D:\flash\image_gallery\build\images

compile:
     [echo] Compiling "D:\flash\image_gallery\fla\main.fla" to "D:\flash\image_g
allery\build\image_viewer.swf"

BUILD FAILED
D:\flash\image_gallery\build.xml:99: The following error occurred while executin
g this line:
D:\flash\image_gallery\build.xml:186: Execute failed: java.io.IOException: Creat
eProcess: flashcommand.exe -e -s D:\flash\image_gallery\fla\main.fla -l D:\flash
\image_gallery\log\flashlog.txt -o D:\flash\image_gallery\build\image_viewer.swf
 -cp D:\flash\image_gallery\lib;D:\flash\image_gallery\src error=2

Total time: 1 second
вроде все делал, по написанному, но явно где-то напортачил - у других ведь работает. Подскажите. Заранее спасибо.