fargre.blogg.se

Alfresco maven sdk eclipse how to install
Alfresco maven sdk eclipse how to install






alfresco maven sdk eclipse how to install

In web-extension folder create file with name share-config-custom.xml, contents of this file should be as it is listed bellow. When you want to search for something , for instance users in the system it is required to type minimum 3 characters long query.

alfresco maven sdk eclipse how to install

web-extension, here you can put your custom share-config-custom.xml.site-webscripts, would contain your webscripts that can be called upon latter in share applications.

alfresco maven sdk eclipse how to install alfresco maven sdk eclipse how to install

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.Previously 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.








Alfresco maven sdk eclipse how to install