Last week I was at BeeCon in Brussels. Instead of writing a blog post I decided to do a video about the event. Check it out below:
Category Archives: Uncategorized
Alfresco 4.2.x and Alfresco SDK
During the hackathon at Alfresco Summit in London I worked on porting the nice features of the Alfresco SDK 2.0 to work with Alfresco 4.2.x.
Sadly, we have hit a bump on the road: The Alfresco artifacts changed too much between 4.2.x and 5.x. Because of this we have to branch out and maintain two separate branches. What does this mean for you? Well, remember these two sentences an help other users out, as this will be a very difficult thing to grasp:
FOR ALFRESCO 4.2.x USE ALFRESCO SDK 1.2.0 OR NEWER
FOR ALFRESCO 5.X USE ALFRESCO SDK 2.0 OR NEWER
We have not released 1.2.0 just yet, but we do have a snapshot version out that seems pretty stable, but I need people to help test it.
Here is a small guide on how to use Alfresco SDK 1.2.0-SNAPSHOT to work with 4.2.x.
First of all you need to allow Maven to use Sonatype’s snapshots repository. You have to add this to your ~/.m2/settings.xml
<profiles>
<profile>
<id>allow-snapshots</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
Next up you generate a project from the archetype:
mvn archetype:generate -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/archetype-catalog.xml -Dfilter=org.alfresco:
Select the archetype you want to use, and make sure to select 1.2.0-SNAPSHOT.
Now you’re ready to go, simply run ./run.sh to get started and enjoy all the nice features.
Please raise an issue on our GitHub issue tracker if you encounter any bugs.
Alfresco Summit 2014!
Being at the airport usually means that I’m travelling somewhere to have a few days packed with meetings for work, whether it’s Copenhagen, Nuuk (Greenland), Athens or Lisbon. This time the destination on my boarding card says “London” where I’m attending Alfresco Summit.
Alfresco SDK 2.0 beta4
I’m very pleased to officially announce the beta4 release of the Alfresco SDK 2.0.
Gab has written a great post about the release, which includes a ton of goodies, like hot reloading java code, web scripts and client side resources. We’ve also included a records management profile and extra goodies.
We’re also officially now on Maven Central, so fire up your terminal and run “mvn archetype:generate -Dfilter=org.alfresco.maven.archetype:” – or look at the video below to see how to use it from Eclipse.
It’s been a huge team effort, we’ve had a lot of people help test it out and contribute.
There is a lot of extra stuff going into the final 2.0 release and we’ll be working hard to stabilise these new features, introduce even more features and documentation.
I’ll continue my work with the SDK, create new videos, howtos etc. During the hackathon at Alfresco Summit in London, I’ll be working on back porting some of the reloading features to 4.2.x.
To wrap it all up I’ve created a video that shows how to setup and use the SDK with Eclipse. Enjoy!