Skip to content

Solutions to build errors on MacOS #1

@djorlando24

Description

@djorlando24

Hi, I ran into two problems trying to build VICompactor on MacOS using java SE 9.0.4 x86_64.

  1. Ant couldn't find my junit*.jar and hamcrest*jar as it was completely ignoring the system classpath. I had to add them manually to project.properties on line 45. I'm running ant from the command line with no IDE.

  2. Build failed at -javadoc-build with errors like these:

  [javadoc] Constructing Javadoc information...
  [javadoc] /Users/dduke/Downloads/VICompactor/src/org/pfeifer/blockreader/BlockReader.java:28: error: malformed HTML
  [javadoc]  * @author Fabio Melo Pfeifer <fmpfeifer@gmail.com>
  [javadoc]                               ^

I had to modify line 1208 of build-impl.xml to add -Xdoclint:none to additionalparam, as per ghpaetzold/questplusplus#18

Line 1208 of build-impl.xml is now:

        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam} -Xdoclint:none" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">

Now it seems to be working like a treat. My NTFS .vdi files are compacting nicely. Good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions