0

每次我尝试在我的 中启动目标时build.xml,都会收到错误消息。这是我的相关部分build.xml

<!-- init -->
<target name="init" description="Inizializza lo script Ant">
    <echo message="====== INIZIO TARGET INIT PER: ${target} ..." />
    <tstamp/>
    <loadproperties srcFile="buildfiles/build.properties"/> <!-- Line 83 -->
    <!-- Controllo che se non viene passato nessun parametro target lo imposto
     ad un valore di default che corrisponde alla variabile default_target presente
     nel build.properties-->
    <condition property="target" value="${default_target}">
        <not>
            <isset property="target"/>
        </not>
    </condition>
    <echo message="target init dopo il test " />
    <!--contiene prop. specifiche per l'ambiente ${target} -->
    <loadproperties srcFile="buildfiles/${target}.properties" />

    <mkdir dir="${dist}/${target}"/>  <!-- contiene il tar -->
    <mkdir dir="${build}/archives"/>
    <mkdir dir="${build}/archives/${target}"/> <!-- contiene il jar-->
    <property environment="env"/>

    <echo message="***********************************" />
    <echo message="Il pacchetto sara' creato per : ${target}" />
    <echo message="JDK: ${env.JAVA_HOME}"/>
    <echo message="***********************************" />
</target>

这是 Eclipse 控制台中的错误:

BUILD FAILED
C:\Users\amministratore\workspace_csi\servfci\build.xml:83: Unable to load file: sun.io.MalformedInputException

我使用 java JDK 131.06。我该如何解决build.xml

4

0 回答 0