org.apache.tools.ant.taskdefs.compilers

Class Gcj

    • Constructor Detail

      • Gcj

        public Gcj()
    • Method Detail

      • execute

        public boolean execute()
                        throws BuildException
        Performs a compile using the gcj compiler.
        Returns:
        true if the compilation succeeded
        Throws:
        BuildException - on error
      • setupGCJCommand

        protected Commandline setupGCJCommand()
        Set up the gcj commandline.
        Returns:
        the command line
      • isNativeBuild

        public boolean isNativeBuild()
        Whether any of the arguments given via <compilerarg> implies that compilation to native code is requested.
        Returns:
        true if compilation to native code is requested
        Since:
        Ant 1.6.2