Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Project Properties Reference : Code Conversion Properties
Code Conversion Properties
The code conversion properties configure how Mobile Designer creates the generated C#, C++ or Java code for the project.
java.parser.retain.comments
Specifies whether to retain comments when compiling to Java, C# or C++.
Platforms
All
Values
*true retains comments when compiling to Java, C# or C++.
Mobile Designer attempts to keep comments connected to the line where the comments are relevant, typically the line of code that follows the comment. However, due to the fundamental difference between Java, C# and C++, some comments might get misplaced or lost.
Note:  
If a project has been built without comments and the property is set to true, the cached parsed-Java files do not contain comments to use. To resolve this issue, clear out the project's _temp_\_bcdfs_cache_ folder.
*false removes comments when compiling to Java, C# or C++.
Default
true
cpp.no.selfprotect
Indicates whether to add a safeguard to every method call.
Platforms
All
Values
*true indicates that you do not want to use the safeguard.
When set to false, the cross compiler might inject the macro line, but it does nothing.
*false adds the safeguard to every method call using the injected macro line.
Caution:  
Adding the injected macro line to every method call adds overhead to all methods and increases the output size.
Default
false
cross.compiler.extractinners
Indicates whether to extract inner classes included in the Java source code.
Platforms
All
Values
*true extracts the inner classes.
Note:  
The examination required to perform this action increases the processor time.
*false does not extract the inner classes.
Default
true
cross.compiler.nodatestamp
Specifies whether to exclude timestamps at the top of every generated C++ (CPP) and H file.
Platforms
All
Values
*true indicates that timestamps are not included.
If you are storing the files in a source control system, omitting this header information reduces the file differences that occur with each cross compilation.
*false indicates that timestamps are included.
Default
false
cross.compiler.render.selfprotect
Indicates whether to add an extra line at the top of every non-static method to prevent self-destruction of the object during the method call.
Platforms
All
Values
*true indicates that the extra line is added.
This is part of a fix needed to prevent object self-deletion on the rare occasion that an object nulls all references to itself. The injected line is a macro whose actual contents you can remove by the value of the cpp.no.selfprotect property.
*false indicates that the extra line is not added.
Default
true
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback