IzPack
  1. IzPack
  2. IZPACK-617

IZPack ant task is failing with "com.izforge.izpack.api.exception.CompilerException: Neither install file nor text specified "

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      izpack 5 beta 2 tag
    • Number of attachments :
      0

      Description

      I'm trying to build using the ant task plugin.

      I've been trying to track down what is causing this.

      I see that the ant task is creating a compilerData without the install
      file or install text.

      CompilerData compilerData = new CompilerData(compression, kind, null,
      configText, basedir, output, compressionLevel);

      Instead, it tries to set it with:
      propertyManager.setProperty("izpack.file", file.toString());

      But then it seems that when i get to CompilerConfig#getXMLTree(), it
      bails because neither the install file nor install text have been set on
      the CompilerConfig.

        Activity

        Hide
        Mark Miller added a comment -

        from the mailing list:

        Can you fill a Jira ticket? I will take care of it.

        Cheers,
        Anthonin

        Show
        Mark Miller added a comment - from the mailing list: Can you fill a Jira ticket? I will take care of it. Cheers, Anthonin
        Hide
        Anthonin Bonnefoy added a comment -

        Pico container was not correctly initialised.
        The ant task should work now.

        Show
        Anthonin Bonnefoy added a comment - Pico container was not correctly initialised. The ant task should work now.
        Hide
        Mark Miller added a comment -

        I just tried the beta3 and I still have the same problem unfortunately...

        Show
        Mark Miller added a comment - I just tried the beta3 and I still have the same problem unfortunately...
        Hide
        Mark Miller added a comment -

        Okay, I think this is actually good now.

        Was getting caught up on "Added ant task to distribution" I think - missed that I hadn't replaced my old jar because the new jar was not in the dist.

        I've run into another issue right after, but I'm beyond this issue it looks.

        Thanks,

        Mark

        Show
        Mark Miller added a comment - Okay, I think this is actually good now. Was getting caught up on "Added ant task to distribution" I think - missed that I hadn't replaced my old jar because the new jar was not in the dist. I've run into another issue right after, but I'm beyond this issue it looks. Thanks, Mark

          People

          • Assignee:
            Anthonin Bonnefoy
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: