Revision: 1900
Author: [email protected]
Date: Thu Jun 10 05:57:08 2010
Log: Added property to configure the name of the 'add project' widget
http://code.google.com/p/simal/source/detail?r=1900
Modified:
/trunk/uk.ac.osswatch.simal.core/src/main/java/uk/ac/osswatch/simal/SimalProperties.java
/trunk/uk.ac.osswatch.simal.core/src/main/resources/default.simal.properties
=======================================
---
/trunk/uk.ac.osswatch.simal.core/src/main/java/uk/ac/osswatch/simal/SimalProperties.java
Sun Jan 31 14:02:00 2010
+++
/trunk/uk.ac.osswatch.simal.core/src/main/java/uk/ac/osswatch/simal/SimalProperties.java
Thu Jun 10 05:57:08 2010
@@ -64,6 +64,8 @@
public static final String PROPERTY_USER_WEBAPP_BASEURL
= "simal.user.webapp.baseurl";
+ public static final String PROPERTY_ADD_PROJECT_WIDGET_TITLE
= "simal.widget.addproject.name";
+
public static final String PROPERTY_OHLOH_API_KEY = "ohloh.api.key";
public static final String PROPERTY_GOOGLE_AJAX_FEED_API_KEY
= "google.ajax.feed.api.key";
@@ -182,6 +184,8 @@
*/
public static String getProperty(String key, String defaultValue)
throws SimalRepositoryException {
+ // FIXME We shouldn't be throwing Exceptions when the caller can supply
+ // a sensible default value.
if (defaultProps == null) {
try {
initProperties();
=======================================
---
/trunk/uk.ac.osswatch.simal.core/src/main/resources/default.simal.properties
Tue Feb 16 02:11:51 2010
+++
/trunk/uk.ac.osswatch.simal.core/src/main/resources/default.simal.properties
Thu Jun 10 05:57:08 2010
@@ -42,6 +42,7 @@
simal.rest.baseurl=http://localhost:8080/simal-rest
# Web Application configuration
+simal.widget.addproject.name=doapcreator
simal.user.webapp.baseurl=http://localhost:8080/
google.ajax.feed.api.key=ABQIAAAAy0nZZn2GNMJna-D_1ropqBTqwguluMvemjUrqWd2AiDF24Kz_RTu5M9ED5vBjibVIxje1azlPs7UiQ
--
You received this message because you are subscribed to the Google Groups "Simal
Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simal-commits?hl=en.