RSS 2.0
Sign In
# Saturday, February 5, 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, February 5, 2011 9:12:05 PM UTC  #    Comments [3] -
Announce | Java | xslt
Monday, August 22, 2011 9:12:57 PM 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, August 23, 2011 9:50:01 AM 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, August 24, 2011 6:39:44 PM UTC
It works now perfectly. Many thanks for your quick reply and fix.

Kind regards, Marcus
Marcus
Comments are closed.
Archive
<October 2024>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Statistics
Total Posts: 387
This Year: 3
This Month: 0
This Week: 0
Comments: 1636
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)