Re: [sleuthkit-developers] Code Name Base
Brought to you by:
carrier
From: Brian C. <ca...@sl...> - 2014-09-15 20:57:01
|
Hi Wiktor, The ServiceProvider line should be for IngestModuleFactory.class and not the IngestModuleFactoryAdaptor. We search for providers of that class. Though, we probably could search for both. thanks, brian On Sep 13, 2014, at 12:44 PM, Wiktor Sypniewski <wik...@gm...> wrote: > Hi guys so I did make my first module in the module factory: > > At this stage I should be able to see it in the ingest modules list(when I compile/run from NetBeans), right? I think I added look up service okey to my package... > > When I run/compile can see the name of my module in the list. And the instruction says:{At this point, when you add a data source to an Autopsy case, you should see the module in the list of ingest modules. If you don't see it, double check that you either implementedorg.sleuthkit.autopsy.ingest.IngestModuleFactory or extended or inherited org.sleuthkit.autopsy.ingest.IngestModuleFactoryAdapter. If using Java, make sure that you added the service provider annotation.} > > Am I doind sth wrong? > > Thanks Vic > > <listmod.bmp> > × > > > > package org.myproject.vf; > > import org.openide.util.lookup.ServiceProvider; > import org.sleuthkit.autopsy.ingest.IngestModuleFactoryAdapter; > @ServiceProvider(service = IngestModuleFactoryAdapter.class) > > public class TestIngest extends org.sleuthkit.autopsy.ingest.IngestModuleFactoryAdapter{ > > @Override > public String getModuleDisplayName() { > // throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. > String moduleName = "VF"; > return moduleName; > } > > @Override > public String getModuleDescription() { > // throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. > > String moduleDescription = "This is my module and its mine"; > return moduleDescription; > > } > > > @Override > public String getModuleVersionNumber() { > // throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. > String moduleVersion = "0.0.1"; > return moduleVersion; > } > > } > > ----------------------------------------------- > www.bluegreenblack.com > www.thisfeelsgreat.blogspot.com > http://www.vajrayanaireland.org/ > > For sensitive information please use encryption. > > Public key available at: http://pgp.mit.edu/ > Figerprint: 3D8C 48ED 42BD 4004 D23C C455 8D80 7FB4 2C4D 7801 > > On 10 September 2014 03:20, Brian Carrier <ca...@sl...> wrote: > You can choose whatever you want for that. We use the same naming conventions as suggested for package names: > > http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html > > > > On Sep 9, 2014, at 10:30 AM, Wiktor Sypniewski <wik...@gm...> wrote: > > > Hi Guys, > > > > I'm building my first module for autopsy 3.1. Netbeans wants me to > > enter Code Name Base. Does it matter what I enter here? And how? > > org.myproject.vf would do? > > > > Vic > > ----------------------------------------------- > > www.bluegreenblack.com > > www.thisfeelsgreat.blogspot.com > > http://www.vajrayanaireland.org/ > > > > For sensitive information please use encryption. > > > > Public key available at: http://pgp.mit.edu/ > > Figerprint: 3D8C 48ED 42BD 4004 D23C C455 8D80 7FB4 2C4D 7801 > > > > ------------------------------------------------------------------------------ > > Want excitement? > > Manually upgrade your production database. > > When you want reliability, choose Perforce. > > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > _______________________________________________ > > sleuthkit-developers mailing list > > sle...@li... > > https://lists.sourceforge.net/lists/listinfo/sleuthkit-developers > > > <bundle.bmp><API lookup.bmp> |