266 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Maven Native Chronicles, Part 3: Improving Native Artifact Handling
Sun, Jul 26th 2015 37
Maven Native Chronicles, Part 2: Setting Up a Windows Jenkins Node
Sun, Jul 26th 2015 120
Maven Native Chronicles, Part 1: Figuring Out nar-maven-plugin
Fri, Jul 24th 2015 71
Adding Components to an XPage Programmatically
Sun, Jul 19th 2015 37
Quick-and-Dirty Inclusion of a Visual C++ Project in a Maven Build
Sat, Jul 11th 2015 16
Working with Rich Text's MIME Structure
Wed, Jul 8th 2015 23
Quick Tip: Override Form-XPage Mapping in xsp.properties
Thu, Jun 11th 2015 12
Top 10
Maven Native Chronicles, Part 2: Setting Up a Windows Jenkins Node
Sun, Jul 26th 2015 120
Maven Native Chronicles, Part 1: Figuring Out nar-maven-plugin
Fri, Jul 24th 2015 71
Adding Components to an XPage Programmatically
Sun, Jul 19th 2015 37
Maven Native Chronicles, Part 3: Improving Native Artifact Handling
Sun, Jul 26th 2015 37
Working with Rich Text's MIME Structure
Wed, Jul 8th 2015 23
Arbitrary Authentication with an nginx Reverse Proxy
Mon, Sep 22nd 2014 18
Quick-and-Dirty Inclusion of a Visual C++ Project in a Maven Build
Sat, Jul 11th 2015 16
Building on ODA's Maven-ization
Tue, Mar 31st 2015 15
Quick Tip: Override Form-XPage Mapping in xsp.properties
Thu, Jun 11th 2015 12
Setting up nginx in Front of a Domino Server
Thu, Sep 18th 2014 11




Recent Blog Posts
37
Maven Native Chronicles, Part 3: Improving Native Artifact Handling
Sun, Jul 26th 2015 8:38p   Jesse Gallagher
This post isn't so much a part of the current series as it is a followup to a post from the other week, but I can conceptually retcon that one in as a prologue. This will also be a good quick tip for dealing with Maven projects. In my previous post, I described how I copied the built native shared library from the C++ project into the OSGi fragments for distribution, and I left it with the really hacky approach of copying the file using a project-relative path that reached up into the oth
120
Maven Native Chronicles, Part 2: Setting Up a Windows Jenkins Node
Sun, Jul 26th 2015 10:16a   Jesse Gallagher
Before I get to the meat of this post, I want to point out that Ulrich Krause wrote a post on a similar topic today and you should read it. The build process I've been working with involves a Jenkins server running on OS X (in order to build iOS binaries), and so it will be useful to have a Windows instance set up as well to run native builds and, importantly, tests. Jenkins comes with support for distributed builds and makes it relatively straightforward. To start with, I installed Virt
71
Maven Native Chronicles, Part 1: Figuring Out nar-maven-plugin
Fri, Jul 24th 2015 2:48p   Jesse Gallagher
As I mentioned the other day, my work lately involves a native shared library that is then included in an OSGi plugin. To get it working during a Maven compile, I just farmed out the actual build process to Visual Studio's command-line project builder. That works as far as it goes, but it's not particularly Maven-y and, more importantly, it's Windows-only. In looking around, it seems like the most popular method of doing native compilation in Maven, especially with JNI components, is ma
37
Adding Components to an XPage Programmatically
Sun, Jul 19th 2015 8:16a   Jesse Gallagher
One of my favorite aspects of working with apps using my framework is the component binding capability. This lets me just write the main structure of the page and let the controller do the grunt work of creating fields with validators and converters. There's a lot of magic behind the scenes to make it happen, but the core concept of dynamic component creation is relatively straightforward. An XPage is a tree of components, and those components are all Java objects on the back end, which
16
Quick-and-Dirty Inclusion of a Visual C++ Project in a Maven Build
Sat, Jul 11th 2015 6:26p   Jesse Gallagher
One of my projects lately makes use of a JNI library distributed via an OSGi plugin. The OSGi side of the project uses the typical Maven+Tycho combination for its building, but the native library was developed using Visual C++. This is workable enough, but ideally I'd like to have the whole thing part of one smooth build: compile the native library, then subsequently copy its resultant shared 32- and 64-bit libraries into the OSGi plugins. From what I've gathered, the "proper" way to d
23
Working with Rich Text's MIME Structure
Wed, Jul 8th 2015 7:28p   Jesse Gallagher
My work lately has involved, among other things, processing and creating MIME entities in the format used by Notes for storage as rich text. This structure isn't particularly complicated, but there are some interesting aspects to it that are worth explaining for posterity. Which is to say, myself when I need to do this again. As a quick primer, MIME is a format originally designed for email which has proven generally useful, including for HTTP and, for our needs, internal storage in NSF.
12
Quick Tip: Override Form-XPage Mapping in xsp.properties
Thu, Jun 11th 2015 1:17p   Jesse Gallagher
This is sort of an esoteric feature, but I just ran across it and it fits nicely into an XPages bag of tricks. Specifically, as it turns out, there's a way to override the default "which XPage should be used for this document?" behavior in some cases. The most-commonly-known behavior is the "Display XPage Instead" set on the form (or the default form if-and-only-if the document has an empty Form field). This wins in all cases, and is the only way to get an XPage to open for a document
8
Parsing JSON in XPages Applications
Thu, May 21st 2015 11:47a   Jesse Gallagher
David Leedy pointed out to me that a post I made last year about generating JSON in XPages left out a crucial bit of followup: reading that JSON back in. This topic is a bit simpler to start with, since there's really just one entrypoint: com.ibm.commons.util.io.json.JsonParser.fromJson(...). There are a few variants of this method to provide either a callback to call during parsing or a List to fill with the result, but most of the time you're going to use the variants that take a Strin
6
Quick PSA: LS2J Problems in 9.0.1 FP3
Tue, May 19th 2015 1:25p   Jesse Gallagher
While I'm at it, I realized that it may be useful to further spread information about the problem that led to me fiddling with the latest IFs and JVM patches in the first place: the LS2J problems in 9.0.1 FP3. Specifically, it's borked. The main way most people have encountered this is via an exception dialog when attempting to add new plugins to an Update Site NSF, since that uses LS2J to accomplish its task - it displays several layers of stack and the upshot is that there's a j
9
Quick Tip: Re-Enabling Disabled Designer Plugins
Tue, May 19th 2015 12:58p   Jesse Gallagher
Recently, I had a case where my installed Designer plugins stopped appearing, immediately made obvious by the libraries disappearing from XPages applications and Designer listing hundreds of class-not-found errors. At first, I figured that the local plugins had been deleted, but trying to install from update sites curtly informed me that they contained nothing new for me. It turned out that my local plugins had been somehow marked disabled by Designer. The fix for this was to go to File




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition