2
내 build.xml에서 "manifestclasspath"를 사용할 때 위의 Ant 문제가 발생합니다.Ant (os : windows)에 "No suitable relative path"가 없습니다.
나는 창문에 문제가있다.
없음 적합한 상대 경로 .................
C는 : 사용자 \ 저장소 \ 구성 요소 \ 플러그인 \ XmlSchema_1 \ TOSH \ 바탕 화면 \ SampleServer의 \. 4.7.wso2v2.jar
내 build.xml은 다음과 같습니다.
<path id="jar.classpath">
<pathelement path="${class.dir}"/>
<fileset dir="${basedir}/../../../repository/components/plugins">
<include name="*.jar"/>
</fileset>
</path>
<target name="init">
<mkdir dir="${class.dir}"/>
<manifestclasspath property="tem.classpath" jarfile="pathing.jar">
<classpath refid="jar.classpath"/>
</manifestclasspath>
<jar destfile="pathing.jar" basedir="target/classes">
<manifest>
<attribute name="Class-Path" value="${tem.classpath}"/>
</manifest>
</jar>
<path id="javac.classpath">
<pathelement path="${class.dir}"/>
<pathelement path="pathing.jar"/>
</path>
</target>
이유를 아는 사람이 있습니까?
이것은 대답 –
보다 주석이 더 많습니다. 이와 비슷한 문제가 해결되었습니다. – Dave