on 02-02-2011 8:52 AM
I need to assign 1.6.021 as build variant to a newly track ..Pls guide
Thanks
Hi,
on 640/700 you find it in the Visual Administrator, see the help.sap.com document:
http://help.sap.com/saphelp_nw70/helpdata/EN/53/75b3407e73c57fe10000000a1550b0/frameset.htm
as of 710 you can also find it in NWA:
Navigation: http://<host>:<port>/nwa u2013 Configuration Management u2013 Infrastructure u2013 Java System Properties u2013 Component Build Service
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi flemingnett,
1. you need to point in the CBS Service Settings the BUILD_TOOL_JDK_HOME to the highest JDK, this case you put there the path of your JDK1.6 like e.g. /opt/jdk16 or e.g. C:\Program Files\Java\jdk16, etc. So this parameter takes only one value.
2. in the same CBS service settings for the parameter JDK_HOME_PATHS you need to list of all the possible JDK releases like 1.4, 1.5 and 1.6. This is necessary since your track will decide which one of these to use. See the syntax in my previous thread entry.
3. If in your track you have 700 dependent SCs, then you'll create a build variant pointing to JDK1.4.2_HOME (and then this of course tells the "details" in your JDK_HOME_PATHS, since that is pointing to the real path where your JDK1.4 can be found)
Analogously if you have an other track where you develop for 710, then you specify the build variant JDK1.5.0_HOME there, and if you have again an other track where you have 720 or 730 development, for those track you specify the build variant JDK1.6.0_HOME.
So you see that you specify the JDK in always "2-steps". Once you tell the track which JDK<version>_HOME parameter to use, and then in the CBS service settings you specify where are the locations of these JDKs (using the JDK_HOME_PATHS parameter).
Let me know if you have further questions.
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi flemingnett ,
let me also point out some further hints:
BUILD_TOOL_JDK_HOME and JDK_HOME_PATHS
-
BUILD_TOOL_JDK_HOME = <path to highest JDK>
JDK_HOME_PATHS = JDK1.3.1_HOME=<path of jdk131>;JDK1.4.2_HOME=<path of jdk142>;JDK1.5.0_HOME=<path of jdk150>JDK1.6.0_HOME=<path of jdk160>;default=<path of the JDK as default>
Some simple rules with examples:
-
- for BUILD_TOOL_JDK_HOME you simply enter the path to your JDK, e.g.: /opt/IBMJava2-amd64-142
- for JDK_HOME_PATHS you have to follow the scheme "key=value" e.g.: JDK_1.4.2_HOME=/opt/IBMJava2-amd64-142
- for BUILD_TOOL_JDK_HOME you always specify the highest JDK,
- for JDK_HOME_PATHS you list the available JDKs.
- JRE is not allowed, specify always JDK!
See also the note
#1402901 - Java Build VM Settings on CBS
and the help.sap.com document:
http://help.sap.com/saphelp_nw70/helpdata/EN/53/75b3407e73c57fe10000000a1550b0/frameset.htm
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi flemingnett ,
If you set up the CBS service's JDK_HOME_PATHS accordingly, then yes.
However for the sake of security I'd recommend simply just JDK1.6.0_HOME, there's no need to put the subversion (here "21") into the parameter name. This case of course the JDK_HOME_PATHS must also obviously include the key value JDK1.6.0_HOME.
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi flemingnett ,
here you go:
How To... Setup an NWDI Track for Composition Environment Developments
This includes the same information you are looking for. In the example of this guide it goes about JDK1.5, but analogously, following the guide you can set the buildvariant for JDK1.6, i.e. if I am right, in order to achieve that you can develop for 720 or 730.
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.