<< Lotusphere 2010: I'm hosting a BOF | Home | Presentation from Eclipse Demo Camp Copenhagen >>

I'm very happy to announce that LotusScript.doc v.2 is finally done

I'm very happy to announce that LotusScript.doc v.2 is done - finally! The official point-zero release is available for immediate download. It's been a looooooooooong process and it's taken a very long time but it's finally done. You may download it here (lsdoc_200.zip).

Thanks to all those who have supported and encouraged me during the development. A very special thanks goes out to the people who donated - thank you!

Part of this release is also the website which I'm working on. The website is currently available at blog.lsdoc.org. Once everything is done it will be moved over and replace the current www.lsdoc.org. As I've mentioned before version 2 is written in Java and you may actually use the LotusScript.doc code as a general LotusScript code parser if you wish. Quite easy actually - for a sneak peek as to how to use the API see the Using the LotusScript.doc API page.

Comments as always welcome here on the blog or by e-mail to lekkim [at] lsdoc [dot] org.



Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

congratulations! Great job, I'm looking forward to implement the new version!

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Thanks, Mikkel, for all your work. It is really appreciated.

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

<div>Bloody good job, Mikkel.</div> <div></div> <div>TYPO:
On your blog.lsdoc.org, change the first sentence (from "LotusScript aims to be for LotusScript what javadoc is for Java...") to "LotusScript.doc aims to be for LotusScript what javadoc is for Java..."</div> <div></div> <div>Cheers, Tony.</div>

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

I really love the new performance of lsdoc. Great job!

But I've discovered two problems:

If a constant is just an other constant, it is omitted in output. e.g.
  • Public Const ITEM_FC_CONTRACT_PARTNER = "ContractPartner" <-- is included
  • Public Const ITEM_CSN_CONTRACT_PARTNER = ITEM_FC_CONTRACT_PARTNER <-- is omitted

Nearly the same happens, if a constant consists of an other constant. e.g.
  • Public Const ITEM_FC_CONTRACT_PARTNER = "ContractPartner" <-- is included
  • Public Const ITEM_PL_CONTRACT_PARTNER = "PL_" & ITEM_FC_CONTRACT_PARTNER <-- only returns "PL_" instead of "PL_ContractPartner"

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Great feedback - I'll take a look at adjusting the parsing. Thanks for the feedback on the performance - could you share some numbers? Personally I'm seeing 120-200% performance improvements.

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Sure. My first guess was form hours to minutes. But for this feedback I wanted to know exactly. I already replaced old LotusScript.doc. Hence I had to set up LotusScript.doc v1.2 again.

Performance improvements are massive:
  • v1.2:    119 min
  • v2.0:    1 min
Here I measured two databases with a couple of complex LotusScript Objects. For other databases the performance increase is nearly the same: From two or three hours down to minutes!

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Hi,

Potentially a bug : Lotusscript in button aren't parsed! The button are in form, not in Rich text field.

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Actually it is but not in the current jar file that is available 'in the wild' ;-)

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

A new version will be release shortly ?

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

I missed to say : good work ;-)

... and where can we get more documentation ? ;-)

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Thanks. Check out http://blog.lsdoc.org

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Another bugs :

In code :
' * @param N/A

Rendered :
Parameter(s):
<code>
N<code> - </code></code>

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Could you send me a full LotusScript snippet with the comment you are trying to render (or post it here)? I can use that as a testcase.

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

see below :

'/**
' * Test de commentaire
' * @param N/A
' * @return N/A
' */
Sub MyFunction()
End Sub

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Come to think of it it's probably the slash but I'll take a look. Thanks.

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Hello

I get an exception for some databases. Any idea?

[ROOT ][SEVERE ]: Exception trying to parse database Exception:

org.lsdoc.Parser$NotesExceptionWrapper
at org.lsdoc.Parser.doParse(Parser.java:249)
at org.lsdoc.Parser.parseDatabase(Parser.java:98)
at org.lsdoc.runner.notes.NotesAgent.NotesMain(NotesAgent.java:156)
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)

Re: I'm very happy to announce that LotusScript.doc v.2 is finally done

Sometimes Notes just isn't possible to export the database as DXL which is the foundation for LotusScript.doc. I suggest you start by trying to export the database as DXL as described here http://blog.lsdoc.org/?page_id=43 in the Debugging section.

If that completes successfully enable logging as described here http://blog.lsdoc.org/?page_id=43 in the Debugging section.

Let me know how it goes at lekkim[at]lsdoc.org.

Add a comment Send a TrackBack