RSS 2.0
Sign In
# Saturday, 05 February 2011

We have updated @Yield annotation processor to support better debug info.

Annotation processor can be downloaded from Yield.zip or Yield.jar.

We also decided to consider jxom's state machine refactoring as obsolete as @Yield annotation allows to achieve the same effect but with more clear code.

JXOM can be downloaded from languages-xom.zip

See also:

Yield return feature in java
Why @Yield iterator should be Closeable
What you can do with jxom.

Saturday, 05 February 2011 21:12:05 UTC  #    Comments [3] -
Announce | Java | xslt
Monday, 22 August 2011 21:12:57 UTC
Hello,

I used to use your Yield enhancement. Unfortunately I receive an error if I activate the project specific setting "Java Compiler > Annotation Processing > Factory Path" and add your file "yield.jar".
This is the error that eclipse states after I press the apply button:

An internal error occurred during: "Rebuilding".
com.nesterovskyBros.annotation.processor.YieldService: Provider com.nesterovskyBros.annotation.processor.javac.YieldService could not be instantiated: java.lang.ClassCastException

Also eclipse signals the following error in the first line (defining the package name) of a POJO class:
Internal compiler error: java.util.ServiceConfigurationError: com.nesterovskyBros.annotation.processor.YieldService: Provider com.nesterovskyBros.annotation.processor.javac.YieldService could not be instantiated: java.lang.ClassCastException at java.util.ServiceLoader.fail(Unknown Source)



Could you please help?


Kind regards,
Marcus
Marcus
Tuesday, 23 August 2011 09:50:01 UTC
Marcus,

Thank you for the feedback.
We have found that we also have similar problem with the latest version of the eclipse compiler (that one we have in Indigo).

We have fixed and recompiled the code.
You can find sources at: Yield.zip,
and jars are: Yield.jar, Yield.3.7.jar. The later one for Indigo and higher.

Please reply back whether the fix has helped.
Thanks.
Wednesday, 24 August 2011 18:39:44 UTC
It works now perfectly. Many thanks for your quick reply and fix.

Kind regards, Marcus
Marcus
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

[Captcha]Enter the code shown (prevents robots):

Live Comment Preview
Archive
<2011 February>
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
272812345
6789101112
Statistics
Total Posts: 364
This Year: 9
This Month: 0
This Week: 0
Comments: 223
Locations of visitors to this page
Disclaimer
The opinions expressed herein are our own personal opinions and do not represent our employer's view in anyway.

© 2018, Nesterovsky bros
All Content © 2018, Nesterovsky bros
DasBlog theme 'Business' created by Christoph De Baene (delarou)