Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8727

help understanding java compile issue for lombok.ast

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Hans-Christoph Steiner <hans@at.or.at>
Newsgroups linux.debian.maint.java
Subject help understanding java compile issue for lombok.ast
Date Sat, 16 Jan 2016 15:30:02 +0100
Message-ID <qRA1A-5th-3@gated-at.bofh.it> (permalink)
X-Original-To "debian-java@lists.debian.org" <debian-java@lists.debian.org>
X-Mailbox-Line From debian-java-request@lists.debian.org Sat Jan 16 14:20:32 2016
Old-Return-Path <hans@at.or.at>
X-Amavis-Spam-Status No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .at. - helo: .out5-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=DgZ0684mbBFqj/kY2GTnSi0IjLY=; b=Sw6DD dSdG59Swx1otjyAOH1YlgXRFnhOeNtHO69Ardrt7ar8VYhtXa/gMpz+0+kkUqHoN oQptbZCLboCz/wuTkb182t1MVoVBPvpKc6ofoJFaW3P5iWJ2FJDTugluOPK0P3DH MZXZuz+pjsbWWXOxSDwP2rGq18cFwYFn9lRvqs=
X-Sasl-Enc bR8FPvAGcdhR8xNuA8feid6Ym0EpHpc0IJjcsJI5caT7 1452954015
X-Enigmail-Draft-Status N1110
Organization @||@
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19047
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/569A5191.4070801@at.or.at
Approved robomod@news.nic.it
Lines 90
Sender robomod@news.nic.it
X-Original-Date Sat, 16 Jan 2016 15:20:01 +0100
X-Original-Message-ID <569A5191.4070801@at.or.at>
Xref csiph.com linux.debian.maint.java:8727

Show key headers only | View raw


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

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

help understanding java compile issue for lombok.ast Hans-Christoph Steiner <hans@at.or.at> - 2016-01-16 15:30 +0100
  Re: help understanding java compile issue for lombok.ast Markus Koschany <apo@debian.org> - 2016-01-18 22:40 +0100

csiph-web