2016-05-28 3 views
1

Я пытаюсь создать ИИ для рискованной игры Lux Delux, которая будет использовать нейронную сеть, обученную Deeplearning4j.Ant build.xml с Deeplearning4j и Lux Delux

Естественно, когда я компилирую, я получаю кучу пакета, не существует ошибок. Как можно было бы добавить такие зависимости к сборке муравьев? Нужно ли использовать Ivy? Построение файла выглядит следующим образом:

<?xml version="1.0" encoding="UTF-8"?> 
<project name="SillysoftSDK" default="compile" basedir="."> 
    <!-- Edit these properties to fit your build environment. 
     Then you will be able to run the 'ant dist' command to re-compile 
     and deploy your file to where Lux will find it. --> 
    <property name="built_file" location="build/com/sillysoft/lux/agent/YourClassName.class" /> 
    <property name="lux_agent_folder" location="${user.home}/Library/Application Support/Lux/Agents/" /> 
    <property name="lux_mapgen_folder" location="${user.home}/Library/Application Support/Lux/MapGenerators/" /> 


    <!-- Move your agent class into Lux's agent folder (switch it to lux_mapgen_folder if needed) --> 
    <target name="dist" depends="compile"> 
     <copy file="${built_file}" todir="${lux_agent_folder}"/> 
    </target> 


    <!-- Clean all build products --> 
    <target name="clean"> 
     <delete dir="build"/> 
    </target> 

    <!-- Compile the java files into their .class files --> 
    <target name="compile"> 
     <mkdir dir="build"/> 
     <javac srcdir="src" destdir="build" 
      debug="true" 
      debuglevel="lines,vars,source" 
      includeantruntime="false" 
      target="1.7" 
      source="1.7" > 
     <compilerarg value="-XDignore.symbol.file"/> 
     </javac> 
    </target> 

</project> 
+0

Пожалуйста, ознакомьтесь с [documentation] (https://ant.apache.org/manual/using.html), чтобы включить зависимости как путь к классам. – Rao

+0

Не стесняйтесь присоединяться к сообществу на Gitter, если у вас есть вопросы: https://gitter.im/deeplearning4j/deeplearning4j – tremstat

ответ

0

Если вы должны использовать муравей по какой-то причине взгляд на строительство убер баночку с помощью Maven и в том числе, как он.