Custom action icons are not packaged in amp file.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2015 02:57 PM
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?
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?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2015 04:53 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2015 04:06 PM
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.
I have also tried the "mvn clean package" and various combinations of building
with and without amp-to-war. Nothing seems to work.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2015 05:25 AM
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.
Are you able to share the project?
Are you able to share the project?
