dr_bender
-
Постов
6 -
Зарегистрирован
-
Посещение
Никогда
Сообщения, опубликованные dr_bender
-
-
И куда это всё складывать?
в консоли набирать или прописывать...
У меня нету таких папок вообще.
-
[root@fbsdsrv /usr]# cd /opt/sun/bin/ant
su: cd: /opt/sun/bin/ant: No such file or directory
нету таких категории
-
При компиляции red5 выдаёт такое:
Цитата:
-java6.check:[echo] Using Java 1.6prepare:compile:[echo] javac version: 1.6[echo] Not using the Eclipse IDE[echo] Compiler adapter name: modern[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.x ml. It could not be found.compile-core:[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.x ml. It could not be found.retrieve:BUILD FAILED/usr/home/red5/red5-0.9.1/build.xml:217: The following error occurred while exec uting this line:/usr/home/red5/red5-0.9.1/build.xml:231: The following error occurred while exec uting this line:/usr/home/red5/red5-0.9.1/build.xml:176: Problem: failed to create task or type antlib:org.apache.ivy.ant:settingsCause: 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.No types or tasks have been defined in this namespace yetThis appears to be an antlib declaration.Action: Check that the implementing library exists in one of:-/usr/local/share/java/apache-ant/lib-/root/.ant/lib-a directory added on the command line with the -lib argumentTotal time: 0 seconds[/home/red5/red5-0.9.1]#Фаил со всем нужным ему находится в [путь]/lib/ant.jar В чём проблема? Почему ant не может получить доступ?
-
Вот жеж прописал и всё равно не комп. red5
пишет:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Может опять неправильные пути?
Устанавливал из портов.
-
Мне нужно прописать JAVA_HOME и ANT_HOME
Делаю всё стандартно...
#export JAVA_HOME=/usr/local/jdk1.6.0 >> /etc/profile
#export ANT_HOME=/usr/local/bin >> /etc/profile
Прозваниваю, - работает
Но, когда перезахожу, то пустые.
Как установить переменные?
в FreeBSD
Опубликовано
/user/local/ant/apache-ant-1.8.1
этот путь...
но компиляция всё равно не идёт... Даже при верном расположении пути. См. другую мою тему.
Вчера, видел как разработчики от red5, при ошибке сборки с помощью ANT советовали установить переменную JDK_HOME. Но у меня она же будет полностью совпадать с JAVA_HOME.