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
Comments are closed.
Archive
<2024 November>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567
Statistics
Total Posts: 387
This Year: 3
This Month: 0
This Week: 0
Comments: 1859
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.

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