I have created a custom action following the example in Jeff Pott's tutorial. The action is working. The problem is that the icons (-16.png files) are not included in the AMP file that is being built.
In my share project (in eclipse) I have the png files in src/main/amp/web/components/documentlibrary/actions
What do I need to do to get this path included in the AMP?
Are you using the AMP archetype or all-in-one? Which version of the SDK are you using?
If you're using the AMP archetype, please make sure that you do a "mvn clean package" to generate your artifacts. If you have the "amp-to-war" profile activated when doing it, you might see this result.
I am using the AMP archetype and SDK version 2.1.0 (also tried changing to 2.1.1). I have also tried the "mvn clean package" and various combinations of building with and without amp-to-war. Nothing seems to work.
Have you done any customisation to the pom.xml file? I have just tried with both a 2.1.0 and 2.1.1 project by placing a file in src/main/amp/web/components/documentlibrary/actions. Doing a "mvn clean package", then unzipping the produced AMP file in the target directory I verified that the file was present in web/ folder inside the AMP.