To celebrate Yellow Day I’m releasing the first public LotusScript.doc v2 beta for download. To get it download the lsdoc_200beta3.zip file, unzip it and create a new database from the template. I’ll soon blog about all the new goodness in version 2 but for now suffice to say there’s a host of stuff. If nothing else you should notice a major increase in performance meaning documenting databases now take a fraction of the time it used it with version 1.
Please note that this is a beta but it should be ready for prime time. It documents my databases just fine. If you do experience anything you deem weird, or dare I say a bug, please report it by e-mail to lekkim [at] lsdoc.org.
Looking forward to hearing you comments. Thanks.
The fine print
LotusScript.doc is now written in Java and to run LotusScript.doc on non-trivial databases you need to allocate more memory to Java than what’s the standard in the Notes client. To do this follow the description below.
- Change the maximum possible Java heap size in notes.ini by setting JavaMaxHeapSize=256M to allow for 256 mb of Java heap.
- (optional) Change the /jvm/lib/security/java.
policy and add the two following lines at the bottom of the first “grant” section. For more information see this blog post. This is only required to enable logging and it’s not required.// LotusScript.doc permission java.util.logging.LoggingPermission "control";
doesn’t work for our central codestore db:
12.08.2009 09:07:10 org.lsdoc.log.LogUtil log
WARNING: The supplied data isn’t a valid LotusScript property – throwing IllegalArgumentException
12.08.2009 09:07:10 org.lsdoc.log.LogUtil log
WARNING: The supplied data isn’t a valid LotusScript property – throwing IllegalArgumentException
12.08.2009 09:07:10 org.lsdoc.log.LogUtil log
WARNING: The supplied data isn’t a valid LotusScript property – throwing IllegalArgumentException
12.08.2009 09:07:12 org.lsdoc.log.LogUtil log
WARNING: The supplied data isn’t a valid LotusScript sub/function – throwing IllegalArgumentException
12.08.2009 09:07:12 org.lsdoc.log.LogUtil log
WARNING: The supplied data isn’t a valid LotusScript sub/function – throwing IllegalArgumentException
12.08.2009 09:07:12 org.lsdoc.log.LogUtil log
SEVERE: Exception trying to parse database
Throwable occurred: java.lang.IllegalArgumentException: The supplied data isn’t a valid LotusScript sub-rutine or function.
at org.lsdoc.language.ls.parser.SubFunctionParser.parse(SubFunctionParser.java:84)
at org.lsdoc.language.ls.parser.SubFunctionParser.parse(SubFunctionParser.java:51)
at org.lsdoc.language.ls.parser.Parser.parse(Parser.java:320)
at org.lsdoc.dbdesign.parser.AbstractElementParser.findCodeElements(AbstractElementParser.java:136)
at org.lsdoc.dbdesign.parser.AgentParser.parse(AgentParser.java:67)
at org.lsdoc.Parser$2.added(Parser.java:382)
at org.lsdoc.elementobserver.simple.SimpleObserver.activateListener(SimpleObserver.java:44)
at org.lsdoc.elementobserver.BaseObserver.activateListeners(BaseObserver.java:109)
at org.lsdoc.elementobserver.BaseObserver.addElement(BaseObserver.java:173)
at org.lsdoc.dxl.DxlParser.parse(DxlParser.java:406)
at org.lsdoc.dxl.DxlParser.parse(DxlParser.java:331)
at org.lsdoc.dxl.DxlParser.parse(DxlParser.java:281)
at org.lsdoc.Parser.doParse(Parser.java:229)
at org.lsdoc.Parser.parseDatabase(Parser.java:93)
at org.lsdoc.runner.notes.NotesAgent.NotesMain(NotesAgent.java:133)
at org.lsdoc.runner.notes.DcNotesAgent.execute(DcNotesAgent.java:40)
at JavaAgent.NotesMain(Unknown Source)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
LikeLike
Julian – are you on bleedyellow IM – would like to discuss this in detail. If you are please ping me. Would it be possible for me to get the database template or DXL? I promise not to share with anyone.
LikeLike