woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables VariablesPlugin.java,1.4,1.5 PreferencesMessages.properties,1.2,NONE VariablesPreferencesPage.java,1.2,NONE PreferencesMessages.java,1.3,NONE Preferences.java,1.3,NONE
| Newsgroups | gmane.comp.web.webobjects.woproject.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28864/java/org/objectstyle/wolips/variables
Modified Files:
VariablesPlugin.java
Removed Files:
PreferencesMessages.properties VariablesPreferencesPage.java
PreferencesMessages.java Preferences.java
Log Message:
Removed option to rebuild wobuild.properties on next launch. To rebuild the wobuild.properties: Quit eclipse, delete wobuild.properties and restart eclipse.
Index: VariablesPlugin.java
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables/VariablesPlugin.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- VariablesPlugin.java 7 Dec 2005 18:48:35 -0000 1.4
+++ VariablesPlugin.java 14 Dec 2005 15:05:32 -0000 1.5
@@ -114,40 +114,12 @@
}
/**
- * Method setUpPreferencesForPropertiesFile.
- */
- private void setUpPreferencesForPropertiesFile() {
- Dictionary dictionary = VariablesPlugin.getDefault().getBundle()
- .getHeaders();
- String currentVersion = (String) dictionary
- .get(Constants.BUNDLE_VERSION);
- String preferencesVersion = Preferences
- .getPREF_WOLIPS_VERSION_EARLY_STARTUP();
- if (!currentVersion.equals(preferencesVersion))
- Preferences.setPREF_REBUILD_WOBUILD_PROPERTIES_ON_NEXT_LAUNCH(true);
- }
-
- /**
- * Method setUpPreferencesAfterPropertiesFile.
- */
- private void setUpPreferencesAfterPropertiesFile() {
- Dictionary dictionary = VariablesPlugin.getDefault().getBundle()
- .getHeaders();
- String currentVersion = (String) dictionary
- .get(Constants.BUNDLE_VERSION);
- Preferences.setPREF_REBUILD_WOBUILD_PROPERTIES_ON_NEXT_LAUNCH(false);
- Preferences.setPREF_WOLIPS_VERSION_EARLY_STARTUP(currentVersion);
- }
-
- /**
* Method writePropertiesFileToUserHome.
*
* @throws Exception
*/
private void writePropertiesFileToUserHome() throws Exception {
- if (!wobuildPropertiesMissing()
- && !Preferences
- .getPREF_REBUILD_WOBUILD_PROPERTIES_ON_NEXT_LAUNCH())
+ if (!wobuildPropertiesMissing())
return;
IProgressMonitor monitor = null;
monitor = new NullProgressMonitor();
@@ -312,9 +284,7 @@
public void start(BundleContext context) throws Exception {
super.start(context);
try {
- this.setUpPreferencesForPropertiesFile();
this.writePropertiesFileToUserHome();
- this.setUpPreferencesAfterPropertiesFile();
} catch (Exception anException) {
this.logError(VariablesPlugin.build_user_home_properties_pde_info
+ " " + anException.getStackTrace());
--- PreferencesMessages.properties DELETED ---
--- VariablesPreferencesPage.java DELETED ---
--- PreferencesMessages.java DELETED ---
--- Preferences.java DELETED ---
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click