cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco SDK 2.1 released!

oleh
Champ in-the-making
Champ in-the-making
I'm happy to announce that we just released Alfresco SDK 2.1: http://mindthegab.com/2015/05/22/take-your-alfresco-productivity-to-the-next-level-with-the-alfresco...

A few highlights for this release:
<strong>Improved RAD and hot reloading</strong>
We now provide goals in the alfresco-maven-plugin that can facilitate a "refresh web scripts" and "clear dependency cache". This ensures a very smooth experience (it's turned on by default) and enhances IDE integration.

<strong>Support for Solr4</strong>
The All-in-one archetype now ships with Solr4 by default.

<strong>Regression testing</strong>
This feature enables you to run the Share PO test suite (Selenium based functional tests) against your project. This means you'll be able to test and verify if your project broke some of the out of the box features of Alfresco.

<strong>Documentation</strong>
We have a complete new set of docs to support developers with using the Alfresco SDK. It's really comprehensive so be sure to have a look: http://docs.alfresco.com/community/concepts/alfresco-sdk-intro.html

The Alfresco SDK is now fully supported by Alfresco. Previously the SDK was led by the community and releases were not regular. We now have a full release procedure in place to maintain and support the SDK.

I'm writing up a blog post that describes all the new features, and on the 3rd of June we're doing Tech Talk Live about the Alfresco SDK: https://www.alfresco.com/events/webinars/tech-talk-live-86-alfresco-sdk-210

The SDK archetypes are on Maven Central, so simply run:
mvn archetype:generate -Dfilter=org.alfresco:

To generate a project.

If you encounter any issues, please raise them on Github (https://github.com/Alfresco/alfresco-sdk) or ask here on the forums.
6 REPLIES 6

douglascrp
World-Class Innovator
World-Class Innovator
That's amazing

eswbitto
Confirmed Champ
Confirmed Champ
Hey Oleh,

I've been using the new SDK and I love the hot reloading! One thing that I'm currently trying to do is change the login background. When working with a custom css file any changes I make (after saving) don't reflect in the browser after I refresh. I actually have to shutdown the run.sh and then start it up again to see the changes that I've made in the css.

g_rathod
Star Contributor
Star Contributor
Hi Oleh,

Thanks for this update,
When I am using new sdk 2.1 and do mvn install, my changes are not relflected in share project.
I put my js file under  

src/main/amp  >web >components >workflow > mycustom.js 

still it is not reflected after mvn install target.

I am checking my reflected changes under following path :
 d:\Projects\maven_project\PRO2\runner\target\tomcat\webapps\share\components\workflow 

any structure for folder changed in new version if not, help me to get it fixed…

Thanks,

gravitonian
Star Collaborator
Star Collaborator
Hi,

Try: $mvn compile alfresco:refresh-share

This triggers Web Script refresh and clears dependency caches.
For more info see: http://docs.alfresco.com/5.0/concepts/alfresco-sdk-cmd-reference-aio.html

rstoops1
Champ in-the-making
Champ in-the-making
I've watched youtube on the release of sdk 2.1.0 and have gone through the alfresco pages for configuration and even though my deploy says it is deploying 5.0.1 Enterprise and I go to the admin page it does say Enterprise, when share starts up, it say Alfresco Community.  I've check my configuration for what is required.  I'm using Maven 3.3.3, when I run mvn -version is shows the correct version of maven and it is referencing JDK 1.8. I've try this setup several ways, running mvn install -Prun and mvn install -Prun,enterprise.  I've done it inside of intellij after making sure the profile was configured Enterprise but still get Alfresco Community at startup. A little help would be greatly appreciated.

castgroupteam
Champ in-the-making
Champ in-the-making
I'm struggling with the All In One Archetype on Windows Environement, Java 8 and Maven 3.3.1.
When I run mvn install -Prun the system takes more than 10 minutes to start up, even assigning 4Gb of RAM at the JVM.
In particular is very very slow on the alfresco and share overlay phase.
Looking at the the webinar demo this behavior is not present on the system of the relator.
Using both AMP+SHARE archetypes is accettable but does not give solr4 support.
Someone know the reason and how it is possible to avoid this lack ?

P.S
The solution I've adopted with the version 2.0 is to use an external tomcat running solr4 and developing using REPO AMP + SHARE AMP archetypes but this method means to run 3 tomcat instances!!!