on 09-27-2005 12:59 AM
I am using JDK 1.4 specific keywords (ex. assert) in my code. I was able to compile in my local environment by changing compiler compliance level to 1.4 in Developer Studio.
Go to menu Window -> Preferences -> Java -> Compliances & Classfiles -> Compiler compliance level -> 1.4
Hoever, I'm getting a CBS compile error because the CBS server doesn't seem to like the JDK 1.4 keyword.
How do I tell CBS to use 1.4 compliance level instead of 1.3 which seems to be the default?
Thanks,
-Li
Hi Li,
you have to set this in the SC configuration XML file. You can edit this file in the CMS WebUI.
If you add the following statements to the default build variant of the XML file your source code should be compilable.
<build-options>
<build-option name="javac_source14">
<option-value>on</option-value>
</build-option>
</build-options>
Maybe you also have to set the ant_jdk_version option to JDK[xyz]_HOME that is defined in the CBS configuration of the Visual Admin.
For more details have a look at http://help.sap.com/saphelp_nw04/helpdata/de/4f/c6c94140496024e10000000a1550b0/frameset.htm
Regards
Helmut
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.