![]() site-data, with subfolders pages and template-instaces is where you can put your custom pages.messages folder, here you can put your custom messages.Most important path here is \src\main\amp\config\alfresco, this is where you would add your share pages, messages, webscripts and so on. Possible folders that can be there are listed bellow and their purpose as well. Add created project to eclipse and walla.Accept other default values and finish the wizard. Wizard will ask you to type values for properties groupId, artifactId, version, package and most important part alfresco_target_amp_client_war, here you need to enter share.You will be asked to confirm creating of maven project, if approved you will be creating project for alfresco module and that is not the goal here, type N( for No ).Define artifactId: alfrescoBlogAMPArchShare.Choose amp-archetype version by entering 5 (version 1.1.1).Choose archetype by selecting between amp-archetype(1) and allinone-archetype(2), select first option.Mvn archetype:generate -DarchetypeCatalog= -Dfilter=: Open console and go to your desired workspace folder.I prefer eclipse you can feel free to use what you like the most. ![]() Check for java version 1.7 typing java -version in your console. ![]() Add MAVEN_OPTS=“-Xms256m -Xmx1G -XX:PermSize=500m“ ( I could not run jUnit with PermSize=300m ).Download Maven 3.0.3 version from and install it using this instuction. ![]() Follow we wrote about Maven Alfresco SDK and creating module for alfresco.war, now we are going to see how to create module for share.war application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |