Saturday, March 3, 2012

Update of Domino Java Syncer

There is a few improvements to Domino Java Syncer 2.0.

Domino Java Syncer 2.1  and list of changes:

Notes.jar parameter was removed form “eclipse” command

Exported eclipse project will use Lotus Notes JVM. This JVM includes Notes.jar, so there is no need to include this package within special entry.

You will need to add it manually in to the project In the case you will use not Lotus Notes JVM.

“.jar” dependencies have relative path in exported eclipse projects

Full path in dependencies was bad in the case if you will want to move you project to another location or sync it with Version Control system.

So precious path like "C:\eclipse\workspace\MyEmail\lib\mailapi.jar" was changed to "\MyEmail\lib\mailapi.jar"


Do not forget compiler settings

Notes DXL use 1.3 compiler by default (at least 8.5.3 Lotus Notes client). Default compiler will be used In the case of importing DXL. So, if you use some newer Java features as annotation, then Java libraries will not be compiled after importing. You will receive many “NoClassDefFound” issues.

To avoid this, go in to the notes.ini file of LotusNotes client and add “JavaCompilerTarget=1.5” property.

DXL import log

DXL log will be shown in the console for DXL importing operations. 


 You could found renewed documentation in the application folder of Domino Java Syncer 2.1.


Old 2.0 Documentation still fine but take in mind that "Notes.jar" no more needs in "eclipse" command

No comments: