Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS SWF Flow Framework - Eclipse AspectJ Load-Time Weaving

Has anyone managed to get the AWS SDK samples for Simple Workflow and the Flow Framework to work properly? I've followed the Eclipse set-up instructions (http://docs.amazonwebservices.com/amazonswf/latest/awsflowguide/setup.html) to the letter, but no classes get generated. As a result my project won't build because there are missing *Client classes all over the place.

I've tried this with both the samples in the SDK and the ImageProcessing sample that is offered when one first logs into the SWF Admin Console. Colleagues similarly can't get it to work.

like image 401
EngineerBetter_DJ Avatar asked Aug 14 '26 18:08

EngineerBetter_DJ


1 Answers

Update

Please see my second answer first, which addresses an easy to miss but important prerequisite step; the problem addressed in the initial answer below might be a configuration issues with my STS installation only in fact.


Are you by chance using SpringSource Tool Suite (STS)? This appears to be a conflict between the AspectJ support implicitly installed by STS (or Spring Roo for that matter) and the documented AspectJ developer tools for Eclipse to be installed via the built-in Eclipse Marketplace client for example.

I have an Eclipse Indigo installation with an after the fact STS install via the STS Eclipse update site (i.e. not the SpringSource download bundle), yet experienced the very same problem. Installing the AspectJ developer tools for Eclipse from the marketplace as well didn't change this, despite some back and forth configuration attempts (though no error has been logged), especially the missing AspectJ runtime jar is nowhere to be seen (org.aspectj.runtime.source_1.6.12.20110613132200.jar in my case).

However, using the identical Eclipse package and installing only the AspectJ developer tools for Eclipse yields the AspectJ runtime to be installed indeed, and the sample working just fine in turn.

Good luck!

like image 148
Steffen Opel Avatar answered Aug 16 '26 13:08

Steffen Opel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!