Today I lost a complete development day due to errors related to DDE. After building a project I constantly get errors as followed:
HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: javax.faces.el.EvaluationException: java.util.MissingResourceException: Can’t find resource for bundle java.util.PropertyResourceBundle, key strings
HTTP JVM: java.lang.SecurityException: Error verifying signature for resource WEB-INF/classes/se/acme/namis/app/Application.class. For more detailed information, please consult error-log-0.xml located in E:/IBM/Domino/data/domino/workspace/logs
The way I am forced to work now is to clean the project, build the project, sign the complete database, PRAY.
Is there no way to build an XPages project OUTSIDE of DDE?
This is no workable way of developing anymore.
A new company, a new pc (mac), a new way of working. Change brings opportunity so I decided to move some of my OpenNTF projects, lab projects and code to GitHub.
So far it works just fine and I feel kinda stupid to stick myself for a long time in the old way of working (application templates, shared drives, post code to this blog). Switching between machines/virtual environments has become much nicer.
As tools I choose for DDE, Swiper, SourceTree and Github. I have not come so far with the command line, although the Try Git tutorial on Code School demonstrates it should not be that difficult.
Next step is probably setup a package manager in combination with a task runner. A bit inspired by Keith Strickland’s presentation at Engage.
Probably I am missing something in my setup but I am happy to read about that in the comments 🙂
I bet everybody enjoyed David Leedy’s Use SourceTree for better XPages Source Control video-tutorial. At the time I was looking at SourceTree so David’s guidance came in the right time.
To assist my fellow colleague developers I wrote a document or some sort of manual on using SourceTree for source control and I used David’s tutorial for a transcript.
I hope you enjoy reading it.
Use SourceTree for better XPages Source Control
Looking for a creative brain? Choose me!
In case you want to start using source control in Domino Designer there are several good online resources available that help you getting started (Google is your friend). I have written a summary document so you don’t have to collect the information from several resources yourself.
Here you can download the PDF:
Happy reading =)
PS please let me know in case the document is incomplete.
Looking for a creative brain? Choose me!
In presentation AD103 ‘Embracing the EclipseTM Within’ Maureen Leland says (slide 14):
- Code templates can be a tremendous time saver, and help implement common team conventions
- Well received for LotusScript, but also available for:
If you take stylesheets for example, you can import them from the Database Navigator. But maybe you work on new projects where the stylesheets differ but you want to re-use a genuine setup of the file, setting up templates in Designer might help you.
I am not gonna write how you write a well structured css file and the benefits of it, but just explain how to setup a scratch for new css writing in Domino Designer.
First, open in Designer the Preferences and search after CSS. Select the ‘Templates’ links. Here you will see an overview of all your available CSS templates. Press ‘New…’.
Give your file a name, description and fill the pattern. Here for example I describe the basic layout for an HTML5 app. For the Context I select ‘New CSS’. Press OK to close the Preferences dialog.
Okey, so how you can get this in your next stylesheet?
If you haven’t already got it to your Designer setup, open the Package Explorer (Windows, Perspective, Open…). Go to the Resources folder, select Stylesheets and from there:
In the wizard enter CSS or navigate to the Web folder and select CSS.
Give your new css file a name.
In the next dialog you are asked if you want to use a template. Select here the template you want and press Finish. The CSS Editor will open from where you can continue to write your CSS file.