cancel
Showing results for 
Search instead for 
Did you mean: 

Share project - AMP packaging

matjazmuhic
Champ on-the-rise
Champ on-the-rise
I recently (almost) finished a project. Now I want to make it in amp package but not much is written about that.

I found that you can generate project strcuture with maven as there are archetypes for alfresco projects. But my main concern is that I have share site with directory structure, and those directories are configured via other spaces in companyhome/myConfiguration so also I have to package those two things inside. Also those spaces have rules which execute two scripts that are inside "Data dictionary" in space scripts and I have also few webscripts extensions defined in "Data dictionary". And finally, I have all the configuration things in extension and web-extension folders.

As far as I know from looking on wiki and google-ing it, noone describes how to package those things as a whole. By those things I mean:  scripts, webscripts, share components/webscripts, models, workflows, …

Any suggestions?
2 REPLIES 2

matjazmuhic
Champ on-the-rise
Champ on-the-rise
Nobody knows anything about this? Smiley Sad

flefoll
Champ in-the-making
Champ in-the-making
Hi,

Late answer, sorry.
I didn't found any correct maven amp artifact for handling this,
I produce my own ant script.

For example, the followed project : http://code.google.com/p/alfrescoshareflowplayer/
works as a charme as a share/amp extension, organized such way :
./file-mapping.properties
./module.properties
./WEB-INF/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/form/controls/mimetype.ftl
./WEB-INF/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/preview/web-preview.get.html.ftl
./WEB-INF/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/preview/web-preview.get.head.ftl
./web/components/preview/flowplayer-3.2.2.swf
./web/components/preview/flowplayer.controls-3.2.1.swf
./web/components/preview/flowplayer-3.2.2-min.js
./web/components/preview/style.css

with ./file-mapping.properties

include.default=false
/WEB-INF=/WEB-INF
/web=/

About "Data Dictionary" or any other type of repository import, you can handle them only with alfresco/amp module (bootstrap options).

It regularly means that you may have to create 2 extensions (one for alfresco, and one for share) to fully support your extended feature.

Regards,

Francois Lefoll