cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Integration Servers for SAP Design Studio

Former Member
0 Kudos

Hello,

     I am developing custom components for SAP Design Studio using eclipse.  Each and every time I package my code I need to under go a huge exercise to Package my code.  I am looking some open source continuous integration server like Jenkins,  which will package my code automatically If i point my git repository.  Please help me to let me know if any such thing exists.  Hope you understand my question.  Thanks in Anticipation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vignesh,

we are using a self-built Ant Script for this. Our script takes care of minifying the sources, writing version information, assembling and signing the jars (eclipse plugin and feature) and finally zipping the whole thing.


Unfortunately I cannot share the script itself, but it's really not that hard to reproduce. The hardest part for me was understanding and initiating the eclipse plugin build process from Ant. Also, there are multiple little caveats concerning caching of custom component versions in Design Studio.



As Reiner mentioned, the "modern" way would be using Jenkins, Maven and Tycho. I agree it'd be really helpful to have an article on how to set that up.

Former Member
0 Kudos

Hello Christoph,

What about maven instead of Ant.  I personally think the maven will be more efficient in case of ant.  Let me give a try and update the status.

Former Member
0 Kudos

I'm sure it's perfectly possible with Maven. I'm just more comfortable with Ant which is why I wrote the script in that language

Former Member
0 Kudos

Hello Christoph / Reiner,

I am trying to automate my build.  Struggling.  I've no idea how to start with.  While surfing web I get couple of project, where they all are .java projects.  So I've no idea how to configure my pom.xml for a pure javascript project i.e., Design Studio Project.  Some lines of code snippets would be appreciated.

reiner_hille-doering
Active Contributor
0 Kudos

Hi Vignesh,

I have created a sample Maven structure. The ZIP file is available at

https://drive.google.com/file/d/0B1XXR0693OBscGdjWTFrbEM3eDA/edit?usp=sharing

You can unzip it anywhere. Then check and necessarily adapt "createP2RepoFromDS.bat" which convert a Design Studio installation into a P2-Repository. Afterwards you can "mvn clean install" the parent POM.XML in root directory.

Anyway I'll write a blog, as some of the aspects in the sample might require additional explanation.

Regards,

Reiner.

Former Member
0 Kudos

Hello Reiner,

Thank you. 

Cheers,

Vignesh Gopalakrishnan.

Answers (2)

Answers (2)

mike_howles4
Active Contributor
0 Kudos

I use Grunt for a lot of the redundant tasks myself personally.  I'm sure everyone has a favorite. 

As for building new Feature bundles, I do not find it that tedious myself.  I use a .qualifier, export the bundle and I'm done...

reiner_hille-doering
Active Contributor
0 Kudos

We use Jenkins, Maven and Tycho for this in house.

This is flexible and powerful, but a little bit difficult to initially set up.

This could be a good candidate for a future "SDK Tips and Tricks" blog...

Reiner.