on 09-01-2014 11:39 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.