https://bz.apache.org/bugzilla/show_bug.cgi?id=57707

            Bug ID: 57707
           Summary: Execute failed: java.io.IOException: Cannot run
                    program "wine"
           Product: Tomcat 7
           Version: 7.0.59
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: minf...@sharp.fm

When attempting to run "ant release" on MacOSX 10.10, the build fails as
follows:

BUILD FAILED
/Users/minfrin/src/tomcat/TOMCAT_7_0_59/build.xml:2082: Execute failed:
java.io.IOException: Cannot run program "wine" (in directory
"/Users/minfrin/src/tomcat/TOMCAT_7_0_59/output/dist"): error=2, No such file
or directory
    at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
    at java.lang.Runtime.exec(Runtime.java:593)
    at
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
[SNIP]

Googling for a workaround led me to this:

http://qnalist.com/questions/4654266/vote-release-apache-tomcat-8-0-0-rc10

In which the following is stated:

013/12/23 Andrew Carr :
You cannot build a Windows Installer on an Unix system without wine.
(The installer is built by NSIS which is a Windows executable).
You can skip the step by setting "skip.installer" property in Ant
configuration.
(This option is not mentioned in BUILDING.txt though).

If wine is a prerequisite, the ant build should fail cleanly pointing out in
the clear and unambiguous error message that a) wine is required and b) that
the skip.installer property can be used to bypass this if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to