내 java 프로젝트를위한 NSIS 스크립트를 만들었습니다. 내 eclipse.using 플러그인에 nsis 플러그인을 설치했습니다. nsi file.Now를 작성했습니다. nsi 파일을 컴파일하려고합니다. Eclipse에서 Ant를 사용하려고합니다.개미를 사용하여 NSIS 스크립트를 컴파일하는 방법은 무엇입니까?
<?xml version="1.0" encoding="UTF-8"?>
<project name="test" default="nsis" basedir=".">
<property name="build.path" value="build"/>
<property name="deploy.dir" value="/opt/test"></property>
<path id="library.classpath">
<fileset dir="lib">
<include name="nsisant-1.2.jar"/>
</fileset>
</path>
<target name="nsis" description="compile nsis script">
<mkdir dir="${build.path}/nsis"/>
<nsis script="setup.nsi">
<classpath refid="library.classpath"/>
</nsis>
</target>
</project>
그러나 다음 오류가 발생합니다.
BUILD FAILED
build.xml:12: Problem: failed to create task or type nsis
Cause: 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.
왜 이런 일이 발생하는지 알고 싶습니까? 개미를 사용하여 nsi 파일을 컴파일하는 방법은 무엇입니까? 또는 개미를 사용하지 않고 컴파일 할 수있는 다른 방법이 있습니까?
감사합니다. makensis.exe 파일을 받고 있습니까? Google에서 검색하지 못했습니다. 다운로드 파일입니까? 어떤 링크를 제공하거나 makensis.exe 사용 방법을 알려주실 수 있습니까? – Ami
[NSIS homepage] (http://nsis.sourceforge.net)로 이동하여 다운로드를 클릭하십시오. – Jarekczek
Thankss.i가 다운로드되었습니다. 위의 Windows 및 Linux 작업용 스크립트는 무엇입니까? 리눅스에서만? – Ami