adding update notification checking - this requires autopsy-updates.xml to be uploaded to sleuthkit.org

This commit is contained in:
Jason Letourneau 2013-09-06 17:34:55 -04:00 committed by Brian Carrier
parent e776388044
commit 00d55023e4
4 changed files with 38 additions and 0 deletions

16
Core/autopsy-updates.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE module_updates PUBLIC "-//NetBeans//DTD Autoupdate Catalog 2.5//EN" "http://www.netbeans.org/dtds/autoupdate-catalog-2_7.dtd">
<module_updates timestamp="03/01/21/12/03/2008">
<!--notification element goes here for user pop-up. Attribute url is the URL to display along with the message contained between notification xml elements.
-->
<notification url="http://sleuthkit.org/autopsy">
Visit http://sleuthkit.org/autopsy to download the latest version of Autopsy.
</notification>
</module_updates>

View File

@ -8,3 +8,5 @@ OpenIDE-Module-Long-Description=\
For more information, see http://www.sleuthkit.org/autopsy/ For more information, see http://www.sleuthkit.org/autopsy/
OpenIDE-Module-Name=Autopsy-Core OpenIDE-Module-Name=Autopsy-Core
OpenIDE-Module-Short-Description=Autopsy Core Module OpenIDE-Module-Short-Description=Autopsy Core Module
org_sleuthkit_autopsy_core_update_center=http://sleuthkit.org/autopsy-updates.xml
Services/AutoupdateType/org_sleuthkit_autopsy_core_update_center.settings=Autopsy Update Center

View File

@ -270,6 +270,13 @@
Services Services
====================================================== --> ====================================================== -->
<folder name="Services"> <folder name="Services">
<folder name="AutoupdateType">
<file name="org_sleuthkit_autopsy_core_update_center.settings" url="org_sleuthkit_autopsy_core_update_centerSettings.xml">
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.core.Bundle#Services/AutoupdateType/org_sleuthkit_autopsy_core_update_center.settings"/>
<attr name="enabled" boolvalue="true"/>
<attr name="url" bundlevalue="org.sleuthkit.autopsy.core.Bundle#org_sleuthkit_autopsy_core_update_center"/>
</file>
</folder>
<file name="org-sleuthkit-autopsy-corecomponents-DataContentTopComponent.instance"> <file name="org-sleuthkit-autopsy-corecomponents-DataContentTopComponent.instance">
<attr name="instanceOf" stringvalue="org.sleuthkit.autopsy.corecomponentinterfaces.DataContent"/> <attr name="instanceOf" stringvalue="org.sleuthkit.autopsy.corecomponentinterfaces.DataContent"/>
<attr name="instanceCreate" methodvalue="org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getDefault"/> <attr name="instanceCreate" methodvalue="org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getDefault"/>

View File

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd">
<settings version="1.0">
<module name="org.sleuthkit.autopsy.core/8"/>
<instanceof class="org.openide.ServiceType"/>
<instanceof class="org.netbeans.modules.autoupdate.AutoupdateType"/>
<instanceof class="org.netbeans.modules.autoupdate.XMLAutoupdateType"/>
<instance class="org.netbeans.modules.autoupdate.XMLAutoupdateType" method="createXMLAutoupdateType"/>
</settings>