Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Sep 19, 2009
  1. pulled out a platform from the main class

    authored
    	modified:   .classpath
    	modified:   src/main/java/net/todd/osgi/platform/core/Main.java
    	new file:   src/main/java/net/todd/osgi/platform/core/Platform.java
Commits on Aug 15, 2009
  1. refactored the packages such that (hopefully) only the packages neede…

    authored
    …d by other plugins are exposed and all the others are hidden in the core package which is not exposed
    
    	modified:   OSGi Platform.launch
    	modified:   pom.xml
    	renamed:    src/main/java/net/todd/osgi/platform/BundleRegistry.java -> src/main/java/net/todd/osgi/platform/core/BundleRegistry.java
    	renamed:    src/main/java/net/todd/osgi/platform/DirectoryWatcher.java -> src/main/java/net/todd/osgi/platform/core/DirectoryWatcher.java
    	renamed:    src/main/java/net/todd/osgi/platform/HotDeployer.java -> src/main/java/net/todd/osgi/platform/core/HotDeployer.java
    	renamed:    src/main/java/net/todd/osgi/platform/Main.java -> src/main/java/net/todd/osgi/platform/core/Main.java
    	renamed:    src/main/java/net/todd/osgi/platform/OsgiFramework.java -> src/main/java/net/todd/osgi/platform/core/OsgiFramework.java
    	renamed:    src/main/java/net/todd/osgi/platform/PluginDeployer.java -> src/main/java/net/todd/osgi/platform/core/PluginDeployer.java
    	renamed:    src/main/java/net/todd/osgi/platform/ServiceManager.java -> src/main/java/net/todd/osgi/platform/core/ServiceManager.java
    	renamed:    src/main/java/net/todd/osgi/platform/ThreadDaemon.java -> src/main/java/net/todd/osgi/platform/core/ThreadDaemon.java
    	renamed:    src/test/java/net/todd/osgi/platform/BundleRegistryTest.java -> src/test/java/net/todd/osgi/platform/core/BundleRegistryTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/DirectoryWatcherTest.java -> src/test/java/net/todd/osgi/platform/core/DirectoryWatcherTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/MainTest.java -> src/test/java/net/todd/osgi/platform/core/MainTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/OsgiFrameworkTest.java -> src/test/java/net/todd/osgi/platform/core/OsgiFrameworkTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/PluginDeployerTest.java -> src/test/java/net/todd/osgi/platform/core/PluginDeployerTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/ServiceManagerTest.java -> src/test/java/net/todd/osgi/platform/core/ServiceManagerTest.java
    	renamed:    src/test/java/net/todd/osgi/platform/ThreadDaemonTest.java -> src/test/java/net/todd/osgi/platform/core/ThreadDaemonTest.java
  2. fixed small issues

    authored
    	modified:   src/main/java/net/todd/osgi/platform/OsgiFramework.java
  3. changed the package names to reflect the previous refactoring

    authored
    	modified:   pom.xml
    	modified:   src/main/java/net/todd/osgi/platform/OsgiFramework.java
  4. pulled out the service registry utility class to a utility package to…

    authored
    … be shared with other plugins
    
    	renamed:    src/main/java/net/todd/osgi/platform/ServiceRegistryUtil.java -> src/main/java/net/todd/osgi/platform/util/ServiceRegistryUtil.java
  5. renamed the package from example to net.todd.osgi.platform

    authored
    	modified:   OSGi Platform.launch
    	renamed:    src/main/java/example/BundleRegistry.java -> src/main/java/net/todd/osgi/platform/BundleRegistry.java
    	renamed:    src/main/java/example/BundleRegistryException.java -> src/main/java/net/todd/osgi/platform/BundleRegistryException.java
    	renamed:    src/main/java/example/DirectoryWatcher.java -> src/main/java/net/todd/osgi/platform/DirectoryWatcher.java
    	renamed:    src/main/java/example/HotDeployer.java -> src/main/java/net/todd/osgi/platform/HotDeployer.java
    	renamed:    src/main/java/example/IBundleRegistry.java -> src/main/java/net/todd/osgi/platform/IBundleRegistry.java
    	renamed:    src/main/java/example/IDirectoryWatcher.java -> src/main/java/net/todd/osgi/platform/IDirectoryWatcher.java
    	renamed:    src/main/java/example/IPluginDeployer.java -> src/main/java/net/todd/osgi/platform/IPluginDeployer.java
    	new file:   src/main/java/net/todd/osgi/platform/IServiceEventHandler.java
    	renamed:    src/main/java/example/Main.java -> src/main/java/net/todd/osgi/platform/Main.java
    	renamed:    src/main/java/example/OsgiFramework.java -> src/main/java/net/todd/osgi/platform/OsgiFramework.java
    	renamed:    src/main/java/example/PluginDeployer.java -> src/main/java/net/todd/osgi/platform/PluginDeployer.java
    	renamed:    src/main/java/example/ServiceManager.java -> src/main/java/net/todd/osgi/platform/ServiceManager.java
    	new file:   src/main/java/net/todd/osgi/platform/ServiceRegistryUtil.java
    	renamed:    src/main/java/example/ThreadDaemon.java -> src/main/java/net/todd/osgi/platform/ThreadDaemon.java
    	renamed:    src/test/java/example/BundleRegistryTest.java -> src/test/java/net/todd/osgi/platform/BundleRegistryTest.java
    	renamed:    src/test/java/example/DirectoryWatcherTest.java -> src/test/java/net/todd/osgi/platform/DirectoryWatcherTest.java
    	renamed:    src/test/java/example/MainTest.java -> src/test/java/net/todd/osgi/platform/MainTest.java
    	renamed:    src/test/java/example/OsgiFrameworkTest.java -> src/test/java/net/todd/osgi/platform/OsgiFrameworkTest.java
    	renamed:    src/test/java/example/PluginDeployerTest.java -> src/test/java/net/todd/osgi/platform/PluginDeployerTest.java
    	renamed:    src/test/java/example/ServiceManagerTest.java -> src/test/java/net/todd/osgi/platform/ServiceManagerTest.java
    	renamed:    src/test/java/example/ThreadDaemonTest.java -> src/test/java/net/todd/osgi/platform/ThreadDaemonTest.java
Commits on Aug 6, 2009
  1. list of files no longer have to in a sorted list, can just be in a set

    authored
    	modified:   src/main/java/example/DirectoryWatcher.java
  2. fixed an error in the directory watcher

    authored
    	modified:   src/main/java/example/BundleRegistry.java
    	modified:   src/main/java/example/DirectoryWatcher.java
    	modified:   src/test/java/example/BundleRegistryTest.java
    	modified:   src/test/java/example/DirectoryWatcherTest.java
  3. put the logging info on the bundle registry instead of the plugin dep…

    authored
    …loyer
    
    	modified:   src/main/java/example/BundleRegistry.java
    	modified:   src/main/java/example/PluginDeployer.java
  4. added swing to the classpaths available at startup for the bundles

    authored
    also added a few launch configurations for running the platform and the tests
    
    	new file:   OSGi Platform.launch
    	new file:   osgi-platform_tests.launch
    	modified:   src/main/java/example/OsgiFramework.java
    	modified:   src/test/java/example/OsgiFrameworkTest.java
Commits on Aug 5, 2009
  1. actually made it work with felix

    authored
    	modified:   pom.xml
    	modified:   src/main/java/example/BundleRegistry.java
    	modified:   src/main/java/example/OsgiFramework.java
    	modified:   src/main/java/example/PluginDeployer.java
    	modified:   src/test/java/example/BundleRegistryTest.java
Commits on Aug 4, 2009
  1. more refactoring...

    authored
    	modified:   src/main/java/example/HotDeployer.java
    	modified:   src/main/java/example/Main.java
  2. fixed issue with hotdeployer not continually checking the directory f…

    authored
    …or hot deploys
    
    	modified:   src/main/java/example/HotDeployer.java
    	modified:   src/main/java/example/ThreadDaemon.java
    	modified:   src/test/java/example/ThreadDaemonTest.java
  3. added some more restrictions on the main arguments

    authored
    	modified:   src/main/java/example/Main.java
    	modified:   src/test/java/example/MainTest.java
  4. added some better test coverage

    authored
    	modified:   src/main/java/example/BundleRegistryException.java
    	modified:   src/main/java/example/HotDeployer.java
    	new file:   src/main/java/example/IPluginDeployer.java
    	modified:   src/main/java/example/Main.java
    	new file:   src/main/java/example/OsgiFramework.java
    	modified:   src/main/java/example/PluginDeployer.java
    	modified:   src/main/java/example/ThreadDaemon.java
    	new file:   src/test/java/example/MainTest.java
    	new file:   src/test/java/example/OsgiFrameworkTest.java
    	modified:   src/test/java/example/PluginDeployerTest.java
  5. added bundle registry

    authored
    added hot deployer
    
    added plugin deployer
    
    added the start of the main entry point of the app
    
    	modified:   pom.xml
    	new file:   src/main/java/example/BundleRegistry.java
    	renamed:    src/main/java/example/FileSystemWatcher.java -> src/main/java/example/DirectoryWatcher.java
    	new file:   src/main/java/example/HotDeployer.java
    	renamed:    src/main/java/example/IFileSystemWatcher.java -> src/main/java/example/IDirectoryWatcher.java
    	new file:   src/main/java/example/Main.java
    	new file:   src/main/java/example/PluginDeployer.java
    	modified:   src/main/java/example/ServiceManager.java
    	renamed:    src/main/java/example/FileSystemWatcherLauncher.java -> src/main/java/example/ThreadDaemon.java
    	new file:   src/test/java/example/BundleRegistryTest.java
    	renamed:    src/test/java/example/FileSystemWatcherTest.java -> src/test/java/example/DirectoryWatcherTest.java
    	new file:   src/test/java/example/PluginDeployerTest.java
    	modified:   src/test/java/example/ServiceManagerTest.java
    	new file:   src/test/java/example/ThreadDaemonTest.java
Commits on Aug 3, 2009
  1. added a freakin' really long wait for the stupid filesystem to catchup

    authored
    	modified:   src/main/java/example/FileSystemWatcher.java
    	modified:   src/test/java/example/FileSystemWatcherTest.java
  2. refactored out the runtime stuffs from thread and just tested it sepa…

    authored
    …rately
    
    	modified:   src/main/java/example/FileSystemWatcher.java
    	new file:   src/main/java/example/FileSystemWatcherLauncher.java
    	modified:   src/main/java/example/IFileSystemWatcher.java
    	modified:   src/test/java/example/FileSystemWatcherTest.java
    	modified:   src/test/java/example/ServiceManagerTest.java
  3. bleh

    authored
  4. again...

    authored
  5. and again...

    authored
  6. again..

    authored
    	modified:   src/test/java/example/FileSystemWatcherTest.java
  7. trying some things to see if we can get this to pass on the linux box

    authored
    	modified:   src/main/java/example/FileSystemWatcher.java
Commits on Jul 31, 2009
  1. changed the compiler to 1.5

    authored
    	modified:   pom.xml
  2. added service manager that manipulates the bundle registry based on t…

    authored
    …he events sent from the file system watcher
    
    	new file:   src/main/java/example/BundleRegistryException.java
    	new file:   src/main/java/example/IBundleRegistry.java
    	modified:   src/main/java/example/IFileSystemWatcher.java
    	modified:   src/main/java/example/ServiceManager.java
    	modified:   src/test/java/example/ServiceManagerTest.java
Commits on Jul 30, 2009
  1. ignoring the felix-cache directory

    authored
    	modified:   .gitignore
  2. removed resources directories from classpath

    authored
    	modified:   .classpath
  3. initial commit

    authored
    added file system watcher to monitor a directory for changes
    
    	new file:   .classpath
    	new file:   .gitignore
    	new file:   .project
    	new file:   .settings/org.eclipse.jdt.core.prefs
    	new file:   .settings/org.maven.ide.eclipse.prefs
    	new file:   pom.xml
    	new file:   src/main/java/example/FileSystemWatcher.java
    	new file:   src/main/java/example/IFileSystemWatcher.java
    	new file:   src/main/java/example/ServiceManager.java
    	new file:   src/test/java/example/FileSystemWatcherTest.java
    	new file:   src/test/java/example/ServiceManagerTest.java
Something went wrong with that request. Please try again.