Entering content frame

Procedure documentation Scenario 2: Configure a Central Component Build Locate the document in its SAP Library structure

In this step, developer 3 establishes a central make for the software component technology.

Note

Note that the following instructions assume that the SAP NetWeaver Developer Studio has been installed to its default location, which is C:\Program Files\SAP\JDT.

...

       1.      Create a new text file and name it make-technology.cmd.

       2.      Move this file to C:\Program Files\SAP\JDT\eclipse\tools\dc.

       3.      Enter the following script code and replace the placeholders with the parameters valid for your installation:

                            a.      <studio-home>: The path to the Eclipse directory of your SAP NetWeaver Developer Studio installation, for example, C:\Program Files\SAP\JDT\eclipse.

                            b.      <jdk>: The path to your JDK installation, which is C:\jdk1.3.1_07

                            c.      <config>: The root folder, which is by default C:\Documents and Settings\<user>\.dtc\<name of the development configuration>.

Example

C:\Documents and Settings\USER3\.dtc\CONFIG1.

Caution

You must not end these paths with a “\”.

 

@echo off
set SAPDEVSTUDIOHOME=<studio-home>
set JAVA_HOME=<jdk>
set CONFIG=-f "<config>"

rem ------------- SYNC ----------------
set SYNCPARAMS=-c sync %CONFIG% -u %1 -p %2
set SC=example.org_technology
call dc %SYNCPARAMS% -s %SC% -v example.org -n technology/tax
call dc %SYNCPARAMS% -s %SC% -v example.org -n technology/tax/calculator
rem ---- add more components to build here -------

rem ------------- BUILD ---------------
call dc -c buildall %CONFIG%

 

       4.      Save your entries.

       5.      Open a shell and switch to folder C:\Program Files\SAP\JDT\eclipse\tools\dc.

       6.      Enter the following command and replace <pwd> with the password of USER3.

make-technology  USER3 <pwd> 1>build.log

 

 

 

 

Leaving content frame