Skip to Content
author's profile photo Former Member
Former Member

CBS: How to change Build-Scripts of CBS-Builds

Hello,

The Build in Component Build Service is, as far as I know based on Ant and Velocity. Is there any possibility to change the build.xml-Files used in the CBS, to add own tasks to the central build?

Greets Johann

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 18, 2005 at 08:28 AM

    Hi Johann,

    I'm looking for an answer to your question as well. Currently I've only found the following presentation

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/java development infrastructure real world use webinar.pdf

    showing the build process (see page 32).

    But still I don't understand how additional build steps can be introduced. Did you find a solution?

    Regards

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2005 at 07:36 PM

    Can you specify what build steps do you want to execute, before or after the CBS build?

    It is possible to add tasks to the default ones for some purposes. As you correctly stated out that CBS uses ANT and Velocity to execute builds and influence the way of the builds. Therefore you can add build.xml for further steps on needs.

    To be honest, SAP does not like to see you to exploit this feature for a very obvious reason. This makes the support from the SAP more complicated or even impossible. If your additional build tasks demage the JDI environment and claim that CBS not work, how can SAP help you? That's why the feature is not documented.

    Besides, this can leads to security problem. ANT is powerful, really! If you enable this feature for a justifiable purpose, can you protect others from smuggeling malicious code to the CBS, say ANT tasks Exec, Rexec.

    Add a comment
    10|10000 characters needed characters exceeded

    • You might want to take a look at Note 1061467 - Build Plugin Framework Reference for NWDI. This note contains a PDF attachment that may help you to uncover the hidden treasures of Build Plugin Framework.

      Make your own build plugin and put a reference on you DC to it. There you have it - your own build process using Velocity macors or even an Ant script.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.