Hi
I wanted to start with Alfresco 6 developement with SDK 4,
can someone help me with the ressources or any references to get start with it.
Regards,
Brahmaiah Ganna
Solved! Go to Solution.
Concept wise everytihng is same as previous version, If you are very much new to alfresco then refer this post for more details:
To start with SDK4.x you should have idea about docker, docker-compose, DockerFile etc. You can go through this blog to understand the docker based deployments:
You can follow the below given steps to generate and test a sample sd4 based project which uses ACS 6.2.x:
1- Generate the archetype [ use: mvn archetype:generate -Dfilter=org.alfresco: ] using SDK 4.1.0 (meant for ACS 6.2.x).
Decide to generate AIO or individual archetypes based on your current setup/preference.
See steps here:
You would get additional project named "yourproject-share-docker/yourproject-platform-docker". It will have DockerFile containing the base image and steps to be performed while launching the containers. You will also get a project named as "docker", this will have docker-compose.yml file which basically defines all the services which using which containers will be launced.
Make sure you provide the same groupId and artifactId as per your current project.
To get basic info of DockerFile, refer:
https://dzone.com/articles/understanding-dockerfile
https://docs.docker.com/engine/reference/builder/
To get basic info of docker-compose.yml, refer: https://docs.docker.com/compose/
2- Build and Start the containers and see if everything works ok. Use "run.bat build_start" (run.sh build_start for linux) command to build and start the docker containers. You can refer "run.bat or run.sh" files.
3- To remote debug and put breakpoints you can follow these documents. Make sure you add below step in platform DockerFile:
Add the below given line in your platform-docker project's DockerFile:
COPY hotswap-agent.properties $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes
For remote debugging follow the instructions given here:
Eclipse: https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/debugging/debug-eclipse.md
Have a look at this documentation as well: https://hub.alfresco.com/t5/alfresco-content-services-hub/alfresco-sdk-4-0/ba-p/289257
If you have not used any versions of SDK so far, then you can generate a sample artifact by referring to this post, you can find steps to generate base artifact here:
Please have a look a this Tutorial:
Concept wise everytihng is same as previous version, If you are very much new to alfresco then refer this post for more details:
To start with SDK4.x you should have idea about docker, docker-compose, DockerFile etc. You can go through this blog to understand the docker based deployments:
You can follow the below given steps to generate and test a sample sd4 based project which uses ACS 6.2.x:
1- Generate the archetype [ use: mvn archetype:generate -Dfilter=org.alfresco: ] using SDK 4.1.0 (meant for ACS 6.2.x).
Decide to generate AIO or individual archetypes based on your current setup/preference.
See steps here:
You would get additional project named "yourproject-share-docker/yourproject-platform-docker". It will have DockerFile containing the base image and steps to be performed while launching the containers. You will also get a project named as "docker", this will have docker-compose.yml file which basically defines all the services which using which containers will be launced.
Make sure you provide the same groupId and artifactId as per your current project.
To get basic info of DockerFile, refer:
https://dzone.com/articles/understanding-dockerfile
https://docs.docker.com/engine/reference/builder/
To get basic info of docker-compose.yml, refer: https://docs.docker.com/compose/
2- Build and Start the containers and see if everything works ok. Use "run.bat build_start" (run.sh build_start for linux) command to build and start the docker containers. You can refer "run.bat or run.sh" files.
3- To remote debug and put breakpoints you can follow these documents. Make sure you add below step in platform DockerFile:
Add the below given line in your platform-docker project's DockerFile:
COPY hotswap-agent.properties $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes
For remote debugging follow the instructions given here:
Eclipse: https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/debugging/debug-eclipse.md
Have a look at this documentation as well: https://hub.alfresco.com/t5/alfresco-content-services-hub/alfresco-sdk-4-0/ba-p/289257
If you have not used any versions of SDK so far, then you can generate a sample artifact by referring to this post, you can find steps to generate base artifact here:
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.