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


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

help finishing lombok packages

Path csiph.com!news.mixmin.net!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news.panservice.it!bofh.it!news.nic.it!robomod
From Hans-Christoph Steiner <hans@at.or.at>
Newsgroups linux.debian.maint.java
Subject help finishing lombok packages
Date Fri, 18 Dec 2015 11:00:02 +0100
Message-ID <qGZZo-3W6-13@gated-at.bofh.it> (permalink)
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Fri Dec 18 09:55:20 2015
Old-Return-Path <hans@at.or.at>
X-Amavis-Spam-Status No, score=-4.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, COMPANYSYMBOLPRICE=3, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .at. - helo: .out1-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=buRc+kR7yvkyt1upZO62YJOEtIM=; b=TSH2N ks1tFWcm8AJ1Fedi68VrQ3q70CdPxWbM4GbHEoHyCV6EPoPHx3lhmUlvZX1BVlVA xm61Bp7yAgJGnaEzrpFLgPZAomZTMSE3DJzXrsQyD+KrHCiTsGPANh1a9cLhjCVP 9M5CvJagGK7fYye+OOLbBAsxpZdkI86cBAMjvo=
X-Sasl-Enc 0hoXrB5xThCXuLAX8bTtX3RPOnISSoTvfdjxAGO+Z5D4 1450432498
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/18996
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/5673D7F0.2080005@at.or.at
Approved robomod@news.nic.it
Lines 61
Sender robomod@news.nic.it
X-Original-Date Fri, 18 Dec 2015 10:54:56 +0100
X-Original-Message-ID <5673D7F0.2080005@at.or.at>
Xref csiph.com linux.debian.maint.java:8677

Show key headers only | View raw


Hey all,

I've been working to package the 'project lombok' suite of libraries and
tools, and its been pretty brutal.  They are all interdependant on each
other, so I've ended up writing my own build ant system for lombok and
ivyplusplus to get around that.  Also, the native build system makes
bundled jars that include all of the dependencies, so that doesn't work
for Debian anyhow.

I'm on the final step, lombok.ast, which is the actually library that I
need for the Android SDK.  And I've hit an issue that I think would be
easy to fix for someone with more knowledge of Java and its build
systems.  lombok provides decorators that generate code, for example
@Getter and @Setter.  For some reason, the @Data decorator is not
working when building ivyplusplus and lombok.ast.

So for example in lombok.ast, @Data should generate all of the getters
and setters for the variables in this class:

	@Data
	static class FieldData {


But its not, and I don't know why:

[ivy:compile]   symbol:   method getName()
[ivy:compile]   location: variable field of type FieldData
[ivy:compile]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/TemplateProcessor.java:810:
error: cannot find symbol
[ivy:compile] 		out.write(String.format("\tpublic %s %s() {\n",
relation.getTypeNameTo(), relation.getMethodName()));
[ivy:compile] 		                                                        ^
[ivy:compile]   symbol:   method getTypeNameTo()
[ivy:compile]   location: variable relation of type ParentRelation
[ivy:compile]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/TemplateProcessor.java:810:
error: cannot find symbol
[ivy:compile] 		out.write(String.format("\tpublic %s %s() {\n",
relation.getTypeNameTo(), relation.getMethodName()));
[ivy:compile] 		
                          ^
[ivy:compile]   symbol:   method getMethodName()
[ivy:compile]   location: variable relation of type ParentRelation
[ivy:compile]
/export/share/code/pkg-java/lombok-ast/src/template/lombok/ast/template/TemplateProcessor.java:811:
error: cannot find symbol
[ivy:compile] 		out.write(String.format("\t\tif (!(this.getParent()
instanceof %s)) return null;\n", relation.getTypeNameTo()));
[ivy:compile] 		
                                     ^

Here are the relevant repos:

https://anonscm.debian.org/git/pkg-java/lombok-ast.git
https://anonscm.debian.org/git/pkg-java/ivyplusplus.git
https://anonscm.debian.org/git/pkg-java/lombok.git


.hc

Back to linux.debian.maint.java | Previous | Next | Find similar


Thread

help finishing lombok packages Hans-Christoph Steiner <hans@at.or.at> - 2015-12-18 11:00 +0100

csiph-web