[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

help understanding java compile issue for lombok.ast



I'm packaging lombok and related things since the Android SDK Tools
depend on it.  They all build with a custom additions to ivy called
ivyplusplus, which I've packaged.  The build/compile process runs fine,
but it does not actually compile some of the .java files into .class
files.  Looking at the `ant -verbose` output of the build using my
ivyplusplus package versus the official ivyplusplus binary does not show
really any differences that I can spot.

The only differences I see between the two compilation logs are:

* the official ivyplusplus has:
    -target 1.8 -encoding UTF-8 -g -Xlint:unchecked -source 1.8
* my Debian ivyplusplus has:
    -target 1.7 -g:none -source 1.7

I'm currently building with openjdk-7, hence that difference, but it
still should generate .class files, or at least throw an error or warning.

Here's the build log using my ivyplusplus package:

templateProcessor:
    [mkdir] Skipping
/export/share/code/pkg-java/lombok-ast/build/templateProcessor because
it already exists.
    [javac] /export/share/code/pkg-java/lombok-ast/build.xml:101:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] lombok/ast/template/CopyMethod.java added as
lombok/ast/template/CopyMethod.class doesn't exist.
    [javac] lombok/ast/template/ForcedType.java added as
lombok/ast/template/ForcedType.class doesn't exist.
    [javac] lombok/ast/template/GenerateAstNode.java added as
lombok/ast/template/GenerateAstNode.class doesn't exist.
    [javac] lombok/ast/template/Mandatory.java added as
lombok/ast/template/Mandatory.class doesn't exist.
    [javac] lombok/ast/template/NotChildOfNode.java added as
lombok/ast/template/NotChildOfNode.class doesn't exist.
    [javac] lombok/ast/template/ParentAccessor.java added as
lombok/ast/template/ParentAccessor.class doesn't exist.
    [javac] lombok/ast/template/SyntaxCheck.java added as
lombok/ast/template/SyntaxCheck.class doesn't exist.
    [javac] lombok/ast/template/SyntaxValidityCheckerGenerator.java
added as lombok/ast/template/SyntaxValidityCheckerGenerator.class
doesn't exist.
    [javac] lombok/ast/template/TemplateProcessor.java added as
lombok/ast/template/TemplateProcessor.class doesn't exist.
    [javac] lombok/ast/template/package-info.java omitted as
/export/share/code/pkg-java/lombok-ast/build/templateProcessor/lombok/ast/template/package-info.class
is up to date.
    [javac] Compiling 9 source files to
/export/share/code/pkg-java/lombok-ast/build/templateProcessor
    [javac] Using modern compiler
    [javac] Compilation arguments:
    [javac] '-d'
    [javac] '/export/share/code/pkg-java/lombok-ast/build/templateProcessor'
    [javac] '-classpath'
    [javac]
'/export/share/code/pkg-java/lombok-ast/build/templateProcessor:/usr/share/java/com.zwitserloot.cmdreader.jar:/usr/share/java/ecj.jar:/usr/share/java/guava.jar:/usr/share/java/lombok-utils.jar:/usr/share/java/lombok.jar:/usr/share/java/parboiled-core.jar:/usr/share/java/spi.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/ivyplusplus.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/maven-ant-tasks.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-junit4.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-apache-xalan2.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant-contrib.jar:/usr/share/ant/lib/ant.jar:/usr
/share/ant
/lib/ant-testutil.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar'
    [javac] '-sourcepath'
    [javac] '/export/share/code/pkg-java/lombok-ast/src/template'
    [javac] '-target'
    [javac] '1.7'
    [javac] '-g:none'
    [javac] '-source'
    [javac] '1.7'
    [javac]
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] Files to be compiled:
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/CopyMethod.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/ForcedType.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/GenerateAstNode.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/Mandatory.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/NotChildOfNode.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/ParentAccessor.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/SyntaxCheck.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/SyntaxValidityCheckerGenerator.java
    [javac]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/TemplateProcessor.java


Reply to: